On Tue, 28 Aug 2007 08:58:58 -0700, mojorising wrote:
> When I type this into the console:
> perl -i.old -p -e /s/$(cat infra_east.txt)/$(cat infra_west.txt)/ig
> configfile.cfg
> 
> I get this:
> Barewood found where operator expected at -e line 1, near "/s/emile"
[...]
> The weirdest thing is that when I put this"barewood" error message
> into Google, it returned 0 results.

Your post contains the word "barewood" three times without once using the
word that perl really outputs for this error, which is "bareword".  If
you're really seeing "barewood" then you have somehow got a corrupted perl
executable or seriously malfunctioning computer and I would stop using
both of them until you can get them analyzed and fixed.

-- 
Peter Scott
http://www.perlmedic.com/
http://www.perldebugged.com/


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to