- or download this
-s enables rudimentary switch parsing for switches on
the command line after the program name but before
...
#!/usr/bin/perl -s
if ($xyz) { print "$xyz\n" }
- or download this
#!/usr/bin/perl -ws
# minus-ess.pl
...
my $switch = "hooray" unless (defined $switch);
print $switch;
- or download this
Global symbol "$switch" requires explicit package name at minus-ess.pl
+ line 7.