Help for this page

Select Code to Download


  1. or download this
      method => sub {
        my ($self, @ARGV) = @_;
    ...
        print "The second argument is $ARGV[1]\n";
        ...
      }
    
  2. or download this
      method => sub {
        print "I am $_[0]\n"; # print self
    ...
        print "The second argument is $_[2]\n";
        ...
      }