>>>>> "Lysander" == Lysander  <[EMAIL PROTECTED]> writes:

Lysander> This doesn't seem to work... My webhost is running PERL 5.004_04

That's your problem.  For older Perls, you can use

        for (@body) { s/foo/bar/ }


>> This works:
>> 
>> s/foo/bar/ for @body;
>> 
>> presuming you have a reasonably modern Perl.

See... I said "reasonably modern". :)

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