Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl
    
    ...
      print "Found a job $jobnumber in $location.\n"; # do something
    }
    
  2. or download this
    $buf[$i+1] =~ s/^\s*<location>\s*(.?)\s*<location>\s*$/$1/;
      # \s?(.*)\s works though..