Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

darkphorm's scratchpad

by darkphorm (Beadle)
on Jun 02, 2004 at 18:37 UTC ( [id://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
Domain Nodelet?
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others imbibing at the Monastery: (4)
As of 2024-04-19 03:38 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found