On 05 Jul 2001 11:31:32 -0400, F.H wrote:
> Hi,
> I'd like to be able to print a string at a specific location . Is there any function
>that does that.
> $test = "abcd';
> I want to print $test at position 20-25.
> I appreciate if someone can help
>
> Thanks
> I.S
> __________________________________________________________________
> Get your own FREE, personal Netscape Webmail account today at
>http://webmail.netscape.com/
>
Okay, let me take another shot at it: you want a format:
while (<>) {
my ($number_var, $test, $centered_var) = split;
write;
}
# 1 2 3 4 5 6 7
#234567890123456789012345678901234567890123456789012345678901234567890
format STDOUT =
@########## @<<<<< @||||||||||||
$number_var $test $centered_var
.
Take a look at "perldoc -f write" and "perldoc -f perlform".
--
Today is Sweetmorn, the 40th day of Confusion in the YOLD 3167
Or is it?