Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: Formatting and write help

by amarquis (Curate)
on Apr 15, 2008 at 01:45 UTC ( #680412=note: print w/replies, xml ) Need Help??


in reply to Formatting and write help

Curly braces define an anonymous hash reference, you want parens to make a list:

my @addr = ($one, $two);

Edit: Beaten by Ikegami, which seems to be a running theme :).

Replies are listed 'Best First'.
Re^2: Formatting and write help
by negzero7 (Sexton) on Apr 15, 2008 at 02:21 UTC

    Whoops, silly mistake there. Ok, that is fixed, but I am getting this error:

    write() on unopened filehandle CHECK at project3.pl line 63, <STDIN> line 10.

    Now I'm assuming that means that my filehandle CHECK is somehow not initialized or it's not formatted properly to be read. Any help with that one?

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://680412]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (5)
As of 2016-12-10 22:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (165 votes). Check out past polls.