Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl
    
    ...
    
    sub update_test { print "!test\n" }
    sub update_hello { print "hello!\n" }
    
  2. or download this
    $ perl x.pl test
    !test
    ...
    hello!
    $ perl x.pl heheh
    Can't locate object method "update_heheh" via package "main" at x.pl l
    +ine 10.
    
  3. or download this
    #!/usr/bin/perl
    
    ...
    
    sub update_test { print "!test\n" }
    sub update_hello { print "hello!\n" }