March 2002 | Perl Hardware Store | 32 |
@t = ('x', ' ', '=', ' ', '3.4', '& ', 'y', '', '=', '', '5')
Now print @t yields
x = 3.4& y=5
Hard to tell what the list elements are!
print "@t" is even worse!
x = 3.4 & y = 5
Solution:
$" = ')('; print "(@t)";
(x)( )(=)( )(3.4)(& )(y)()(=)()(5)
Next | Copyright © 2002 M-J. Dominus |