Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:

try this:
$test = "blah blah"; format NAME = : : @||||||||||||||||||||||||||||||||||||||||||||||||||||||||||| + : : $test . print(NAME);
# doesn't work, change the handle to STDOUT works fine..is # this some bug?

Edit by tye

Replies are listed 'Best First'.
Re: using Format
by no_slogan (Deacon) on May 08, 2001 at 02:06 UTC
    Open NAME first. Use write().
Re: using Format
by damian1301 (Curate) on May 08, 2001 at 02:06 UTC
    You are supposed to write that...

    Tiptoeing up to a Perl hacker.
    Dave AKA damian