annem_jyothsna has asked for the wisdom of the Perl Monks concerning the following question:
But in the text file i see like the below Oct-08,AAMNT,1,24,"","","0.000",EUR,1.0731,"","","0.000", where i don't know why the "" are coming in my report Plz help me in thisforeach my $x ( @finaldata ) { my ($sdrposttax, $reccurposttax); $sdrposttax = &FmtCur3($x->{'sdrposttax'}); $reccurposttax = &FmtCur3($x->{'reccurpotx'}); print FH "$x->{'period'},$x->{'partner'},$x->{'ftsqrg'},$x->{' +ltsqrg'},"; print FH "\"$sdrposttax\","; print FH "$x->{'reccur'},$x->{'recsdrrate'},"; print FH "\"$reccurposttax\","; # Compute the cumulative sum to display in the footer $sum += $x->{'sdrposttax'}; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Writing to text file
by roboticus (Chancellor) on Dec 14, 2010 at 13:59 UTC | |
|
Re: Writing to text file
by locked_user sundialsvc4 (Abbot) on Dec 14, 2010 at 14:26 UTC | |
by Your Mother (Archbishop) on Feb 09, 2018 at 06:58 UTC | |
|
Re: Writing to text file
by Utilitarian (Vicar) on Dec 14, 2010 at 14:37 UTC |