RE: Beginner's problems

2001-03-15 Thread BP Jonsson
Thanks, I see now what I did wrong. At 14:29 2001-03-14 +0100, Bellenger, Bruno (Paris) wrote: To stay closer to your code, this works : open(IN, "words.txt"); while(IN){ $word = $_ ; $word =~ chomp $word ; print "$word and $word\n"; } The way you did it assigned chomp's return code

RE: Beginner's problems

2001-03-14 Thread Toby Stuart
incorrect! chomp $word; not $word =~ chomp $word ; -Original Message- From: Bellenger, Bruno (Paris) [SMTP:[EMAIL PROTECTED]] Sent: 15/03/2001 12:29 To: [EMAIL PROTECTED] Subject: RE: Beginner's problems To stay closer to your code, this works : open