On Wednesday, May 15, 2002, at 08:15 , Barbara Manfredini wrote:
>
> You're perfect!You answered me in a few minutes,fantastic.But there's a
> problem....me.I tried to use those script but nothing.I need to ask you
> some more.Can you be more precise or do somethind simplier for a really
> beginner in perl?Sorry for the time you loose for me.Bye
[..]
there are a couple of issues that may be arising:
a) did you declare all the variables used
b) make sure to use strict and -w
#!/usr/bin/perl -w
use strict;
c) perldoc strict will help
are the lines in the code one line at a time, or possibly
multiple addresses per line - if so you would like to peek at:
http://www.wetware.com/drieux/pbl/email/getDomains.txt
note that I am playing with
use Inline:Files;
so that I do not have to write an external file for this
code illustration. hence you will need to do the
perldoc -f open
perldoc -f close
and know how to do the read stuff correctly.
ciao
drieux
---
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]