in reply to Re: How do I search and output results to HTML from a CSV database file?
in thread How do I search and output results to HTML from a CSV database file?
Here you see that the perl shorthands improve readibility.while( <FILE> ) { split; print FILE2 join ',' , @_; print FILE2 "\n"; }
And this even compacts to (trading readability a bit):
print FILE2 join( ',', split )."\n" while <FILE>; #or use SuperSplit; print FILE2 superjoin( ',', supersplit_open( $filename ) );
Jeroen
"We are not alone"(FZ)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: How do I search and output results to HTML from a CSV database file?
by ColtsFoot (Chaplain) on May 15, 2001 at 10:58 UTC |