http://www.perlmonks.org?node_id=850750

tart has asked for the wisdom of the Perl Monks concerning the following question:

I am newbie's to Perl and I am wondering if there are any ways to trigger the
execution of (Perl script) without typing command(perl script.pl) or running
through corn job.
I got a file in /home/tart/config.cfg
When some one updates this (config.cfg) file and save his/her updates I want the Perl script (script.pl) to run
Any ideas?
Cheers,
tart

Updates:

JavaFan,
I was wondering if some how I trigger the execution of perl script I was thinking of checking the file modified date!
BUT if its not possible to trigger the execution of perl script then better leave it! just the wild thinking...
thanks,
tart

update
Thanks eighty-one your suggestion appreciate!;-)