.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 works on unicode.





On Monday, 21 of December 2009 10:23:39 Marc Chantreux wrote:
> 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


Reply via email to