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 EOF at -e line 1.
> 
> I`m using Win NT, ActivePerl 5.6.1.629.
> I haven`t used Perl for months, I feel I have a lot to cover again...Time to
> put back my Perl cap.
> Any suggestions welcome!
> PS: yeah, I know about the Oreilly books. Got some. About 800 miles from my
> current home, one of my problems. A bit late with my readings..
> 
> Have a good day!
> 
> 
> 
> *************************************************************************
> The information in this internet E-mail is confidential and is intended 
> solely for the addressee. Access, copying or re-use of information in it 
> by anyone else is unauthorized. Any views or opinions presented are 
> solely those of the author and do not necessarily represent those of
> Credit Lyonnais or any of its affiliates. The information contained herein
> is recorded for business purposes and use of services is monitored to
> protect both the company and its individual users. If you are not the 
> intended recipient please contact [EMAIL PROTECTED]
> *************************************************************************
> 
> 



-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to