Chas. Owens wrote:
Thomas Bätzler:
#!/usr/bin/perl -w
use strict;
Don't use -w. Use the [warnings pragma][0] instead. When you say -w
you turn on warnings for everything, even modules that are not
expecting them. Read more in [perldoc perllexwarn][1].
And that is why I prefer -w.
(Mayb
On Mon, Jul 26, 2010 at 09:21, Thomas Bätzler wrote:
snip
> Assuming that $abc is a hash reference, it works like this:
>
> #!/usr/bin/perl -w
>
> use strict;
snip
Don't use -w. Use the [warnings pragma][0] instead. When you say -w
you turn on warnings for everything, even modules that are not
Thank you, Bob & others. I think I now understand better. I have the
source code. So now I should be able to figure this out.
Regards,
Sharan
On Mon, Jul 26, 2010 at 6:00 PM, Rob Coops wrote:
>
>
> On Mon, Jul 26, 2010 at 2:09 PM, Sharan Basappa
> wrote:
>>
>> Folks,
>>
>> I am reusing a code f
On Mon, Jul 26, 2010 at 08:09, Sharan Basappa wrote:
> Folks,
>
> I am reusing a code for some enhancements. According to my
> understanding, it is a record with
> some unique string as key and then hash array as the value.
>
> I iterate through the array and print as follows:
>
> foreach my $key
On Mon, Jul 26, 2010 at 2:09 PM, Sharan Basappa wrote:
> Folks,
>
> I am reusing a code for some enhancements. According to my
> understanding, it is a record with
> some unique string as key and then hash array as the value.
>
> I iterate through the array and print as follows:
>
> foreach my $ke
you second @EXPORT_OK= statement reset the EXPORT_OK array, I believe
the correct syntex should be.
our @EXPORT_OK = qw(@T_AREA %T_IDS);
Tor.
Jerry Preston wrote:
>
> Hi!,
>
> I do not understand what I am doing wrong. I can pass an hash this way and
> not an array using the following:
>
>
From: "Jerry Preston" <[EMAIL PROTECTED]>
> I do not understand what I am doing wrong. I can pass an hash this
> way and not an array using the following:
>
>require Exporter;
>
>our @ISA = qw(Exporter);
>our @EXPORT = qw();
>our @EXPORT_OK = qw( @T_AREA );
>our @EXPORT_OK =
You are resetting (clearing) @EXPORT_OK. Either you need to set it all at once or push
to it (though I don't know if this latter works, should). See inline.
On Thu, 9 Jan 2003 06:26:01 -0600, "Jerry Preston" <[EMAIL PROTECTED]> wrote:
> Hi!,
>
>