Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re^6: Should I use carp/croak or warn/die

by Your Mother (Archbishop)
on May 30, 2018 at 17:48 UTC ( [id://1215488]=note: print w/replies, xml ) Need Help??


in reply to Re^5: Should I use carp/croak or warn/die
in thread Should I use carp/croak or warn/die

I liked some of your thoughts about "nice to haves" above and I'm always open to new approaches even though I've never met Ms Huffman. I propose some replacements/aliases–

carp ⇢ gripe
cluck ⇢ kvetch
croak ⇢ lament
confess ⇢ dirge
shortmess ⇢ demur
longmess ⇢ expostulate

Now we're getting somewhere. I am seeing an Acme:: future here; especially if it duplicates every single function in the core and in common usage from the more popular CPAN modules, with the entire thesaurus entry for each! :P ← You can't stop me!

  • Comment on Re^6: Should I use carp/croak or warn/die

Replies are listed 'Best First'.
Re^7: Should I use carp/croak or warn/die
by LanX (Saint) on May 30, 2018 at 17:59 UTC
    Rather two additional generic functions which are synonymous to this range of things you like to do with Ms Milli. ;p

    Cheers Rolf
    (addicted to the Perl Programming Language :)
    Wikisyntax for the Monastery

Re^7: Should I use carp/croak or warn/die
by karlgoethebier (Abbot) on May 31, 2018 at 20:04 UTC
    "...seeing an Acme:: future here..."

    Great expectations. I guess putting something like use Carp; sub lament { goto &croak } in a role should do the job (untested).

    Best regards, Karl

    «The Crux of the Biscuit is the Apostrophe»

    perl -MCrypt::CBC -E 'say Crypt::CBC->new(-key=>'kgb',-cipher=>"Blowfish")->decrypt_hex($ENV{KARL});'Help

Log In?
Username:
Password:

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

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

    No recent polls found