Hawkes, Mick I wrote:
Went to the exegesis7 link and that format will do though I do have some
questions about it
(I am a newbie to Perl after all :-))
from the site
So, whereas in Perl 5 we might write:
# Perl 5 code...
our ($name, $age, $ID, $comments);
format STDOUT
===================================
| NAME | AGE | ID NUMBER |
|----------+------------+-----------|
| @<<<<<<< | @||||||||| | @>>>>>>>> |
$name, $age, $ID,
|===================================|
| COMMENTS |
|-----------------------------------|
| ^<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< |~~
$comments,
===================================
.
write STDOUT;
how do I convert this from writing to STOUT to writing to a string. Is it just
format $mystring ?
up until now I have only been using \t and \n. I have no clue what Q<|^ and ~ do!
perldoc perlform
John
--
use Perl;
program
fulfillment
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>