Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

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

by supriyoch_2008 (Scribe)
on Jul 16, 2012 at 10:12 UTC ( #981995=perlquestion: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl-w 
    ## To chop a sentence at intervals of 4-letter and to print results:
    use strict;
    ...
    } until ( my $word=~ /^.*$/); # Line 22  
    exit;
    }
    
  2. or download this
    Microsoft Windows [Version 6.1.7600]
    Copyright (c) 2009 Microsoft Corporation.  All rights reserved.
    C:\Users\xxxxxxx\Desktop>word.pl
    syntax error at C:\Users\xxxxxx\Desktop\word.pl line 22, near ");"
    Execution of C:\Users\xxxxxxxx\Desktop\word.pl aborted due to compilat
    +ion errors.
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://981995]
Front-paged by Corion
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (7)
As of 2016-06-24 23:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My preferred method of making French fries (chips) is in a ...











    Results (322 votes). Check out past polls.