Re: Problem Installing perlbrew

2013-03-20 Thread Brandon McCaig
Angela Barone: On Tue, Mar 19, 2013 at 11:42:56AM -0700, Angela Barone wrote: > I tried that, but it didn't work. It turns out that when I > used OS X's Terminal, everything installed smoothly. But if I > tried iTerm, then I got the "-bash: perlbrew: command not > found" error. This makes no se

Re: Problem Installing perlbrew

2013-03-20 Thread Brandon McCaig
On Wed, Mar 20, 2013 at 10:22:04AM -0400, Brandon McCaig wrote: > Is it possible that it's not running bash, and > therefore your .bash_profile is not being sourced, and therefore > the Perlbrew environment is not being set up? Nevermind... On Tue, Mar 19, 2013 at 11:42:56AM -0700, Angela Barone

Re: Problem Installing perlbrew [solved]

2013-03-20 Thread Angela Barone
Thank you to everyone who replied off-list. It turns out that version 0.60 had a problem which manifested itself in strange ways. As we were trying to figure out what was going on, version 0.61 was released. The new version seems to have fixed the problem. :) Thanks again f

Net::SSH::Perl - Permission Denied

2013-03-20 Thread Alvin Ramos
I'm wanting to run through each server, but if it gets to a server that it can't login not to die. The "server-list.txt" has: localhost localhost2 localhost3 localhost4 When it gets to localhost3 and it dies with: Permission denied at ./ linux_discovery.pl line 20 I would like it to keep rolling

Re: Net::SSH::Perl - Permission Denied

2013-03-20 Thread Andy Bach
Well, line 20 is: $ssh->login($usr,$pwd,$ssh); so if that's the line that's dying you can wrap it in an eval - see perldoc -f eval If there is a syntax error or runtime error, or a "die" statement is executed, "eval" returns an undefined value in scalar context or an empty list in list context, an