I upgraded Catalyst to 5.80016, and now restarting the dev server script with 
HUP makes it crash with this error:

Restarting server on SIGHUP...
Can't use an undefined value as an ARRAY reference at 
/usr/local/share/perl/5.10.0/Catalyst/Engine/HTTP.pm line 342.

Here is Catalyst::Engine::HTTP line 342:

        exec $^X, $0, @{ $options->{argv} };

I tried getting some argv in there by giving arguments to the server script, 
but it didn't fix it. So I edited HTTP.pm to this:

        #exec $^X, $0, @{ $options->{argv} || [] };


And now it restarts okay when HUPed. Did I do something wrong or is this a bug? 
The script used to restart okay when HUPed before I upgraded.

thanks 
Jim


Catalyst::Runtime is up to date (5.80016)
Catalyst::Devel is up to date (1.25).

                                          
_________________________________________________________________
Hotmail: Free, trusted and rich email service.
http://clk.atdmt.com/GBL/go/171222984/direct/01/
_______________________________________________
List: [email protected]
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/[email protected]/
Dev site: http://dev.catalyst.perl.org/

Reply via email to