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

Sory, I should have included more information. What I am wanting to do is something along the lines of this: #!/usr/bin/perl -w $normal = "text here"; $at = "setantae\@eidosnet.co.uk"; $caret = "something^with a caret in"; write STDOUT; format STDOUT = login1 is jamie@site1.com login2 is jamie@site2.com this is a caret: ^ more text here @<<<<<<<<<<<<<<<<<<<<<<<<<<<<< @<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< @<<<<<<<< $at, $caret, $normal . The lines containing the @ and the ^ are printed as a header.

Replies are listed 'Best First'.
RE: RE: Escaping an @ or a ^ in a format
by setantae (Scribe) on Feb 08, 2000 at 08:00 UTC
    Hmm, any chance you could rewrite this using CODE tags - it'll help
    Check out Perl Monk procedures for more info.