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

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
    use warnings;
    close RESULT;

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (4)
As of 2016-02-06 01:32 GMT
Find Nodes?
    Voting Booth?

    How many photographs, souvenirs, artworks, trophies or other decorative objects are displayed in your home?

    Results (212 votes), past polls