> Dan Muey wrote:
>
> > >
> > > But did you perldoc? Munging source may sometimes be useful,
> >
> > Shamefully, no :(
> > I usually do but this time I was just backwards!
>
> Cool. I'm afraid I sent the response before I noticed the
> signature. I know that you know better (;-o)
Thanks for
Dan Muey wrote:
> >
> > But did you perldoc? Munging source may sometimes be useful,
>
> Shamefully, no :(
> I usually do but this time I was just backwards!
Cool. I'm afraid I sent the response before I noticed the signature. I
know that you know better (;-o)
Joseph
--
To unsubscribe, e-m
> Dan Muey wrote:
>
> > Howdy,
> > The subject says it all believe it or not :)
> >
> > What I'm trying to figure out is how to pass an argument (pragma I
> > believe is the proper term) to use() and do sonethign in
> the package
> > based on it.
> >
> > I've looked at CGI.pm source but can't s
Dan Muey wrote:
> Howdy,
> The subject says it all believe it or not :)
>
> What I'm trying to figure out is how to pass an argument
> (pragma I believe is the proper term) to use() and do
> sonethign in the package based on it.
>
> I've looked at CGI.pm source but can't seem to track it down.
Bu
On Feb 4, Rob Dixon said:
>That's an interesting point Jeff. You're right that it's
>
> Module->import()
>
>instead of
>
> Module::import()
>
>as 'import' will be inherited in the (common) case that
>Module ISA Exporter.
And also, 'Module' is sent as the first arg to import().
--
Jeff "japhy" P
Jeff 'Japhy' Pinyan wrote:
>
> When you say
>
> use Module qw( args go here );
>
> this is translated into
>
> BEGIN {
> require Module;
> Module->import(qw( args go here ));
> }
That's an interesting point Jeff. You're right that it's
Module->import()
instead of
Module::import(
> On Feb 4, Dan Muey said:
>
> ># for old time's sake we'll just use our favorite module
> >use Foo::Monkey qw(:Foo :Bar -doamazingthings);
>
> Well, depending on what you want to do with the arguments,
> you might want to use the Exporter module to handle exporting
> functions, variables, etc.
> "Dan" == Dan Muey <[EMAIL PROTECTED]> writes:
Dan> What I'm trying to figure out is how to pass an argument
Dan> (pragma I believe is the proper term) to use() and do
Dan> sonethign in the package based on it.
$ perldoc -f use
[...]
Imports some semantics into the current pac
On Feb 4, Dan Muey said:
># for old time's sake we'll just use our favorite module
>use Foo::Monkey qw(:Foo :Bar -doamazingthings);
Well, depending on what you want to do with the arguments, you might want
to use the Exporter module to handle exporting functions, variables, etc.
perldoc perlmo