Help for this page

Select Code to Download


  1. or download this
    C:\ perl myscript.pl < inputfile
    bash$ myscript.pl < inputfile
    
  2. or download this
    #!/usr/bin/perl -w
    while (<>) {
        print "You typed: $_\n";
    }