in reply to Re: passing parameters from shell script to perl program doesn't preserve spaces
in thread passing parameters from shell script to perl program doesn't preserve spaces [solved]

Confirmed, i was trying something similar:

/usr/bin/bash$ aa=('a b' 'c d' e);perl -e 'print qq(>$_<\n) for @ARGV' + "${aa[@]}" >a b< >c d< >e<

L*

Edit: removed -l perl switch which caused more newlines

PS: now i remember why I choosed Perl!

There are no rules, there are no thumbs..
Reinvent the wheel, then learn The Wheel; may be one day you reinvent one of THE WHEELS.