Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?

Re: Simple Perl Backup help

by toolic (Bishop)
on Aug 03, 2012 at 19:30 UTC ( #985332=note: print w/replies, xml ) Need Help??

in reply to Simple Perl Backup help

Another way using perldoc perlre (case-insensitive and only looks at 1st character):
if ( $input =~ /^n/i ) { die "Program is shutting down.\n"; } elsif ( $input =~ /^y/i ) { print "Backup is beginning......\n"; last; }

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://985332]
[GotToBTru]: time for some C8H10N4O2 for me
[ambrus]: GotToBTru: wait, you tell only the atom totals of what you want? Is that like ordering food in a restaurant by telling only the nutrient amounts you need, or
[ambrus]: like when a medieval scientist supposedly proves his priority inventing something by having previously published an anagram of a thousand letters long summary of the invention?
[choroba]: Progress! Nowadays, you can write a Perl script to generate such an anagram!
[GotToBTru]: i like to order my chemicals a-la-carte ambrus ;)

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (8)
As of 2016-12-06 13:04 GMT
Find Nodes?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:

    Results (104 votes). Check out past polls.