On Sun, Jun 15, 2008 at 2:19 AM, Richard Lee <[EMAIL PROTECTED]> wrote:
>
> thank you! it works now.
>
> First time ever using our.. I read about it but never had to use it till
> now.. just have to read up on it more.
>
You may also read this classical article for Perl's variable scope:
http:/
Jeff Peng wrote:
On Sat, Jun 14, 2008 at 11:21 PM, Richard Lee <[EMAIL PROTECTED]> wrote:
trying to follow some modules examples.. but have a quick quesiton
Below pm works if I don't use strict and use @ISA and @EXPORT.. but not
when I use strict and my @ISA and my @EXPORT
@I
On Sat, Jun 14, 2008 at 11:21 PM, Richard Lee <[EMAIL PROTECTED]> wrote:
> trying to follow some modules examples.. but have a quick quesiton
>
> Below pm works if I don't use strict and use @ISA and @EXPORT.. but not
> when I use strict and my @ISA and my @EXPORT
>
@ISA and @EXPORT are p
David Moreno Garza 写道:
Jeff Pang wrote:
@EXPORT was used for exporting symbol (methods or variables) by default.
When you say,
use base 'Exporter';
our @EXPORT = qw/&mysub/;
..
then mysub() would be exported into caller's name space defaultly.
Would that also work using:
our @EXPORT = qw/mysu
Jeff Pang wrote:
> @EXPORT was used for exporting symbol (methods or variables) by default.
> When you say,
> use base 'Exporter';
> our @EXPORT = qw/&mysub/;
> ..
> then mysub() would be exported into caller's name space defaultly.
Would that also work using:
our @EXPORT = qw/mysub/; ?
Or is
Robert Hicks 写道:
Is @EXPORT_OK for those items you want to import by "name" and
%EXPORT_TAGS for those items you want to group like :all or :select?
Almost right.
What is @EXPORT used for then if that is the case above?
@EXPORT was used for exporting symbol (methods or variables) by defa
On 8/6/05 12:04 PM, in article
[EMAIL PROTECTED], "Xavier Noria"
<[EMAIL PROTECTED]> wrote:
> On Aug 6, 2005, at 17:32, Robert wrote:
>
>> If I have ideas for modules I want to contribute do I "register" those
>> with CPAN first?
>
> This page explains the process and gives some advices:
>
>
On Aug 6, 2005, at 17:32, Robert wrote:
If I have ideas for modules I want to contribute do I "register" those
with CPAN first?
This page explains the process and gives some advices:
http://perldoc.perl.org/perlnewmod.html
-- fxn
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For addition
Maxim,
Thanks,
Jerry
Maxim Berlin wrote:
>
> Hello Jerry,
>
> Friday, July 20, 2001, Jerry Preston <[EMAIL PROTECTED]> wrote:
>
> JP> I tried $$ and still no output. What in the module did I do to
> JP> make you think the $$ would work?
>
> do you replace
> %wdf = $ki->test;
> with
> $w
Maxim,
I tried $$ and still no output. What in the module did I do to make you think the $$
would work?
Thanks,
Jerry
Maxim Berlin wrote:
>
> Hello Jerry,
>
> Friday, July 20, 2001, Jerry Preston <[EMAIL PROTECTED]> wrote:
>
> JP> My program to test out my module is:
>
> JP> #!/usr/local
Hello Jerry,
Friday, July 20, 2001, Jerry Preston <[EMAIL PROTECTED]> wrote:
JP> My program to test out my module is:
JP> #!/usr/local/bin/perl
JP> use CGI;
JP> use CGI::Carp qw(fatalsToBrowser);
JP> use KI;
JP> $ki = new KI();
JP> $query=new CGI;
JP> print $query->header();
JP>
, July 20th 2001.
Eric
On Thu, 19 Jul 2001, Bob Showalter wrote:
> Date: Thu, 19 Jul 2001 17:13:03 -0400
> From: Bob Showalter <[EMAIL PROTECTED]>
> To: "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]>
> Cc: [EMAIL PROTECTED]
> Subject: RE: Re: Module question
[EMAIL PROTECTED] wrote:
> Like I said I was frustrated. I'm using the Deitel and
> Deitel book. But it is probably not it's fault. I'm just confused.
Don't know the book. I Suggest the O'Reilly books.
> I thought I understood I needed to define how I should use
> the module so it would use
Like I said I was frustrated. I'm using the Deitel and Deitel book. But it is
probably not it's fault. I'm just confused.
I thought I understood I needed to define how I should use the module so it would use
it. But from what you just said I guess not. Please provide assistance or a exa
On Thu, Jul 19, 2001 at 03:38:32PM -0400, [EMAIL PROTECTED] wrote:
> use Date::Calc;
> sub dateFriday
> {
> $day="friday";
> $num="3";
> my $dumpday = " $num $day ";
> print ("$dumpday for level0 dump.");
> }
> print ( "Time to do level 0 dump\n", $d->dateFriday() ) ;
I don't un
15 matches
Mail list logo