using system to execute the curl command was giving me the 2nd issue i spoke of.(malformed headers) . Luckily the post i mentioned advised back ticks which makes it work. will read about the other Capture::Tiny thing..Ok. thanks
Um, `` aka qx// goes through the shell -- you don't want to go through the shell (its shell programming), you have to quote and escape characters, and you aren't doing it correctly ( String::ShellQuote)
system, the list form I gave, does not go through the shell, so you don't need shell escapes
Yes, you can give curl nonsense using both of these, the shell (qx) and directly(system) ... stick with system so you only have to deal with perl string escape/quoting rules
In reply to Re^5: An optimal way to induce CRLF using perlio
by Anonymous Monk
in thread An optimal way to induce CRLF using perlio
by perlron
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |