Front page | perl.beginners |
Postings from December 2002
Broken Pipe on Input?
Thread Next
From:
Balint, Jess
Date:
December 20, 2002 12:11
Subject:
Broken Pipe on Input?
Message ID:
5789A42DD684734298BF9EC852D3511156E4FD@scad1exis02.alldata.net
Hi all. Can anybody tell me why I get a broken pipe on the following? I just
can figure it out. Thanks.
jess
# Get all possible states from the files
open( STATES, "sort $hotline |" )
or cust_die( "Cannot open files to get states
($hotline,$newtofile,$newmover): $!\n" );
while( <STATES> ) {
# Recode missing
# if( m/^$/ ) { $_ = "(blank)"; }
push @states, $_;
}
close( STATES );
Thread Next
-
Broken Pipe on Input?
by Balint, Jess