Help for this page

Select Code to Download


  1. or download this
    root# perl -e 'print"Hello World\n";'
    Hello World
    root#
    
  2. or download this
    cnow> perl -e 'print "hello world\n";'
    Can't open perl script "-e": Permission denied
    cnow>
    
  3. or download this
    ls -al /usr/local/bin/perl 
    -r-xr-xr-x   1 root     other     818096 Jan 24 2002 /usr/local/bin/pe
    +rl*
    
  4. or download this
    cnow> cat testPerl.pl
    #!/usr/local/bin/perl -w
    
    ...
    cnow> ./testPerl.pl
    This is a test
    cnow>