in reply to Format with hash
Begin by renaming your formats to match the currently selected output stream, which is STDOUT by default:
Once that works, read perlform for information on how to define multiple formats and how to change them for the currently selected output stream. If you want to continue to use the names you have, try this:format STDOUT_TOP = MANUFACTER----MODEL . format STDOUT = @<<<<<<< @######## $key, $value .
use English; # less line noise ;-) $FORMAT_TOP_NAME = 'HEADER'; $FORMAT_NAME = 'FLOR';
HTH
|
|---|