Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
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 chanting in the Monastery: (15)
As of 2014-12-22 17:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (121 votes), past polls