Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much

Re: Warnings:

by ariels (Curate)
on Jun 08, 2002 at 08:12 UTC ( #172751=note: print w/replies, xml ) Need Help??

in reply to Uninitialized value in string warnings (was: Warnings:)

Apart from using diagnostics to print out longer error messages, you can also use the "program" version of diagnostics, called "splain". Just pipe your error messages to <samp>splain</samp>, or paste them into its standard input, or whatever.

Here's how it works:

#&91;ariels@HumptyDumpty ariels]$ splain 
/usr/bin/splain: Reading from STDIN
Use of uninitialized value in string at line 14.
Use of uninitialized value in string at line 14 (#1)
    (W uninitialized) An undefined value was used as if it were already defined.  It was
    interpreted as a "" or a 0, but maybe it was a mistake.  To suppress this
    warning assign a defined value to your variables.

Replies are listed 'Best First'.
Re: Re: Warnings:
by Anonymous Monk on Jun 08, 2002 at 09:12 UTC

    Thanks. Splain is great! Saves much manual searching of the perldiag docs (which on Win32 system with the standard more is less than useful).

    Anyone have an existing perl script that improves on the standard Win32 more? <p.Shouldn't be hard to write in Perl to get something that goes backward as well as forwards and has a decent (or even primative!) search facility - but if anyone has one existing I'd be grateful.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://172751]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (6)
As of 2018-06-19 16:23 GMT
Find Nodes?
    Voting Booth?
    Should cpanminus be part of the standard Perl release?

    Results (114 votes). Check out past polls.