[Chicago-talk] humbling question
Jonathan Rockway
jon at jrock.us
Thu Sep 20 11:52:38 PDT 2007
On Wed, 2007-09-19 at 06:18 -0700, Richard Reina wrote:
> print $i . " " . $name . " " $f_name . " " . $l_name . " " .
> $ph ."\n";
One minor nit: perl will interpolate inside of double-quoted strings, so
you could save yourself a lot of typing by writing:
print "$i $name $f_name $l_name $ph\n";
Much cleaner, eh?
(And BTW, in Perl 5.10, you won't need the "\n" either. You can just
say: 'say "$i $name $f_name $l_name $ph"'. Nice.)
Regards,
Jonathan Rockway
More information about the Chicago-talk
mailing list