|
|
| Keep It Simple, Stupid | |
| PerlMonks |
Re: Subroutine as an lvalue?by reptile (Monk) |
| on May 27, 2000 at 23:52 UTC ( #15160=note: print w/ replies, xml ) | Need Help?? |
|
That is, as far as I know, a new feature in perl 5.6.0. So first, if you don't have it, you'd better get it. How does it work? Well, this page is all I could find on it (the what's new page). The example it gives there is this:
Not too tough. Update:I just noticed it also says "This is still an experimental feature, and may go away in the future; it's also not possible to return array or hash variables yet." so keep that in mind. 72656B636148206C72655020726568746F6E41207473754A
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||