in reply to Re: subroutine bewilderment: how to mimic builtins
in thread subroutine bewilderment: how to mimic builtins
Also, in the presence of my $_, myuc won't be able to see the right $_. Implementing a _ prototype is on the todo list, but not on any particular person's plate that I know of.$ perl -we'print uc 1, 2' 12 $ perl -we'sub myuc(;$) { $_[0]||$_ } print myuc 1, 2' Too many arguments for main::myuc at -e line 1, at EOF
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: subroutine bewilderment: how to mimic builtins
by ikegami (Patriarch) on Feb 08, 2006 at 03:55 UTC | |
by ysth (Canon) on Feb 08, 2006 at 04:39 UTC |