Re: %_ - is it available for use?

2003-08-06 Thread david nicol
On Sat, 2003-08-02 at 18:33, Michael G Schwern wrote: > Representing the Backwards Compatiblity Police, I've had co-workers use > %_ as the globalist of all global hashes. %_ transends all packages and > scopes and Perl does not localize it, touch it or use it as it does @_ and > $_. In the par

Re: %_ - is it available for use?

2003-08-06 Thread Michael S. Joyce
Odd. I always though that you could do that. Maybe it was just an assumption I made without understanding. I've used %_ in one liners to remove duplicates and other such fun. Michael On Tue, 2003-08-05 at 21:36, david nicol wrote: > On Sat, 2003-08-02 at 18:33, Michael G Schwern wrote: > > > Rep

Implicit parameter aliases

2003-08-06 Thread Dave Whipp
Are parameter names part of the function signature? A6 defines "siglets", which don't appear to include parameter names. If I write: sub foo( Int $a, Int $b ) {...} sub foo( Int $a, Int $c ) { print $a+$c } Are these now equivalent: foo( a => 1, b => 2 ) foo( a => 1, c => 3 ) What if I