freelanceprogrammers.org Forum Index » Perl
Re: I beg your Help ..pls don`t ignore
Joined: 03 May 2004
Posts: 8
Re: I beg your Help ..pls don`t ignore
But you can always explicitly prepend the Package name
to a function name!
> In Perl environment, there is a perl module - FTP.pm but in one
> directory client, has already written the same module with the same
> name. In that Perl Module, there are so many functions but only one
> function is not there. That function is only available in Perl`s own
> package - FTP.pm.
> If I invoke that module by "use Net::FTP", it always invokes client`s
> package, but I need to bypass that package and call perl`s
> own package.
>
> Please help me how to invoke perl`s FTP.pm instead of existing or
> clients` written FTP.pm.
But I think the main problem here is that the client has placed his
FTP module also into Net, obviously with the intention to *replace*
Perls own FTP module. I don`t think this was a good idea in the first
place, and should be done only if one is sure that the new module
is really an extension of the old one (which is not the case here).
Is there a way that you move the client`s FTP to a different package?
Ronald
All times are GMT
Page 1 of 1
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Freelace Website Designer - Customer web design and software building.
China Wholesale - Electronics Products
Character Studio - Tutorials and Help
China Wholesale - Electronics Products
Character Studio - Tutorials and Help







