List Info

Thread: Re: What am I doing wrong here?




Re: What am I doing wrong here?
country flaguser name
United States
2007-08-31 12:41:58

> On Windows Active State perl whenever I try to run the program
"print("Hello World.n");";

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");'

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).

a

Andy Bach
Systems Mangler
Internet: andy_bach%40wiwb.uscourts.gov">andy_bachwiwb.uscourts.gov
VOICE: (608) 261-5738 FAX 264-5932

Committee, n.:
A group of men who individually can do nothing but as a group
decide that nothing can be done.
-- Fred Allen

__._,_.___
.

__,_._,___
[1]

about | contact  Other archives ( Real Estate discussion Medical topics )