RE: script to connect windows box from linux

2010-09-02 Thread Lonnie Ellis
You can also turn on the telnet service within Windows rather than using SSH. If you want to use SSH, openSSH is a good alternative for Windows, but you'll have to install Cygwin on the Windows box. Google it, you should find what you need. Another option would be to install Perl on the Windows

RE: Using backtick operator output and feeding it into array

2010-04-22 Thread Lonnie Ellis
-Original Message- From: Uri Guttman [mailto:u...@stemsystems.com] Sent: Wednesday, April 21, 2010 4:21 PM To: Lonnie Ellis Cc: beginners@perl.org Subject: Re: Using backtick operator output and feeding it into array >>>>> "LE" == Lonnie Ellis writes: LE>

RE: Using backtick operator output and feeding it into array

2010-04-22 Thread Lonnie Ellis
-Original Message- From: Linux Expert [mailto:linuxexper...@gmail.com] Sent: Wednesday, April 21, 2010 4:28 PM To: beginners@perl.org Subject: Re: Using backtick operator output and feeding it into array (@digOutput) = `dig -x $ipaddie +short`; The line shown above is replacing the enti

Using backtick operator output and feeding it into array

2010-04-21 Thread Lonnie Ellis
I'm pretty new to perl, and can't seem to get the following bit of code to work. If I print the array while in the sub, it returns what I want but outside of the sub it doesn't recognize it. Aren't all variable global by default unless told otherwise with "my"? Here is code below, any help would