Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses

Re^2: Print perl source code in compiled script...

by oko1 (Deacon)
on Feb 09, 2012 at 21:15 UTC ( #952851=note: print w/replies, xml ) Need Help??

in reply to Re: Print perl source code in compiled script...
in thread Print perl source code in compiled script...

Where'd that bloody '++++++++' button go, now...

Yeah. What Old_Gray_Bear said, in triplicate. If you're too lazy to do it manually (<cough> like a certain programmer whom I see in the mirror every morning...), configure your editor to automatically 'svn ci' what you're working on at every save, at least for your code.

This has saved my bacon not just once, nor even twice. In various emergency and non-emergency situations, in a large variety of blowups, code rollbacks, other-programmer-caused problems, and in one case, a computer catching fire while I was at lunch (!), I would estimate the bacon-saving efficacy of that little hack at a couple of dozen.

Don't get caught without it. :)

I hate storms, but calms undermine my spirits.
 -- Bernard Moitessier, "The Long Way"
  • Comment on Re^2: Print perl source code in compiled script...

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://952851]
erix .oO( that sounds Boyer-Mooreish )
[Corion]: erix: Yes, but that's mostly for skipping characters you'll never read, but this approach skips the problem of needing to load more data while looking at a half-match
[Corion]: I mostly wonder how I can add this "reversal" to my toolchest, and if it's worth it or just clever
[choroba]: It should greatly simplify the parsing code, no flags or additional reading of the next buffer needed

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (13)
As of 2016-12-06 15:34 GMT
Find Nodes?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:

    Results (109 votes). Check out past polls.