in reply to Are formats in perl useful?

Says ehdonhon:
Are there tricks to make this feature more useful...?
Instead of using format and write, use formline and $^A. That gets you around the strict vars problems, and it's more flexible. It also avoids having to mess around with $^ and $~.

--
Mark Dominus
Perl Paraphernalia

Replies are listed 'Best First'.
Re: Re: Are formats in perl useful?
by runrig (Abbot) on Mar 31, 2002 at 05:18 UTC
    Yeah, I was so happy about finding out about formline and $^A, and so few (yet knowledgeable) monks (that were online) at the time seemed to know about them, that I wrote a node about it :-)
    ----------
    ooo  O\O  ooo tilly was here :,(
Re: Re: Are formats in perl useful?
by Kanji (Parson) on Mar 31, 2002 at 05:16 UTC