Re: [Catalyst] script/myapp_server -r Can't exec /usr/bin/perl every 3 or 4 restarts

2009-04-30 Thread Matt S Trout
On Thu, Apr 30, 2009 at 02:44:05PM +0200, Erik Wasser wrote: On Tuesday 28 April 2009, Matt S Trout wrote: Two possibilities: (1) exec a $^X to print @INC to get the normal @INC (2) use $Config{arch} and /^5.\/ to strip off the extra ones. Thoughts? I think (1) is more

Re: [Catalyst] script/myapp_server -r Can't exec /usr/bin/perl every 3 or 4 restarts

2009-04-30 Thread Dave Rolsky
On Thu, 30 Apr 2009, Matt S Trout wrote: On Thu, Apr 30, 2009 at 02:44:05PM +0200, Erik Wasser wrote: On Tuesday 28 April 2009, Matt S Trout wrote: Two possibilities: (1) exec a $^X to print @INC to get the normal @INC (2) use $Config{arch} and /^5.\/ to strip off the extra ones.

Re: [Catalyst] script/myapp_server -r Can't exec /usr/bin/perl every 3 or 4 restarts

2009-04-27 Thread Mike Glen
Matt S Trout wrote: On Thu, Apr 23, 2009 at 09:51:59AM +0100, Mike Glen wrote: I think it might be due to line 335 in HTTP.pm 335 $ENV{PERL5LIB} .= join $Config{path_sep}, @INC; Hmm. That's to try and make sure -I calls on the original perl invocation get included. I guess

Re: [Catalyst] script/myapp_server -r Can't exec /usr/bin/perl every 3 or 4 restarts

2009-04-23 Thread Erik Wasser
On Wednesday 22 April 2009, Mike Glen wrote: I'm running the catalyst server (script/myapp_server) using the -r option to restart after changes are made but after every 3 or 4 restarts i get the error message Can't exec /usr/bin/perl: Argument list too long at

Re: [Catalyst] script/myapp_server -r Can't exec /usr/bin/perl every 3 or 4 restarts

2009-04-23 Thread Mike Glen
Erik Wasser wrote: On Wednesday 22 April 2009, Mike Glen wrote: I'm running the catalyst server (script/myapp_server) using the -r option to restart after changes are made but after every 3 or 4 restarts i get the error message Can't exec /usr/bin/perl: Argument list too long at

Re: [Catalyst] script/myapp_server -r Can't exec /usr/bin/perl every 3 or 4 restarts

2009-04-23 Thread Matt S Trout
On Thu, Apr 23, 2009 at 09:51:59AM +0100, Mike Glen wrote: I think it might be due to line 335 in HTTP.pm 335 $ENV{PERL5LIB} .= join $Config{path_sep}, @INC; Hmm. That's to try and make sure -I calls on the original perl invocation get included. I guess what you need to do is try