share data between perl6 and perl5 ?

2009-12-21 Thread Marc Chantreux
hello all, In my work, there is a lot of code that can be done in perl6 but at the end of the process, the data must be passed to a perl5 script. Is there a binary format that perl5 and perl6 can share ? i imagine that Storable can work ? is there an implementation ? regards marc

Re: share data between perl6 and perl5 ?

2009-12-21 Thread Paweł Pabian
.perl() output in P6 is comaptible with eval in P5: perl6 -e 'say {"array" => ["raz", "dwa"]}.perl' | perl -MData::Dumper -ne 'print Dumper eval $_' $VAR1 = { 'array' => [ 'raz', 'dwa' ] }; I don't know if it