Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: Formatting and write help

by amarquis (Curate)
on Apr 15, 2008 at 01:45 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://680412]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (None)
    As of 2024-04-25 01:13 GMT
    Sections?
    Information?
    Find Nodes?
    Leftovers?
      Voting Booth?

      No recent polls found