in reply to What does "my Foo $bar" do?
It looks like a NOP to me....
C:\>perl -MO=Deparse -e"package Foo; my Foo $bar=42" package Foo; my $bar = 42; -e syntax OK C:\>
The other example is invalid syntax, dunno what you think it should do.
cheers
tachyon
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: What does "my Foo $bar" do?
by Joost (Canon) on Aug 08, 2004 at 12:37 UTC | |
|
Re^2: What does "my Foo $bar" do?
by bgreenlee (Friar) on Aug 08, 2004 at 09:25 UTC | |
by PodMaster (Abbot) on Aug 08, 2004 at 09:53 UTC | |
by tachyon (Chancellor) on Aug 08, 2004 at 09:53 UTC |