Re: [Perl-unix-users] Net-SSH-Perl on Solaris 8, ActivePerl 5.8.7

2005-10-20 Thread listmail
Well I considered the wrapper version Net-SSH-Perl for the UNIX portion of my program. It does not use a password and relies on rsa keys. I really didn't want to have to set all that up for several boxes and would rather stick to the old username password setup, alot less maintenance I do beli

Re: [Perl-unix-users] ignoring conditional use module statements

2005-10-20 Thread $Bill Luebkert
[EMAIL PROTECTED] wrote: > Thanks for the varied suggestions. I'm still dealing with a few things > I cannot explain. I have provided below a very simple program that > produces errors in two scenarios, each case is resolved by reverting > back to the regular use statement. > > #EXAMPLE1: > #!

[Perl-unix-users] Net-SSH-Perl on Solaris 8, ActivePerl 5.8.7

2005-10-20 Thread listmail
Has anyone successfully built Net-SSH-Perl on solaris 8? I tried version 1.29 but it appears the crypt packages I needed are either missing or dont install from the default PPM repositories. I skipped ahead a moment and try to compile the latest Math-Pari from CPAN and it failed. I wanted t

Re: [Perl-unix-users] ignoring conditional use module statements

2005-10-20 Thread StoneBeat
if ($runmode eq "GUI") { require Tk; Tk->import; require Tk::HList; Tk::HList->import; require Tk::Text; Tk::Text->import; } This is because "use" is evaluated on startup, but "require" not. "module->import" is for emu

Re: [Perl-unix-users] ignoring conditional use module statements

2005-10-20 Thread listmail
Thanks for the varied suggestions. I'm still dealing with a few things I cannot explain. I have provided below a very simple program that produces errors in two scenarios, each case is resolved by reverting back to the regular use statement. #EXAMPLE1: #!/usr/bin/perl -w use strict; my $GUI =

Re: [Perl-unix-users] ignoring conditional use module statements

2005-10-20 Thread $Bill Luebkert
[EMAIL PROTECTED] wrote: > How can you get perl to not check for modules that are loaded > conditionaly? In the example below perl would still error on the Tk > module(s) if they are not installed. I'm basically coding to support > both a GUI and command line mode, eventually across a couple o