Fwd: Using PerlPod creatively

2017-03-24 Thread Sami Joseph
Hi, I am interested to understand what this guy did, but i am unable to, can someone please break it down to a newbie I've spent the last several days at work, trying to "take over" some work left behind by a departing colleague. I realized we didn't have some of his bash scripting in ansible or

Re: Using PerlPod creatively

2017-03-24 Thread Shlomi Fish
Hi, Sami! Please reply to all recipients. On Fri, 24 Mar 2017 00:17:33 -0700 Sami Joseph wrote: > Hi, > > I am interested to understand what this guy did, but i am unable to, can > someone please break it down to a newbie > > I've spent the last several days at work, trying to "take over" som

Re: Using PerlPod creatively

2017-03-24 Thread Shawn H Corey
On Fri, 24 Mar 2017 00:17:33 -0700 Sami Joseph wrote: > He would comment out the > control codes (thus rendering the text interpretable) on the parts > meant to run, which would differ between machines. There are better ways to do this, at least in Perl. You can use the $^O to determine the ope

Re: Using PerlPod creatively

2017-03-27 Thread Chris Fedde
Three pieces of advice: One: Remember the Kübler-Ross model: denial, anger, bargaining, depression, acceptance. Two: SQL is going to be a part of Information technology for a long time. Three: It's always the middle of the story. chris On Fri, Mar 24, 2017 at 1:17 AM, Sami Joseph wrote: > > Hi

Re: Using PerlPod creatively

2017-03-30 Thread Chris Fedde
Yeah. Let me get all philosophical here. Using POD to comment out code is a tactical mechanism. It has more to do with what the programmer is thinking at the time (s)he is in the middle of debugging. Other approaches with similar results would be to use editor features to add '#' to the front o