>>>>> "Bob" == Bob Ackerman <[EMAIL PROTECTED]> writes:

Bob> i get error when trying this line.  macosx. perl 5.6.1.
Bob> perl -e"for (55..75) { print chr($_) }"

Bob> it says:
Bob> Unmatched ".

Bob> problem with '$_'. shell must be looking at it and messing it up.
Bob> how do i get the '$' through tcsh shell?

On the commandline, I always use single quotes to quote arguments, and
then I merely have to make sure I'm not printing English
contractions. :)

$ perl -e 'for (55..75) { print chr $_; }'

(And there's also the dreaded "I'm gonna expand history references
even inside single quotes" csh ugly behavior, so watch out for
exclamations, or pop into sh instead of csh.)

-- 
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<[EMAIL PROTECTED]> <URL:http://www.stonehenge.com/merlyn/>
Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!

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

Reply via email to