Help for this page

Select Code to Download


  1. or download this
           -x
           -x directory
    ...
                with #! and contains the string "perl".  Any meaningful sw
    +itches on that line will be applied.  If a directory name is specifie
    +d, Perl will switch to that directory before running
                the program.  The -x switch controls only the disposal of 
    +leading garbage.  The program must be terminated with "__END__" if th
    +ere is trailing garbage to be ignored (the program
                can process any or all of the trailing garbage via the DAT
    +A filehandle if desired).
    
  2. or download this
    cducdsgcsdcyvdsctydwcfvsc
    rubbish
    ...
    
    __END__
    more garbage here ignored.
    
  3. or download this
    darren@barney:~/perlmonks$ perl -x garbage.pl
    Hello World