>>>>> "JP" == John Porter <[EMAIL PROTECTED]> writes:
JP> Yes; but the question isn't really "why", it's "how".
JP> Apparently chop() is specialized internally to detect the
JP> hashness of its argument, in a way that can't be expressed
JP> by a prototype.
well, according to this
perl5.6.0 -le '%h = qw( a b c d ); $_ .= 1 for %h ; print values %h ; chop %h ; print
values %h'
b1d1
bd
it doesn't appear to be a chop specific thing. unraveling a hash always
seems to use aliases for the values. chop just takes a list like it
always has.
uri
--
Uri Guttman --------- [EMAIL PROTECTED] ---------- http://www.sysarch.com
SYStems ARCHitecture, Software Engineering, Perl, Internet, UNIX Consulting
The Perl Books Page ----------- http://www.sysarch.com/cgi-bin/perl_books
The Best Search Engine on the Net ---------- http://www.northernlight.com