Tuesday, 27 August 2013

Replace Apostrophe in a Perl system call command

Replace Apostrophe in a Perl system call command

I have a problem to expose to community :
I need to use in a Perl script a system call to run a cat and a sed to
extract a cookie value like :
system "cat out.html | sed -n
's/.*href=**"**servletMyARMOIRES;jsessionid=\(.*\).jvm1?actionner=51&docid=.*/\1/p'";
But i have a problem with href="servletMyARMOIRES;jsessionid
"
How can I fix this?

No comments:

Post a Comment