I do have to say, I have had to laugh at this thread a little... I've been working with perl off and on the last seven (gosh maybe more...) years and have always enjoyed it... my current employer wanted me to implement some code in perl (I argued for java or c pretty hard... but hey sometimes money talks ;)... anyway I was hoping more somebody would come in with a nice solution and say "here is some neat trick... try this :)"

Instead I've gotten professional help ;)... which is cool, but I'm a *lowly* contractor here *and* too young... hrmmm... so I can't really get in and play the political games to actually fix the problem correctly... I've bugged the guy a few times to help him fix some things, but he's a little put off by having some 'green' punk kid teach him anything. If anything I think it bothers him more that I've been programming longer than him... and more than likely getting paid more. :(

Be that as it may, are there *any* tricks I can pull off to protect myself. I know I could localize variables and all that fun stuff, but I'm more afraid he'll go off and create new variables and such and walk all over my code. It has happened a few times to me and unfortunately talking to his manager hasn't helped any because he is basically given free reign to do whatever he wants.

So can I do something weird like localize main:: or somehow seperate his memory space from mine without his code knowing about it? I really don't care to spend the time to re-write any of his code, especially since I don't want to be walking on any toes.

I've already ran into enough problems now that I am trying to get him to fix anyway... so this isn't highest on my priority list to get him to fix... I'd rather get him focusing any time he can give me to *not* crashing out on me and killing my programs that use his code.

Oh well... I guess this thread has become more 'off topic' than what *I* expected at least :)... guess I'll have to see what I can do on my end to get this engineer to help me out :).


In reply to RE: Re: Perl Safety by gaspodethewonderdog
in thread Perl Safety by gaspodethewonderdog

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



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.