$/) {
unlink($filename) && print "File '$filename' has been deleted.\n";
}
This requires the user to hit y or Y and then ENTER. It is possible to
do this without the enter but it takes more work.
--
Kirk Bauer <[EMAIL PROTECTED]>
http://linux.kaybee.org |
On Thu, 9 Dec 2004, Bakken, Luke wrote:
> Or modules for that matter. When I first read the eval trickery my first
> thought was "WHY???".
Well, I have a set of script files. Each file is split into an init
section and several different scripts. The init section is eval'd right
away and each sc
n try to put together some code for you.
Thanks!
--
Kirk Bauer <[EMAIL PROTECTED]>
http://linux.kaybee.org | www.autorpm.org | www.logwatch.org
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>
t;;
}
};
Any help with this, pointers to other mailing lists, or alternative
approaches would be greatly appreciated.
FYI the strings being eval'd come from external files that are split
into section and are eval'd in several pieces.
--
Kirk Bauer <[EMAIL PROTECTED]>
ht