http://qs321.pair.com?node_id=90356


in reply to using 'my'

Can you spot the error?
$illusion = 'http://www.foo.com'; print "$i11usion\n";
If you run this, you get: a new line.

However, if you use strict (and -w) you would know exactly what the problem is. Whether a program is 2 pages or 200 pages long, I'd rather not pull my hair out over such a trivial typo. But, there is always more than one way to do it - caveat programre!

Jeff

R-R-R--R-R-R--R-R-R--R-R-R--R-R-R--
L-L--L-L--L-L--L-L--L-L--L-L--L-L--

Replies are listed 'Best First'.
Re: (jeffa) Re: using
by ellem (Hermit) on Jun 21, 2001 at 22:54 UTC
    I could once I got the text into a text editor. I'd have gone for a mispelling by yours is pretty much the best case for use strict; I've seen in a while.

    maybe:

    <CODE> $pword = "password" ;
    print $pwords\n" ;
    --
    lmoran@wtsgSPAM.com
    print "\x{263a}"