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

Re: Re: I/O problems...what am I missing?

by slife (Scribe)
on Sep 16, 2002 at 12:57 UTC ( [id://198232]=note: print w/replies, xml ) Need Help??


in reply to Re: I/O problems...what am I missing?
in thread I/O problems...what am I missing?

"$control = @score; should be $control = $#score + 1; to get the size of the array"

These statements are equivalent (since evaluating an array in a scalar context gives its length). Camel 3rd ed. p76 refers.

Some have argued that the former is preferable (e.g. see MJD's comments).

  • Comment on Re: Re: I/O problems...what am I missing?

Replies are listed 'Best First'.
Re: Re: Re: I/O problems...what am I missing?
by psychoto (Novice) on Sep 17, 2002 at 16:46 UTC
    You guys are my heroes! I love you! Thanks

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others admiring the Monastery: (4)
As of 2024-04-19 06:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found