Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: namespace craziness

by a (Friar)
on Jan 30, 2001 at 09:31 UTC ( [id://55187]=note: print w/replies, xml ) Need Help??


in reply to namespace craziness

Ah, that tilly; for real fun, move the BEGIN {print MULTIPLIER; print "\n"} down through the code; first before everything (trouble: MULTIPLIER as file handle). Then after first use constant (gets you '25') then after package second ('nother file handle mistake), finally after (or right before)   print MULTIPLIER * $x, "\n";, get's you '2'

a

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others chanting in the Monastery: (2)
As of 2025-03-17 05:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    When you first encountered Perl, which feature amazed you the most?










    Results (54 votes). Check out past polls.