Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re^2: Getting the Behavior of the "file open or die" Pragma but with a Program Pause

by perldigious (Priest)
on Oct 10, 2016 at 16:19 UTC ( [id://1173668]=note: print w/replies, xml ) Need Help??


in reply to Re: Getting the Behavior of the "file open or die" Pragma but with a Program Pause
in thread Getting the Behavior of the "file open or die" Pragma but with a Program Pause

I don't mind the user interaction, in fact I prefer it because it all but forces them to look at the error message. My main cringe is that I took something as clean and tidy as the one line "open or die" and use this kludge just to get the program pause behavior. I'm picking nits I'm sure, but I was hoping there was a way to keep that one line cleanliness (with the post-fix notation), get the pause, and not have to resort to a subroutine call as I do. I'm probably asking to have my cake and eat it too. :-)

I love it when things get difficult; after all, difficult pays the mortgage. - Dr. Keith Whites
I hate it when things get difficult, so I'll just sell my house and rent cheap instead. - perldigious
  • Comment on Re^2: Getting the Behavior of the "file open or die" Pragma but with a Program Pause

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others examining the Monastery: (4)
As of 2024-04-19 05:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found