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
In reply to Re: What does "my Foo $bar" do?
by tachyon
in thread What does "my Foo $bar" do?
by bgreenlee
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |