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 bkrike 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 sherzodR

  1. sherzodR

    Masking a user from my site

    Another way of tricking your restrictions may be through anonymous surfer: http://anon.handalak.com But it still cannot help anyone to hijack someon'e username/passwords. It only hides ones identity from the destination server Sherzod Ruzmetov http://author.handalak.com
  2. sherzodR

    Operator overloading: anyone with experience?

    If you are the one with some experience in operator overloading in Perl, I may need your help :-) Today I tried it for the first time, and there are some questions I still could not answer. And they don't seem to be documented anywhere either. If anyone's willing to take a look at it...
  3. sherzodR

    stat question

    A small correction. Replace "localtime($stat->mtime)" with "scalar(localtime($stat->mtime))". Here is a working full script you can simply copy/paste and test out: #!/usr/bin/perl -w use strict; use IO::Dir; use Fcntl ':mode'; tie my %files, "IO::Dir", '.' or...
  4. sherzodR

    stat question

    The problem with your code is, you're also trying to stat directories "." and "..". Instead, consider the following code using "IO::Dir" and "Fcntl" tie my %files, "IO::Dir", $directory or die $!; while ( my ($file, $stat) = each %files ) {...
  5. sherzodR

    Missing Module HTTP::Cookies::Netscape

    As for the HTTP::Cookies::Netscape being part of HTTP::Cookies, not any longer. Now you simply should be able to say "require HTTP::Cookies::Netscape". But you need to install ::Netscape first. As for the cookie support in your scripts, you don't have to use ::Netscape at all. You...
  6. sherzodR

    Perl SendMail Bounce Emails Question

    Does your newsletter application uses .procmailrc or .forward files to listen to incomming emails? In that case that's where you need to install a log to monitor your traffic.
  7. sherzodR

    Too many if statements!!

    You need to untaint your variable, either "$user" or "$date". At least one of them is comming from an environment which is not under the control of this script. Dirty fix is to get rid of "-T" switch (not recommended). Recomended fix is to use regex to reassign the...
  8. sherzodR

    editor for perl

    I love editplus! http://www.editplus.com It cost $30 when I purchased it about 3 years ago, but it is worth it. P.S. Speaking of editors, there is the clash of editors quickvote running at http://author.handalak.com Donate a click, if you can :)

Part and Inventory Search

Back
Top