Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: Syntax error in using do-until loop: How can I fix it?

by jwkrahn (Monsignor)
on Jul 16, 2012 at 18:18 UTC ( #982054=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    $sentence=~ s/\s//igs;
    
  2. or download this
    my @four=$sentence=~ /[a-zA-Z]{4}/igs; # Line 9 
    
  3. or download this
       my $length=length($word);
    
  4. or download this
    unless (open(RESULT,">$output")){
    
  5. or download this
    } until ( my $word=~ /^.*$/); # Line 22  
    
  6. or download this
    #!/usr/bin/perl
    use warnings;
    ...
        }
    close RESULT;
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (9)
As of 2014-09-21 13:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

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











    Results (171 votes), past polls