C.DeRykus wrote:

> One option is an outer enclosing block that'll extend the scope of $name to 
> that entire block:

Jim Gibson wrote:

> Declare the variable just before the loop, and remove the 'my' from the 
> foreach statement:


        Thanks for the responses.  I was able to get it to work.

Marc
--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to