Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

(jeffa) Re: using

by jeffa (Bishop)
on Jun 21, 2001 at 18:01 UTC ( [id://90356]=note: print w/replies, xml ) Need Help??


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

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://90356]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others learning in the Monastery: (3)
As of 2024-04-24 20:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found