Read the docs of the module or the source to find out which functions it
exports by default, and which you have to import explicitly.

So if a module is Bar::Foo and exports 2 functions (fistfunc,
secondfunc), then you can use them by
Saying: 

Use Bar::Foo;

Firstfunc(); # Referring to the first function an so on.



||> -----Original Message-----
||> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
||> Sent: Wednesday, May 05, 2004 12:32 AM
||> To: [EMAIL PROTECTED]
||> Subject: How do i call a module !
||> 
||> Hi there !
||> 
||> I'm very new to perl and i'm asked to call a particular perl module
using a function
||> ! how do i go about ???
||> 
||> Should  use MODULES::Filename ..?
||> 
||> The problem is i'm not sure what are the values to be passed on to
that ! This
||> module basically parses the html file and pushes all the links in to
a database !
||> 
||> Please help
||> 
||> Thanks
||> Joe
||> 
||> --
||> To unsubscribe, e-mail: [EMAIL PROTECTED]
||> For additional commands, e-mail: [EMAIL PROTECTED]
||> <http://learn.perl.org/> <http://learn.perl.org/first-response>
||> 




-- 
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