Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re^7: looking for feedback on my first script

by shmem (Chancellor)
on Jan 10, 2021 at 02:53 UTC ( #11126688=note: print w/replies, xml ) Need Help??


in reply to Re^6: looking for feedback on my first script
in thread looking for feedback on my first script

I disagree about printf() errors.

It was all about sprintf, not printf. Different cases and conditions (memory exhausted vs. disk full etc, NFS conditions and such).

perl -le'print map{pack c,($-++?1:13)+ord}split//,ESEL'
  • Comment on Re^7: looking for feedback on my first script

Replies are listed 'Best First'.
Re^8: looking for feedback on my first script
by Marshall (Canon) on Jan 14, 2021 at 03:36 UTC
    I think this was about return values from a subroutine.

    I prefer explicit return statements except in the case of Perl sort sub routines.
    There are Monks who will disagree with this style.
    So be it.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (4)
As of 2021-09-17 14:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?