Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

comment on

( [id://3333]=superdoc: print w/replies, xml ) Need Help??
Hey there Sparky, That's my bit of lame bained code - lost my login somewhere between writing and posting. route might work, just didn't think of it at the time. I was trying to capture the dynamicly generated IP address that my ISP was giving me, and my routing table only showed that ppp0 was my default gateway, not what the dynamicly generated IP was. I could be wrong, networking is not only not my forte, I tend to rely on two terminals at a time, one with a man page and the other with a prompt.

Looking over my code, I think I could probably cut it down a lot, maybe break the connection/file checking into a sub to minimize overhead, etc.. The version I posted was also designed to email a standup account my dynamic IP address - I also have a version that is really paired down, just checking to see if you are online or not (incorporated into a small shell script, it creates the ONLINE file, the shell script just checks for that file before running your tasks). If you want to save time on cutting it up, I can send that along as well.

z3d


In reply to Re: Re: Salvation for Dial Up Users (with some awful Perl) by z3d
in thread Salvation for Dial Up Users (with some awful Perl) by Anonymous Monk

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 admiring the Monastery: (5)
As of 2024-03-28 20:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found