Beta Shell
v2.0 ยท web2.us.cloudlogin.co
[FM]
[CMD]
[PHP]
[DB]
[INFO]
[SEC]
File Manager
~
/
usr
/
share
/
perl5
/
vendor_perl
/
Spellunker
Upload
6 items
Name
Size
Perms
Modified
Actions
[ .. / .. ]
CLI
-
drwxr-xr-x
2022-02-23 11:31:13
Del
CLI.pm
330 B
-rw-r--r--
2019-09-22 19:36:51
Edit
Del
Pod
-
drwxr-xr-x
2022-02-23 11:31:13
Del
Pod.pm
1.18 KB
-rw-r--r--
2019-09-22 19:36:51
Edit
Del
Editing: CLI.pm
(330 B)
Path: /usr/share/perl5/vendor_perl/Spellunker/CLI.pm
Back
package Spellunker::CLI; use strict; use warnings; use utf8; use Spellunker; sub new { my $class = shift; bless {}, $class; } sub run { my $self = shift; my $engine = Spellunker->new(); while (<>) { my @words = $engine->check_line($_); print "Bad: $_ at line $.\n" for @words; } } 1;