Help for this page

Select Code to Download


  1. 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" }
    
  2. or download this
    #!/usr/bin/perl -ws
    # minus-ess.pl
    ...
    my $switch = "hooray" unless (defined $switch);
    
    print $switch;
    
  3. or download this
    Global symbol "$switch" requires explicit package name at minus-ess.pl
    + line 7.