in reply to print out keys of hash with carriage returns

One way is to set the output record field seperator,

{ local $, = "\n"; print RPTOUT keys(%tapeid), "\n"; }
You could instead call join "\n", . . . on the keys.

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

    ...one minor correction, $, is output field serperator, $\ is output record serpperator.