Help for this page

Select Code to Download


  1. or download this
     perl -e ' use P;
    my $filelist="C:\Users\cign\Desktop\printFile.txt";
    P "opening file: %s", $filelist;
    '
    opening file: C:SERS    GNDESKTOPPRINTFILE.TXT
    
  2. or download this
    perl -we 'use strict; use P;
    my $filelist="C:\Users\cign\Desktop\printFile.txt";
    ...
    Unrecognized escape \D passed through at -e line 2.
    Unrecognized escape \p passed through at -e line 2.
    opening file: C:SERS    GNDESKTOPPRINTFILE.TXT
    
  3. or download this
     perl -we 'use strict; use P;
    my $filelist=q{C:\Users\cign\Desktop\printFile.txt};
    ...
    
    C:\Perl64>type printFile.txt
    Hello World!