Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: Re: Re: Re: Help needed understanding global variables in Perl

by Juerd (Abbot)
on Mar 05, 2002 at 14:12 UTC ( [id://149369]=note: print w/replies, xml ) Need Help??


in reply to Re: Re: Re: Help needed understanding global variables in Perl
in thread Help needed understanding global variables in Perl

They are forced into main::, but they are global. You can abuse this by starting your string with a control character: ${^Foo} is also forced into main::. (it's actually ${"\cFoo"})

++ vs lbh qrpbqrq guvf hfvat n ge va Crey :)
Nabgure bar vs lbh qvq fb jvgubhg ernqvat n znahny svefg.
-- vs lbh hfrq OFQ pnrfne ;)
    - Whreq

  • Comment on Re: Re: Re: Re: Help needed understanding global variables in Perl

Log In?
Username:
Password:

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

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

    No recent polls found