Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl -w
    $x = "123 56"; 
    ...
    print "$x, ", pos($x), "\n";
    { local $x }
    print "$x, ", pos($x), "\n";
    
  2. or download this
    123 56, 4
    Use of uninitialized value in print at l.pl line 5.
    123 56,