Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine

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 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?

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

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (5)
As of 2022-08-08 19:42 GMT
Find Nodes?
    Voting Booth?

    No recent polls found