Afficher un message
Vieux 30/05/2007, 08h49   #1
Jose Luis
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Variable in embedded perl script


Hi,

In the ksh script below:

#!/usr/bin/ksh

perl <<-EOF
my \$var="hello world\n";
print "\$var";
EOF



I need to put the "\" character before all vars in the perl script.
How can I avoid it?

Thanks in advance,
Jose Luis

  Réponse avec citation
 
Page generated in 0,04296 seconds with 9 queries