Help for this page

Select Code to Download


  1. or download this
    C:\foo\>perl -e "print `dir;"
    Can't find string terminator "`" anywhere before EOF at -e line 1.
    
  2. or download this
    C:\foo\>perl -e "system dir;"
    
    ...
    11/21/2003  02:49p      <DIR>          .c--
    11/21/2003  02:49p      <DIR>          .c#
     <snipped - no further interest here ... >
    
  3. or download this
    C:\foo\>perl -e "$cmd=system(dir);print $cmd;"
    
    ...
                   9 Dir(s)  67,502,247,936 bytes free
    0 <=== There is the UNshifted system status/return code referenced abo
    +ve....
    C:\foo\>