Re: How to pass a ref from a language with no refs

2006-09-29 Thread A. Pagaltzis
* Mark Stosberg <[EMAIL PROTECTED]> [2006-09-29 14:18]: > my $p5_dumper = > eval('sub {use Data::Dumper; print Dumper(@_); }', :lang); > > my @a = ; > $p5_dumper.(@a); # received as array > $p5_dumper.([EMAIL PROTECTED]); # received as arrayref > $p5_dumper.(VAR @a); # received as arra

Re: How to pass a ref from a language with no refs

2006-09-27 Thread Mark Stosberg
Mark Stosberg wrote: > > When Perl 5 has references and Perl 6 doesn't, I don't know what to > expect to when I need to pass a hash reference to a Perl 5 routine. > > Such details make no appearance currently in the Perl 6 spec, but I'm > trying to gather them on the wiki if you have anything to

Re: How to pass a ref from a language with no refs (was: Re: use perl5:CGI as a solution)

2006-09-17 Thread Juerd
Mark Stosberg skribis 2006-09-17 8:10 (-0500): > > Please note that eventually, perl5:CGI is supposed to work as expected. > For that to happen, there will first have be some documentation telling > me what expectations to have. Good point, but I think your expectations are natural and logical.