Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

darkphorm's scratchpad

by darkphorm (Beadle)
on Jun 02, 2004 at 18:37 UTC ( #359638=scratchpad: print w/replies, xml ) Need Help??

So how come this works...
do { my $line = $sock->getline(); $line =~ s/\n//g; #trim off any newline characters if ( $line eq $completion_line) { $completion=1; } else { push(@items, $line); print("Line: \"$line\"\n"); $sth->execute($backup_archive,$line) or die("Could not perform + query: " . $sth->errstr); } } until ( $completion == 1);
But a final line of this causes the loop not to terminate??
until( $line eq $completion_line );
Log In?
Username:
Password:

What's my password?
Create A New User
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (6)
As of 2019-06-27 08:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Is there a future for codeless software?



    Results (111 votes). Check out past polls.

    Notices?