Re: RFC 262 (v1) Index Attribute

2000-09-20 Thread Webmaster
David Nicol Wrote in RFC 262: >foreach $item (@items){ >#print "$item was at location ",$item:n,"\n"; >print "$item was at location ${item:n}\n"; >}; What would really be nice here is an C function, similar to the scalar version, that returns the index of the matching entry in a list. For instanc

Re: RFC 262 (v1) Index Attribute

2000-09-20 Thread Webmaster
Graham Barr Wrote: >Well if there ever is a way to shortcut grep this could be genera;ized >to > > my $index = grep { break if $_ eq $seek; 1 } @items; Wouldn't this also assume that grep return the number of times the block was NOT true, rather than it's current implementation of the number of

Re: RFC 168 & 267 regarding builtins...

2000-09-21 Thread Webmaster
Both RFC 168 & 267 complain about the inability to override builtins. What if p6 simply require all user defined functions to be called using the &func syntax, and that builtins require the bareword syntax? This way any builtin could be overridden and it would be immediately recognizable as an ove

Re: RFC 313 (v1) Perl 6 should support I18N and L10N

2000-09-26 Thread Webmaster
Simon Cozens [EMAIL PROTECTED] Wrote: >Perl 6 needs some kind of internationalisation and therefore message >catalogue support. Really needs, with great urgency. Doesn't RFC 85 address this to some extent? By offering up 'error codes' can't the programmer just "insert-test-here"? Then again, if 8

proposed RFC. lindex() function...

2000-09-25 Thread Webmaster
Anyone want to pick up this? I just don't have the time, but I would like to see it in Perl6. = =head1 TITLE Builtin list context lindex() function =head1 VERSION Maintainer: NA <[EMAIL PROTECTED]> Date: 09 SEP 2000 Version: 0 Mailing List: perl6-language Numb

Forking multiple socket connections

2000-09-15 Thread webmaster UtopiaNet ISP
My question: using IO::SOCKET, i need to connect to multiple server at once. The server side works very well; it only waits for connections over a fixed IP,port. How can i write the client-side? Please help me!