Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl -w
    use strict;
    ...
      print $i, "\n";
    }
    print "-> unexpected\n\n";
    
  2. or download this
    corion@outerlimits:~/Projekte$ perl -MO=Deparse tmp.pl 
    BEGIN { $^W = 1; }
    ...
    }
    print "-> unexpected\n\n";
    tmp.pl syntax OK
    
  3. or download this
    sub ten() { 10 };
    
  4. or download this
    use constant ten => 10;