in reply to use re 'eval'
On CPAN the use of (?{}) is called "highly experimental"
It works for perl 5.6 on both Linux and DEC/OSF, though. So, I guess it was a bug in the 5.005 release.
I guess you have to upgrade or just have to go with the more simple and boring:
use strict; for ("a","b","c") { print $_ . "\n---\n"; } # ;-)
- Good luck
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: use re 'eval'
by Anonymous Monk on Jul 22, 2001 at 00:08 UTC |