[Phoenix-pm] Perl6::Contexts
Scott Walters
scott at illogics.org
Mon May 24 06:41:25 CDT 2004
Okey, Perl6::Contexts is on CPAN, with support for boolean, integer, scalar,
numeric, and reference contexts. Use it with Want for maxiumum effect.
Also note that arrays and hashes as arguments to methods and functions
get scalar context, causing them to turn into references to themselves,
for true pass-by-refererence semantics. It's about time!
http://www.cpan.org/modules/by-module/Perl6/Perl6-Contexts-0.1.readme
http://www.cpan.org/modules/by-module/Perl6/Perl6-Contexts-0.1.tar.gz
Feedback welcome!
-scott
More information about the Phoenix-pm
mailing list