Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
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?
and nobody stirs...

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (8)
As of 2017-11-21 08:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In order to be able to say "I know Perl", you must have:













    Results (297 votes). Check out past polls.

    Notices?