Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

comment on

( [id://3333]=superdoc: print w/replies, xml ) Need Help??
I have a server that runs Debian, and recently when I did an apt-get upgrade, it upgraded perl from 5.8 to 5.10. What hadn't occurred to me was that I had some scripts that were still running, which had been initialized with @INC set to all the proper paths for 5.8. I didn't notice until several weeks later that they were crashing with errors whenever they were invoked. The solution was simply to restart the scripts. I have a list of tests that I always do after an upgrade, and now this is on my list. But is there some simpler/easier/graceful/automagic way to approach this? Another issue that creates hassles is that I use apt for all the perl modules that are packaged for debian, and cpan for the rest; sometimes apt and cpan step on each other's toes.

---

Thanks, everyone, for the replies! Wow, I really learned a lot from this discussion -- both about perl and about unix :-)


In reply to graceful handling of perl upgrades on server? by bcrowell2

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 contemplating the Monastery: (5)
As of 2024-04-25 23:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found