On 06/18/2012 01:13 PM, B. Estrade wrote:
I just happened to see this, not sure if you have some tips.
Brett
----- Forwarded message from Fabio D'Alfonso<[email protected]>
-----
Date: Mon, 18 Jun 2012 19:47:10 +0200
From: "Fabio D'Alfonso"<[email protected]>
To: "[email protected]"<[email protected]>
Subject: [Perldl] B::Parse " or ' ?
Hi,
always because there are expert porters, for
perl -MO=Deparse -e '$w = $x || $y or $z'
I get " Can't find string terminator "'" anywhere before EOF at -e line 1 "
This is with cmd.exe on windows.
On windows you cannot use '' as string terminator in shell arguments.
You need to use "" and escape then the scalars inside.
While I get it working with ".
perl -MO=Deparse -e "$w = $x || $y or $z"
On Ubuntu 11.04 I get it working with ' as in documentation.
Is this known?
Thanks
--
Reini
_______________________________________________
Perldl mailing list
[email protected]
http://mailman.jach.hawaii.edu/mailman/listinfo/perldl