Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re^2: use vars vs our vs $main:: for $VERSION

by bv (Friar)
on Sep 26, 2009 at 13:41 UTC ( #797686=note: print w/replies, xml ) Need Help??


in reply to Re: use vars vs our vs $main:: for $VERSION
in thread use vars vs our vs $main:: for $VERSION

Since the script is standalone (not a module), the $main::VERSION one isn't completely wrong, but I do understand that our is better, since it does the right thing if I am in package main or any other package. Thanks!

print pack("A25",pack("V*",map{1919242272+$_}(34481450,-49737472,6228,0,-285028276,6979,-1380265972)))

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (4)
As of 2023-11-29 11:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?