Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: Re: Simple file to array

by FoncÚ (Scribe)
on Jul 08, 2002 at 19:33 UTC ( #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?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (4)
As of 2023-03-26 02:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Which type of climate do you prefer to live in?






    Results (63 votes). Check out past polls.

    Notices?