in reply to Re: Scoping question
in thread Scoping question
As a matter of fact, this even does not work:
use strict; use warnings; my $item = $item;
You will get:
Global symbol "$item" requires explicit package name at a.pl line 4. Execution of a.pl aborted due to compilation errors.
Update:
see bpphillips's reply to my post, duff could actually meant what dpphillips detailed below.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Scoping question
by bpphillips (Friar) on Nov 03, 2004 at 21:17 UTC | |
by ihb (Deacon) on Nov 04, 2004 at 13:43 UTC |