Re: passing an argument to startup.pl - RESOLVED

2006-09-15 Thread Geronimo
who you are and say what you feel, because those who mind don't matter and those who matter don't mind."#   - Dr. Seuss   - Original Message - From: Geronimo To: modperl@perl.apache.org Sent: Thursday, September 14, 2006 9:58 PM Subject: passing an arg

Re: passing an argument to startup.pl

2006-09-14 Thread Jonathan Vanasco
On Sep 14, 2006, at 4:58 PM, Geronimo wrote: PROBLEM: I need to pass an argument to startup.pl, in order to associate Apache2 with a specific version of an app. The app version has a simple identifier, say 'dv1'. What I'm trying to do is emulate passing an argument on the command line, wh

Re: passing an argument to startup.pl

2006-09-14 Thread Jeff Nokes
quot;Startup.pm")if($Startup::arg_1 eq 'dv1')  { #do something ...  }I've never done anything like this but it should work, in theory (I think :-)- Jeff- Original Message From: Geronimo <[EMAIL PROTECTED]>To: modperl@perl.apache.orgSent: Thursday, Se

passing an argument to startup.pl

2006-09-14 Thread Geronimo
PROBLEM: I need to pass an argument to startup.pl, in order to associate Apache2 with a specific version of an app. The app version has a simple identifier, say 'dv1'. What I'm trying to do is emulate passing an argument on the command line, which will show up in @ARGV, like; $ /devel/start