Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation

use diagnostics (Re: Readonly variable)

by tye (Sage)
on Feb 27, 2001 at 00:57 UTC ( #60943=note: print w/replies, xml ) Need Help??

in reply to Re (tilly) 3: Readonly variable
in thread Readonly variable

But I thought that at least part of the point of was for people with scars to collect the likely list of reasons for each error.

        - tye (but my friends call me "Tye")
  • Comment on use diagnostics (Re: Readonly variable)

Replies are listed 'Best First'.
Re (tilly) 2: use diagnostics (Re: Readonly variable)
by tilly (Archbishop) on Feb 27, 2001 at 01:37 UTC
    True, but consider my point an addendum to point 8 of japhy's advice. Perl can tell you that it is seeing something invalid and describe in great detail why it is invalid. But it takes some experience to make from that an educated guess for why perl is getting invalid data. Since that is probably the question that has to be answered in the end anyways, that is very valuable. But unfortunately it isn't as easily bottled up into a module...

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (3)
As of 2022-05-22 10:20 GMT
Find Nodes?
    Voting Booth?
    Do you prefer to work remotely?

    Results (80 votes). Check out past polls.