Afficher un message
Vieux 30/05/2007, 09h16   #2
Stachu 'Dozzie' K.
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Variable in embedded perl script

On 30.05.2007, Jose Luis <jose.luis.fdez.diaz@gmail.com> wrote:
> 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?


`man perlrun', option -e

--
Secunia non olet.
Stanislaw Klekot
  Réponse avec citation
 
Page generated in 0,04390 seconds with 9 queries