Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!jarthur!uunet!tkna!alan From: alan@tkna.tkna.com (Alan Light) Newsgroups: comp.lang.perl Subject: Question regarding variable output formats Message-ID: <1990Dec11.221304.2933@tkna.uucp> Date: 11 Dec 90 22:13:04 GMT Sender: alan@tkna.uucp (Alan Light) Organization: Telekurs (North America) Inc. Lines: 22 I can't seem to use a variable to specify an output format picture. Consider the following code: $myformat = '@<<<<<<<@<<<<<<<<<<<<@<<<<<<<<<<<<@<<<<<<<<<<<@<<<<<<<<<<'; format STDOUT = $myformat $_[0],$_[1],$_[2],$_[3],$_[4] . It seems that the string "$myformat" is included verbatim in the output picture. I'm running perl 3.0 PL 12 -- _______________________________________________ Alan Light uunet!tkna!alan Telekurs (North America), Inc. New York, NY.