develooper Front page | perl.perl6.language | Postings from June 2005

Re: AUTLOAD and $_

Thread Previous
From:
Juerd
Date:
June 20, 2005 03:17
Subject:
Re: AUTLOAD and $_
Message ID:
20050620101730.GW7412@c4.convolution.nl
Juerd skribis 2005-06-20 12:11 (+0200):
>     sub AUTOLOAD ($w) { return our &::($w) = get_subref_for $w }
>     sub AUTOLOAD { our &::($^a) = get_subref_for $^a }

That's :=, of course.


Juerd
-- 
http://convolution.nl/maak_juerd_blij.html
http://convolution.nl/make_juerd_happy.html 
http://convolution.nl/gajigu_juerd_n.html

Thread Previous


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About