in reply to How to download data from a table in Sybase and save the data in text file format using Perl?
That said, I would definitely change this:
$str = $ctr .= $tb .= $total .= $tb .= $sensible .= $tb .= $model .= $ +nl;
to this:
$str=join($tb,$ctr,$total,$sensible,$model).$nl;
Or you could get rid of the possibly unnecessary variables and do this:
$str=join("\t",$ctr,$total,$sensible,$model)."\n";
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Re: How to download data from a table in Sybase and save the data in text file format using Perl?
by rcsyee (Initiate) on Jun 11, 2001 at 06:24 UTC |