Re: RFC 319 (v1) Transparently integrate C

2000-09-29 Thread Alan Gutierrez
e it seems that the optimizations apply to the C< package int; > only. Are we suggesting that optimizations should be localized? Can I C< use optimize 'memory' > in one package and C< use optimize 'CPU' > in another? Do optimizations have block scope? I like C< use less >. I trust that perl6 will DWIM. Alan Gutierrez

Re: RFC 279 (v1) my() syntax extensions and attribute declarations

2000-09-26 Thread Alan Gutierrez
I'd prefer to see private and laccess as functions. private $r->{name} = 'Nate'; laccess $s->{VAL} = ''; And as far as the :shared modifier goes I much prefer the our keyword. Alan Gutierrez

Re: RFC 288 (v1) First-Class CGI Support

2000-09-26 Thread Alan Gutierrez
about pulling some functions from a module to the core. And for no real good reason. Is query string parsing or header processing so time consuming that it must be implemented in C? For any sizeable application input and headers will not be enough. You'll need cookies and redirection certainly. At which point you will load CGI.pm anyway (if you are bothering to create this in classic CGI). Tainting sure. Functions no. Alan Gutierrez

Re: RFC 23 (v5) Higher order functions

2000-09-21 Thread Alan Gutierrez
holders, positional placeholders begin with ^1 so that ^1 == $_[0]. If this doesn't make sense to it is probably because you are new to Perl and are not familiar with regular expressions, but we did things this may to make it easier for you to understand (assuming you read the regex chapter of the Camel before the curry chapter.) Alan Gutierrez