Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

comment on

( [id://3333]=superdoc: print w/replies, xml ) Need Help??

Shout out to bliako for this:

Hmmm. I would say, stick either with flock/highlander or with the shared-memory approach of Script::Singleton (my preference is with the memory-based approach which is more universal than the file-system approach).

...and hippo for this:

If managing your own lockfiles with flock is too tricky then why not simply use Script::Singleton as stevieb suggested here? That's a simple, reliable solution.
.

When I read things like this it becomes apparent that my dedication to Perl (and Open Source in general) is acknowledged and appreciated. Thank you guys! It's all of you that keeps me going.

With that said, to anyone new or just coming up, work hard. Ask questions. Answer questions. Put something on the CPAN. I am paid because I put stuff on the CPAN. Perl is a very high paying profession. Become trusted in the Perl ecosystem and you will have a career.

I have, myself had influence on several hires. If you have a CPAN profile, you've contributed. It doesn't matter if you're embarrassed. Just get work in the open. The willingness to get something in public is more important than how 'good' the work is. Being public is far more important than having publicity.

Your resume/CV is "where's your Github/CPAN". Just get your code out there, no matter how bad or good you think it is. I've helped hire people because they've published something over those who haven't. Code I perceive as horrible that is published globally is far better than awesome code that isn't. I want someone who is confident in what they do; not someone who's waiting until they write the best thing. Technique can be trained; confidence can not.

My theory is if there's as close to 100% test coverage, it doesn't matter how good the code does; it's assured the code does what it says it does.

Tests. Documentation. Code. Publish. Be acknowledged.

Merry Christmas!


In reply to Re: Ensure Only One Instance of Your Script is Running... with 'ps -ef' ? by stevieb
in thread Ensure Only One Instance of Your Script is Running... with 'ps -ef' ? by redapplesonly

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":



  • Are you posting in the right place? Check out Where do I post X? to know for sure.
  • Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
    <code> <a> <b> <big> <blockquote> <br /> <dd> <dl> <dt> <em> <font> <h1> <h2> <h3> <h4> <h5> <h6> <hr /> <i> <li> <nbsp> <ol> <p> <small> <strike> <strong> <sub> <sup> <table> <td> <th> <tr> <tt> <u> <ul>
  • Snippets of code should be wrapped in <code> tags not <pre> tags. In fact, <pre> tags should generally be avoided. If they must be used, extreme care should be taken to ensure that their contents do not have long lines (<70 chars), in order to prevent horizontal scrolling (and possible janitor intervention).
  • Want more info? How to link or How to display code and escape characters are good places to start.
Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others taking refuge in the Monastery: (4)
As of 2024-03-29 01:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found