in reply to print out keys of hash with carriage returns
One way is to set the output record field seperator,
You could instead call join "\n", . . . on the keys.{ local $, = "\n"; print RPTOUT keys(%tapeid), "\n"; }
Update: sth++, corrected.
After Compline,
Zaxo
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: print out keys of hash with carriage returns
by sth (Priest) on Nov 03, 2004 at 19:44 UTC |