Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl
    use strict;
    ...
    print shift, "\n"; #prints "foobar"
    
    }
    
  2. or download this
    #!/usr/bin/perl
    use strict;
    ...
    print pop, "\n"; #prints "foo"
    
    }
    
  3. or download this
    #!/usr/bin/perl
    use strict;
    ...
    print $params{'-third'}, "\n"; #prints "foobar"
    
    }