Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re^6: Beware of POSIX constants (sorta)

by tye (Sage)
on Oct 04, 2005 at 14:32 UTC ( [id://497264]=note: print w/replies, xml ) Need Help??


in reply to Re^5: Beware of POSIX constants (sorta)
in thread Beware of POSIX constants

[...] your solution [...]

...was a "quick demonstration". Your solutions... oh... you don't have a solution. Just trying to prop up your claim that autoloading is the source of the problem? (:

Note also that you can have POSIX export real constants but have the autoloaded ones in POSIX:: not require predeclaration. That would mean that the only "performance hit" is for people who do "use POSIX;", who are already getting a "performance hit" for importing hundreds of symbols. But even predeclaring all several hundred POSIX constants as actually being constants takes a fraction of a 1/100th of a second on my lowly PC, so I don't see this as a big problem that needs to be avoided.

- tye        

  • Comment on Re^6: Beware of POSIX constants (sorta)

Log In?
Username:
Password:

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

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

    No recent polls found