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

Re: error : Value too large for defined data type while checking file existence in perl

by haukex (Archbishop)
on Feb 28, 2017 at 11:32 UTC ( [id://1183126]=note: print w/replies, xml ) Need Help??


in reply to error : Value too large for defined data type while checking file existence in perl

You've already got some good answers, I just wanted to point out that in print "\nSuccess $!\n"; it doesn't make sense to show the value of $!, since as a general rule, it is only set on failure, and not cleared on success.

$ perl -wMstrict -le '$!=42; -e "/tmp" or die; print "<$!>"' <No message of desired type>
  • Comment on Re: error : Value too large for defined data type while checking file existence in perl
  • Select or Download Code

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others studying the Monastery: (6)
As of 2024-04-24 08:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found