Pathologically Eclectic Rubbish Lister | |
PerlMonks |
Re: Re: Re: Re: Re: best way to pass databy jmanning2k (Pilgrim) |
on Aug 26, 2003 at 16:59 UTC ( [id://286778]=note: print w/replies, xml ) | Need Help?? |
It seems to me that you didn't really read the answers provided.
Very simply, that code you found is bad advice, and not suited for what you are doing. It will only work for very, very, very simple arrays. There is no good way to escape your XML data properly.
If you really want to use the array method, one way is to create a temporary file with your xml data, and pass that filename as an argument. Let me reiterate - Passing the data itself will not work. Otherwise, please use one of the other methods suggested in this thread. They are all better ways of doing what you want.
In Section
Seekers of Perl Wisdom
|
|