in reply to LWP and barewords under strict

And it shouldn't... . is string concatenation in perl, so perl is trying to concatenate barewords... with => perl allows you to not quote the string on the left, but only very simple strings without . or spaces and the like... put your left hand side strings in quotes and all will be well...

                - Ant
                - Some of my best work - (1 2 3)

Replies are listed 'Best First'.
Re: Re: LWP and barewords under strict
by Bukowski (Deacon) on Jul 09, 2002 at 16:35 UTC
    Yes this worked a treat (and I had tried it before!). Of course it worked properly *after* I realised there was a horrendus typo in the LWP request.......

    D'OH!

    Bukowski - aka Dan (dcs@black.hole-in-the.net)
    "Coffee for the mind, Pizza for the body, Sushi for the soul" -Userfriendly