Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re^7: looking for feedback on my first script

by shmem (Chancellor)
on Jan 10, 2021 at 02:53 UTC ( [id://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?Last hourOther CB clients
Other Users?
Others lurking in the Monastery: (5)
As of 2024-04-19 06:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found