when grabbing data either from the thread-safe queue or from <>, I should be using //, not ||

Ignore-this: 853ee4746850b2da83006e06ea4dc82b

darcs-hash:20091206222252-0cb85-cbe476e37cd152cf1952356df6534ab4fd2a4e3d.gz
This commit is contained in:
Dima Kogan 2009-12-06 14:22:52 -08:00
parent 747d620b48
commit 59fdc08dc6

View File

@ -190,7 +190,7 @@ sub mainThread {
my $numRE = qr/([-]?[0-9\.]+(?:e[-]?[0-9]+)?)/; my $numRE = qr/([-]?[0-9\.]+(?:e[-]?[0-9]+)?)/;
my $xlast; my $xlast;
while( $_ = ($dataQueue && $dataQueue->dequeue()) || <> ) while( $_ = ($dataQueue && $dataQueue->dequeue()) // <> )
{ {
if($_ ne "Plot now") if($_ ne "Plot now")
{ {