Velocity Reviews

Velocity Reviews (http://www.velocityreviews.com/forums/index.php)
-   Perl Misc (http://www.velocityreviews.com/forums/f67-perl-misc.html)
-   -   Newbie help on a script or command (http://www.velocityreviews.com/forums/t886186-newbie-help-on-a-script-or-command.html)

Mark 04-28-2004 02:39 PM

Newbie help on a script or command
 
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.

Paul Lalli 04-28-2004 02:49 PM

Re: Newbie help on a script or command
 
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


All times are GMT. The time now is 01:58 PM.

Powered by vBulletin®. Copyright ©2000 - 2013, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57