in reply to Re^3: printf syntac
in thread printf syntac
do i need another loop or a hash to form the data ?ONE TWO THREE 1 2 3 but what i want to look like is : ONE 1 TWO 2 THREE 3
open WRITEFILE , ">>$time.txt" or die "write error\n"; my $format = " %10s\n" x @totalexpenses . "%10s\n" x @totalcosts; printf WRITEFILE $format, @totalexpenses , @totalcosts; close WRITEFILE; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: printf syntac
by FunkyMonk (Bishop) on Sep 29, 2007 at 10:12 UTC | |
by props (Hermit) on Sep 29, 2007 at 20:10 UTC | |
|
Re^5: printf syntac
by graff (Chancellor) on Sep 30, 2007 at 00:27 UTC |