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

Re^2: Migrating Code From Test to Production: How to do it right, how to set up an environment that leaves nothing to chance

by tphyahoo (Vicar)
on Jul 14, 2006 at 09:58 UTC ( #561187=note: print w/ replies, xml ) Need Help??


in reply to Re: Migrating Code From Test to Production: How to do it right, how to set up an environment that leaves nothing to chance
in thread Migrating Code From Test to Production: How to do it right, how to set up an environment that leaves nothing to chance

What is an "import" subroutine? Why did you boldface this term? Does it have a special meaning?

What terms do I search the web on to learn more?


Comment on Re^2: Migrating Code From Test to Production: How to do it right, how to set up an environment that leaves nothing to chance
Re^3: Migrating Code From Test to Production: How to do it right, how to set up an environment that leaves nothing to chance
by Aristotle (Chancellor) on Jul 16, 2006 at 18:50 UTC

    It has to do with the use function, which is really just syntactic sugar. One of the things it does is to call the static import method on the package youíre loading, passing it the parameters you gave on the use line to process them. The common behaviour of import is to export functions from the package itís in into your current one, usually by calling upon Exporter. However, all of that is entirely conventional, and you can actually do whatever you want with those parameters Ė like using them as a names for configurations to choose between, as Herkum does.

    The use docs have the details.

    Makeshifts last the longest.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (12)
As of 2014-08-29 21:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (289 votes), past polls