On 1/25/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:

> My problem seems to be within the Net::FTP module.  I have intentionally
> modified my password so that my error routines can be tested, but once the
> login
> piece fails it continues on,  when I would expect that it should die at the
> code in red.

I don't see any code in red.

> The uninitialized value is $OHMONSTER, but the FTP piece is
> not exiting.

> print "step 6 for loop\n";
>                 foreach ($ftp->ls()) {
>                     if (/${$fref}\d+\w+/)  {
>                        $OHMONSTER = $_;
>                        last;
>                     }
>                 }

If the test in the if statement never returns true, $OHMONSTER will
stay uninitialized. Is that the problem you're having? Check to see
whethere it's defined before you continue, if that matters. Hope this
helps!

--Tom Phoenix
Stonehenge Perl Training

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to