Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: gunzip exception

by choroba (Archbishop)
on Feb 08, 2021 at 10:52 UTC ( #11128065=note: print w/replies, xml ) Need Help??


in reply to gunzip exception

Warnings don't stop running programs and aren't caught by eval.

map{substr$_->[0],$_->[1]||0,1}[\*||{},3],[[]],[ref qr-1,-,-1],[{}],[sub{}^*ARGV,3]

Replies are listed 'Best First'.
Re^2: gunzip exception
by luxs (Beadle) on Feb 08, 2021 at 11:24 UTC
    Any idea how to catch it and process by my scripts?

      The warning is there to tell you (the programmer) that you're doing something wrong. The easiest step would be to stop doing the wrong thing.

        warning as an erorr code i can process by script warning on the screen is good for tests but not for real program running.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (3)
As of 2021-04-11 18:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?