Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer

Re: Re: Re: no warnings 'uninitialized' (was:Time to seconds)

by Anonymous Monk
on Nov 16, 2001 at 23:03 UTC ( #125891=note: print w/ replies, xml ) Need Help??

in reply to Re: Re: no warnings 'uninitialized' (was:Time to seconds)
in thread Time to seconds

All these has their more or less intuitive explanations except for the $i and $k examples, and possibly also the $1 example. I believe you did this test on ActivePerl which is unfortunate since ActivePerl is broken. Try that on coreperl and you'll see that the $i and $k examples too will emit warnings--just as they should.

Comment on Re: Re: Re: no warnings 'uninitialized' (was:Time to seconds)
Replies are listed 'Best First'.
Re4: no warnings 'uninitialized' (was:Time to seconds)
by blakem (Monsignor) on Nov 17, 2001 at 00:53 UTC
    Ah, so here is another reason to turn off that warning... different perls complain about different things. The original answers were from a unix 5.6.1 perl, but testing it against 5.005_03 on the same machine shows that $i and $k trip warnings as you noted. (of course turning off warnings prior to 5.6.0 is a bit of a pain....)


Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://125891]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (7)
As of 2015-12-02 07:54 GMT
Find Nodes?
    Voting Booth?

    My keyboard shows this many letters:

    Results (37 votes), past polls