There’s a feature in perl, which I like (pls don’t flood
You can place an extra comma after the last element, so eg. in ruby
a= [1,2,3,] wouldn’t generate error message.
Is it possible?
It can be handy, if the elements are long, and you must not worry about
it is the last element, or not.
Err, yes it works exactly like that in Ruby - try it!
Brian.
···
On Mon, Apr 28, 2003 at 09:39:47PM +0900, KONTRA Gergely wrote:
There's a feature in perl, which I like (pls don't flood
You can place an extra comma after the last element, so eg. in ruby
a= [1,2,3,] wouldn't generate error message.
Is it possible?
There’s a feature in perl, which I like (pls don’t flood
You can place an extra comma after the last element, so eg. in ruby
a= [1,2,3,] wouldn’t generate error message.
Is it possible?
There’s a feature in perl, which I like (pls don’t flood
You can place an extra comma after the last element, so eg. in ruby
a= [1,2,3,] wouldn’t generate error message.
Is it possible?
It can be handy, if the elements are long, and you must not worry
about
it is the last element, or not.
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo.