Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re^2: Lock File

by JavaFan (Canon)
on Nov 03, 2010 at 13:28 UTC ( #869228=note: print w/replies, xml ) Need Help??


in reply to Re: Lock File
in thread Lock File

You actually don't need the latter two lines. Just having either __DATA__ or __END__ will do.

Replies are listed 'Best First'.
Re^3: Lock File
by Anonymous Monk on Nov 03, 2010 at 16:38 UTC

    The text after the __DATA__ is required. Without it, the program will stop working as soon as a coworker tries to improve the code. :P

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://869228]
help
Chatterbox?
[1nickt]: See this code. (I expected to simply eval loading threads as a check, but weirdness happened with Perlbrew so it's a grep of -V ...)
[choroba]: Config might be better than grepping -V
[Corion]: Also see Config::V, which is less of that hackery, or that hackery hidden in a module ;)
[1nickt]: The problem was with Perlbrew
[Corion]: Whoops - Config::Perl::V
[1nickt]: I found that when using Perlbrew as recommended, with cpanminus in the system perl lib, such tests were failing to detect the data about the perl that was the install destination.

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (8)
As of 2017-10-18 15:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My fridge is mostly full of:

















    Results (249 votes). Check out past polls.

    Notices?