Sunday, March 17, 2002, 12:18:01 AM, Dave Chappell wrote: > Thanks. I got lots to learn about perl, thinking for the 2 hours I was > trying to solve my issue with chomp and split. I have began disecting your > reponse to learn from it. One question, the last print statement:
> print $_ . "\n"; > what is the significance of the . ? when I remove it nothing is displayed It's the concatenation operator: my $greeting = "Hello"; print $greeting . " world!\n"; Often you can use variable interpolation (ie print "$greeting world\n"; but there's many times you don't want to. I'd recommend a copy of "Learning Perl" by Schwartz and Phoenix, as the publishers say: Learning Perl is the quintessential tutorial for the Perl programming language. The third edition has not only been updated to Perl Version 5.6, but has also been rewritten from the ground up to reflect the needs of programmers learning Perl today. Other books may teach you to program in Perl, but this book will turn you into a Perl programmer http://www.oreilly.com/catalog/lperl3/ -- Best Regards, Daniel [EMAIL PROTECTED] -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]