![]() |
|
Syntactic Confectionery Delight | |
PerlMonks |
Re: $foo = "Foo::Bar"; $foo->new() works?by saintmike (Vicar) |
on Jan 23, 2005 at 04:03 UTC ( [id://424330]=note: print w/replies, xml ) | Need Help?? |
From perlobj:
Instead of a class name or an object reference, you can also use any expression that returns either of those on the left side of the arrow. So the following statement is valid: and so is the following:
In Section
Seekers of Perl Wisdom
|
|