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