in reply to Bug in perl?

This syntax is valid, but I don't think it does what you want to do:

$ftpobj -> put ($dir/$thefile);

(Try "$thefile = '0'" for some infinite fun.)

I think you mean:

$ftpobj->put( "$dir/$thefile" );

I'm not sure that's really the problem you're describing, however. Is this really the code you're using?

Replies are listed 'Best First'.
Re^2: Bug in perl?
by MaxDes (Initiate) on Aug 05, 2008 at 20:12 UTC
    Changed for your pleasure. the ACTUAL code since I buggered it a little bit retyping it all. no cut and paste for me since it's diff pcs. bah. The user/pw is no issue. It's all fake.