----- Original Message ----- 
From: [EMAIL PROTECTED]
To: Steve Horn
Subject: Re: What am I doing wrong here?


> command line scripts on winx is  a pain.  It doesn't handle quoting very
> well. Note here you've got the script enclosing dbl quotes in the script
> itself.  Even on *nix you'll have troubles w/ that.  On linux you could do
> (note enclosing single quotes):
> $ perl -e 'print("Hello world.\n");'

On windows is as much pain as on unix. On both you can scape them if 
necessary:

perl -e "print(\"Hello world.\n\");"

> but on windows, you're better off just writing the script to a file and
> working that way.  Or changing your cmd.com to something more flexible ;->
> (seriously, there is a bash etc. for winx).

On Windows you can do the same exact thing woth mo problems at all:

C:\>perl -e 'print("Hello world.\n");'


_______________________________________________
ActivePerl mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to