Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Perl > Perl Misc > Newbie help on a script or command

Reply
Thread Tools

Newbie help on a script or command

 
 
Mark
Guest
Posts: n/a
 
      04-28-2004
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.
 
Reply With Quote
 
 
 
 
Paul Lalli
Guest
Posts: n/a
 
      04-28-2004
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
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to execute a script from another script and other script does notdo busy wait. Rajat Python 3 01-08-2010 02:05 PM
RE: How to execute a script from another script and other script doesnotdo busy wait. VYAS ASHISH M-NTB837 Python 2 01-07-2010 08:18 PM
Re: Command line option syntax error. Type Command /? for Help chuckcar Computer Support 11 04-21-2009 09:59 PM
Re: Command line option syntax error. Type Command /? for Help hwf Computer Support 2 04-19-2009 09:23 PM
Re: Command line option syntax error. Type Command /? for Help Evan Platt Computer Support 1 04-18-2009 10:17 PM



Advertisments