On Wed, 9 Feb 2005, Ranga Nathan wrote:

> Many times today my putty sessions (to Linux on z/VM)  logged of 
> automatically before the installation of a perl module finished.

If the session is getting terminated by the CPAN install, have you tried 
running the installation from within a subshell? 

    % ssh host
    $ sudo bash
    Password:
    # perl -MCPAN -e 'install MQSeries'  
  ...  stuff happens ...
  ...  stuff breaks ...
    $  # you're back to the initial remote shell

That way you at least shouldn't lose the whole connection.

You could probably also use an eval...

    # perl -e 'eval{ use CPAN; install MQSeries}'

Or something along those lines...
 
 

-- 
Chris Devers
 
_______________________________________________
Boston-pm mailing list
[email protected]
http://mail.pm.org/mailman/listinfo/boston-pm

Reply via email to