Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

Journal of ambs (3914)

Sunday February 01, 2004
04:36 PM

Again, Ruby

[ #17141 ]
Tried it a little (30 minutes), so I didn't messed up with objects nor threads, but in these 30 minutes what I liked:

5.times { ... }
5.upto(20) { ... }

At least the first one, if possible to use with an integer variable $nr.times{...} it could have some use. The same for the second... easier to read than a typical C for but so easy as a for(5..20) perl for.

What I didn't like, was to use the sin function. Some print 3.4.sin does not work as expected.

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.