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 wOOdy-Soft 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 krkX

  1. krkX

    Looking 4 a Image Resizer Script

    Try looking into GD, this can do all you want [ponder]KrK
  2. krkX

    Reporting tool formating

    Keep track of the last name, if it appears again dont print... print $name unless ($name eq $prev_name); [ponder]KrK
  3. krkX

    preg_replace question

    /->(.*?)<!-/ [ponder]KrK
  4. krkX

    Modifying files.

    Err, just a question..... Why ole on a simple csv ? Why not stay with VB if you reaaaally want to use ole ? Gimme me a shout if you want to know how to do this in perl... [ponder]KrK
  5. krkX

    extracting table along with HTML tags

    It sorta depends how you are reading your data, If you are using a filehandle, then start reading/buffering from <table till you find a </table> If i'ts in a var, then you could use a single regex in a while loop to ectract all the tables in your html. [ponder]KrK
  6. krkX

    Files younger than 24 hours old

    foreach( glob("/tmp/log*") ){ print "$_\n" if ((time - (stat($f))[9]) > 86400)); } So now you have some to choose from ;) [ponder]KrK
  7. krkX

    How do I call a subroutine with in Perl Module?

    Could be wrong here, but I alway's make sure that my "package" name is identical to the filename. So if I have testMod.pm it would be defined as : package testMod In the actual pl file i call it as: use testMod and then tesMod::<function> [ponder]KrK
  8. krkX

    PERL : save JPEG images

    I'd suggest using dbi, and save using a normal filehandle. Make sure that if you are using windows, taht you use "binmode". Gimme a shout if you dunno how to dbi to your dbs. [ponder]KrK
  9. krkX

    backspacing mistakes in interactive perl script

    How are you reading from prompt? STDIN ? [ponder]KrK
  10. krkX

    Menu not aligning in different resolutions

    That's nasty isn't it... You have to reverse enum the parent pos to fix that. Drop me an e-mail and i'll send you a script that positions menu's where ever on whatever resolution. (script works on netscape/mozilla and IE) krk [ponder]KrK
  11. krkX

    getElementsBy(what options)?

    getEmelementById iterate trhough the results..(for loop) [ponder]KrK
  12. krkX

    I need a directory listing script!!

    # See code below... # hope that helps.. # save code as cgi...or pl.. use strict; my $out_file = "myfile.htm"; #change my $dir = "yourdir"; # on win os make sure you double # eg c:\\winnt\\etc... open(FH, ">$out_file") ||die "Boo boo"; opendir(DH, $dir) ||die "boo boo"; while($file =...
  13. krkX

    Take variable name as hash name in multidimensional hash

    What is your goal ? Is 3 dimensions really needed ? [ponder]KrK
  14. krkX

    WinNT NIC Info

    No, worries... Thanks for helping, I'll continue my struggle to get the info from somewhere. [ponder]KrK
  15. krkX

    WinNT NIC Info

    That would do the trick for monitoring performance (actual speed). But I am trying to get the "set values", as they appear in the NIC settings. My problem is that the values are in the registry, but unlike w2k, there are no enum's to get corresponding values. I think these values are in the NIC...

Part and Inventory Search

Back
Top