Newbie help on a script or command

Discussion in 'Perl Misc' started by Mark, Apr 28, 2004.

  1. Mark

    Mark Guest

    Windows NT4 with latest perl from activestate.com

    I just need a script (or command for command prompt) that will check for the
    existence of any files in a specific directory. If any files are there, send
    an email to someone.

    This is very simple for me to do in other languages, but Perl is about 10
    minutes old to me at this point. I've done a few web searches for scripts
    without luck (most seem to be cgi stuff).

    Any help is appreciated.
    Mark, Apr 28, 2004
    #1
    1. Advertising

  2. Mark

    Paul Lalli Guest

    On Wed, 28 Apr 2004, Mark wrote:

    > Windows NT4 with latest perl from activestate.com
    >
    > I just need a script (or command for command prompt) that will check for the
    > existence of any files in a specific directory. If any files are there, send
    > an email to someone.
    >
    > This is very simple for me to do in other languages, but Perl is about 10
    > minutes old to me at this point. I've done a few web searches for scripts
    > without luck (most seem to be cgi stuff).
    >
    > Any help is appreciated.


    perldoc -f opendir
    perldoc -f readdir
    perldoc -q "send mail"


    Paul Lalli
    Paul Lalli, Apr 28, 2004
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. San Diego Guy
    Replies:
    0
    Views:
    535
    San Diego Guy
    Aug 7, 2003
  2. Rajat
    Replies:
    3
    Views:
    681
    Jorgen Grahn
    Jan 8, 2010
  3. VYAS ASHISH M-NTB837
    Replies:
    2
    Views:
    544
    Jan Kaliszewski
    Jan 7, 2010
  4. greg f.
    Replies:
    1
    Views:
    93
    Brian Schröder
    Nov 18, 2004
  5. Daryl Rose
    Replies:
    5
    Views:
    120
    Tad J McClellan
    Dec 14, 2007
Loading...

Share This Page