On Mar 29, John Porter said: > sub hasheesh(&\%) { > my( $c, $h ) = @_; > local( $a, $b ); > &$c while ( $a, $b ) = each %$h > } > > > hasheesh { print "$a => $b\n" } %h; Pass %| to hasheesh. ;) -- Jeff "japhy" Pinyan japhy@pobox.com http://www.pobox.com/~japhy/ Are you a Monk? http://www.perlmonks.com/ http://forums.perlguru.com/ Perl Programmer at RiskMetrics Group, Inc. http://www.riskmetrics.com/ Acacia Fraternity, Rensselaer Chapter. Brother #734 ==== Want to unsubscribe from Fun With Perl? Well, if you insist... ==== Send email to <fwp-request@technofile.org> with message _body_ ==== unsubscribe