in reply to Array Without using array

You could create a JSON array from Ruby and parse it in Perl.

ruby -rjson -e'puts JSON.generate([1,2,3,4])' | perl -MJSON -MData::Du +mper -e'print Dumper(decode_json <>)'

But seriously, you can create an array from a list, which looks like an array:

# array list my @array = (1,2,3,4);

jeffa

L-LL-L--L-LL-L--L-LL-L--
-R--R-RR-R--R-RR-R--R-RR
B--B--B--B--B--B--B--B--
H---H---H---H---H---H---
(the triplet paradiddle with high-hat)

Replies are listed 'Best First'.
Re^2: Array Without using array
by LanX (Saint) on Jun 23, 2014 at 17:18 UTC
    > You could create a JSON array from Ruby and parse it in Perl.

    This doesn't look right w/o some emacs and lisp processing in between.

    Seriously! ;)

    Cheers Rolf

    (addicted to the Perl Programming Language)