Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: What is the best practice to migrate scripts from test to production

by greywolf (Priest)
on Jun 27, 2007 at 18:42 UTC ( #623704=note: print w/replies, xml ) Need Help??


in reply to What is the best practice to migrate scripts from test to production

I like to use a text file in the directory where the script resides. Use this file to hold any path or variable information that would differ in test mode and production mode. The script can then read the text file in its current directory and get the info it needs.

mr greywolf
  • Comment on Re: What is the best practice to migrate scripts from test to production

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://623704]
help
Chatterbox?
[Eily]: marto I clearly don't have the thread knowledge to understand the importance of that example
[choroba]: the related discussion on Hacker news is interesting
[choroba]: not so many Perl haters so far

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (9)
As of 2017-07-26 14:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I came, I saw, I ...
























    Results (396 votes). Check out past polls.