--- "F.H" <[EMAIL PROTECTED]> wrote:
> what I mean by argument is a switch/option that I pass to the module that I call 
>whithin my main
> perl script. Yes I have those line in my module:
> >use vars qw( @EXPORT, @ISA );
> >@EXPORT = qw( function_name );
> >@ISA = qw( Exporter );
> >require Exporter
> the module is so long that is not worth posting over here. All I need is to be able 
>to pass an
> argument/switch  to it, in my case is a file name.
> so I need to have something like
> use mymodule -myargument=<value>

Oops.  I see a little error there:

    use vars qw( @EXPORT, @ISA );

When using qw(), the items are delimited by whitespace.  Take out the comma and try it 
then.

Cheers,
Curtis Poe

=====
Senior Programmer
Onsite! Technology (http://www.onsitetech.com/)
"Ovid" on http://www.perlmonks.org/

__________________________________________________
Do You Yahoo!?
Make international calls for as low as $.04/minute with Yahoo! Messenger
http://phonecard.yahoo.com/

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to