in reply to Re^9: Try::Tiny and -E
in thread Try::Tiny and -E
But so is try.
The difference between print and shift is that print can't be prototyped. The same goes for try since it's not even a function but a keyword like while.
$ perl -Mv5.40 -e'say prototype "CORE::$ARGV[0]" // "[undef]"' shift ;\@ $ perl -Mv5.40 -e'say prototype "CORE::$ARGV[0]" // "[undef]"' print [undef] $ perl -Mv5.40 -e'say prototype "CORE::$ARGV[0]" // "[undef]"' try [undef]
|
|---|