in reply to Re: Re: Re: variable function thingy
in thread variable function thingy
Cute. Is this a Perl bug?Nope, this is perfectly legal. It just creates a reference, which is then dereferenced and since it's a normal reference (see. not symbolic) strict doesn't have a problem with it. I originally saw this funky trick in a node by gbarr.
_________
broquaint
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
(Re:)+ variable function thingy
by rir (Vicar) on Oct 19, 2002 at 20:27 UTC | |
by broquaint (Abbot) on Oct 20, 2002 at 17:56 UTC | |
by rir (Vicar) on Oct 20, 2002 at 19:17 UTC |