Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by mg9176

  1. mg9176

    Errors Using Sendmail

    Is there a reason that the sendmail.pm can not be used. The modules can be placed in the local dir in case you are running into permissions errors... -MikeyG
  2. mg9176

    print last 3 numeric numbers from a string

    try this instead: $string="tttt 22 22 22"; $string=~ m/.+(\d{2}).+(\d{2}).+(\d{2})/; print "$1 $2 $3" -MikeyG
  3. mg9176

    how to retrieve user's local time?

    I know it isn't perl, but I just grabbed this off one of my pages. You could, in the onload portion, alter it to submit the users local time and refresh the screen to the actual URL you want to display. I hate 'auto-click' pages, but it may have to do ;) <script> <!-- function show2(){ if...
  4. mg9176

    Perl Script Reading Password from File

    to help tighten things up, if you are going from *ix to *ix, you might want to utilize scp instead of ftp with keys intead of passwords... then no password maintenance to worry about...
  5. mg9176

    Formatting screen output without GUI...

    Yep. Haven't used curses for a couple of years myself. I was hoping to find an OS independant method, as this script runs on both *IX and (blargh) Windoze. Thanks for the idea... Wonder if there are curses libraries for Doze... ;) Anyone else got an idea? I'd hate to have to start...
  6. mg9176

    Removing all spaces at the end of a variable

    just chop instances of whitespace from front and back ignoring anything in the middle. Also, if you wish, the commented regex removes duplicate spaces. Feel free to just copy and paste the subroutine out of the code below... #!/usr/bin/perl -w ########################################## #...
  7. mg9176

    Formatting screen output without GUI...

    Ok, so, yes, I know how to format output using format STDOUT.... What I'm looking to do here is to format the screen into subsections, and redirect output to each section independantly without X11 or any outer gui, so that a user with telnet is A-ok; kind of reminiscent of a tn3270 session into...

Part and Inventory Search

Back
Top