On Thursday, May 30, 2002, at 01:13 , Jakob Kofoed wrote:

> format STDOUT =
> @>>>>>>>>>> @>>>>>>>>> @>>>>>>>>> @>>>>>>>>> @>>>>>>>>> @>>>>>>>>>>
> $$a,$b,$c,$d,$e,$f


well ok, so to cheat I had to do

        perldoc -f write
        perldoc -f format

since I have not done this in sooooo long....

you will probably also want to do perldoc select
so that you can know how to set the Default output file descriptor.

but lets start small and work up - assume that we loaded this in
from a file - like you asked, then what you want would be a simpler

http://www.wetware.com/drieux/pbl/perlTrick/introToFormat.txt

it helps to have those use strict and -w in play,
since you want to load up the values that you want to
'write' and then call write....


ciao
drieux

---


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to