in reply to Escaping an @ or a ^ in a format

Apparently (according to perlform), you can escape a "^" or a "@" like this:
format Ident = I have an @ here. "@" .
That said, though, I'm not sure that you want to be writing normal (non-formatted data) into the format.

According to perlform, one format line should contain either: a comment; a "picture" line describing a format; an argument line giving the values to plug into the previous picture line.

So perhaps you should just use print statements, or investigate the use of format headers, instead?

Replies are listed 'Best First'.
RE: Re: Escaping an @ or a ^ in a format
by btrott (Parson) on Feb 08, 2000 at 23:04 UTC
    A followup: when I wrote to use print statements "instead", I meant instead of the non-formatted data (like header information); you can alternate print and write statements, I believe.