you must escape "
this will work:
perl -e "print \"@inc\";"
by
martin
Moulas, Lionel wrote:
> Hi.
> First post here, simple question.
>
> Trying, under the msdos command line (WinNT, "cmd"),
> perl -e ' print "@INC"'
>
> I get the message
> Can't find string terminator "'" anywhere before E
From msdos prompt, I get the same error. I tried:
perl -e "print @INC"
and it worked. On ksh shell under w2k, your oneliner worked as it should. One
of the Perl Guru's can give us the whys', but this is a work around.
Wags ;)
-Original Message-
From: Moulas, Lionel [m
> -Original Message-
> From: Moulas, Lionel [mailto:[EMAIL PROTECTED]]
> Sent: Monday, November 19, 2001 12:15 PM
> To: '[EMAIL PROTECTED]'
> Subject: using perl-command line not working
>
>
> Hi.
> First post here, simple question.
>
> Trying, under the msdos command line (WinNT, "cmd"