in reply to
passing $_ to my function
Thanx
,
I got what i wanted.
Guess i have to read more about lexical scoping.
I had no idea
$_
would permeate
through the function!
--
arc_of_descent
Comment on
Re: passing $_ to my function
Replies are listed 'Best First'.
Re^2: passing $_ to my function
by
Aristotle
(Chancellor)
on Sep 30, 2002 at 13:04 UTC
Actually, this is dynamical scoping (
local
et al), not lexical (
my
et al).
Makeshifts last the longest.
[reply]
In Section
Seekers of Perl Wisdom