Help for this page

Select Code to Download


  1. or download this
     perl> $_ = 'Foo'; print;
    Foo
    ...
    Bar
     perl> print $a;
    Use of uninitialized value in print at (eval 4) line 1, <> line 4.
    
  2. or download this
    #!perl            # header
    use warnings;     # enable warnings
    use diagnostics;  # explain warnings
                      # code to test:
    print "Hey world, I'm coming!!!\n";
    
  3. or download this
    perl C:\test.pl