good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
Re: Tie and Filesys::SmbClientby okram (Monk) |
on Mar 07, 2008 at 23:37 UTC ( [id://672909]=note: print w/replies, xml ) | Need Help?? |
Hi tie works like this: "tie VARIABLE,CLASSNAME,LIST". The "variable" is your *FD, "classname", correctly, is 'Filesys::SmbClient', and all the other stuff afterwards is exactly what you'd pass to Filesys::SmbClient->new(). You would basically want to change your code to read:
If you skip the part about "using the two or three params open()" (use the right one), this *should* work.
In Section
Meditations
|
|