Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: Simple Perl Backup help

by moritz (Cardinal)
on Aug 03, 2012 at 19:26 UTC ( #985331=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use 5.010;
    
  2. or download this
        if ($input =~ /^(y|yes)$/) {
            say "Backup is beginning...";
    ...
            say "This is not a valid answer.";
            say "Please enter 'yes' or 'no'";
        }
    
  3. or download this
        if ($input eq 'y' || $input eq 'yes') {
            say "Backup is beginning...";
            last;
        }
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://985331]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (3)
As of 2014-09-21 05:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (166 votes), past polls