Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW

Re: Re: Simple file to array

by FoncÚ (Scribe)
on Jul 08, 2002 at 19:33 UTC ( [id://180288]=note: print w/replies, xml ) Need Help??

in reply to Re: Simple file to array
in thread Simple file to array

Oh, um...would having the @ in the email address cause a problem, or does it assume single quotes? Or, will I have to put single quotes around the email addresses in the outside file?

Replies are listed 'Best First'.
Re: Re: Re: Simple file to array
by FoncÚ (Scribe) on Jul 08, 2002 at 19:40 UTC
    One more thing--would this snippet work, or will it not chomp like that?:
    open( FH, 'addys.txt' ) or die "Couldn't open file: $!"; chomp (my @email_addys = <FH>); close( FH );

Log In?

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://180288]
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others about the Monastery: (9)
As of 2024-04-22 15:33 GMT
Find Nodes?
    Voting Booth?

    No recent polls found