in reply to Format Syntax error on "."

See Re^2: stuck on formatting

Replies are listed 'Best First'.
Re^2: Format Syntax error on "."
by bimleshsharma (Beadle) on Feb 21, 2012 at 10:58 UTC
    just put the fieldline of format in quote will fix the issue.
    format STDOUT_TOP = @<<<<<<<<<<<<<<< @|||||||||| @||||| @||||| "User Command CPU Mem%" . $^ = 'STDOUT_TOP'; format STDOUT = @<<<<<<<<<<<<<<< @|||||||||| @##### @##### $user, $cmd, $cpu, $mem .