Perl-Server
view release on metacpan or search on metacpan
lib/Perl/Server.pm view on Meta::CPAN
171819202122232425262728293031323334353637
return
bless
{
path
=>
$path
?
$path
: getcwd,
type
=>
''
},
$class
;
}
sub
run {
my
$self
=
shift
;
my
@argv
=
@_
;
local
@ARGV
=
@argv
;
my
$parser
= Getopt::Long::Parser->new(
config
=> [
"no_auto_abbrev"
,
"no_ignore_case"
,
"pass_through"
],
);
my
$port
;
$parser
->getoptions(
"p|port=s"
=> \
$port
);
( run in 1.040 second using v1.01-cache-2.11-cpan-95122f20152 )