Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

(jeffa) Re: using

by jeffa (Chancellor)
on Jun 21, 2001 at 18:01 UTC ( #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--


Comment on (jeffa) Re: using
Download Code
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
Node Status?
node history
Node Type: note [id://90356]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (6)
As of 2015-07-04 06:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (57 votes), past polls