Re: handling undef better

2005-12-17 Thread Sebastian
. - sebastian On 12/17/05, Uri Guttman [EMAIL PROTECTED] wrote: LP == Luke Palmer [EMAIL PROTECTED] writes: LP Actually, you can think of undef pretty much as defining LP autovivification. If you use it as a number, it becomes a number; if LP you use it as a string, it becomes a string

Re: handling undef better

2005-12-16 Thread Sebastian
into executing the sub in a try/catch such that if the undef error occurs, undef is returned - sebastian On 12/16/05, Darren Duncan [EMAIL PROTECTED] wrote: Something else I've been thinking about, as a tangent to the relational data models discussion, concerns Perl's concept of undef, which I

Re: handling undef better

2005-12-16 Thread Sebastian
) to to define the behavior of all undefs declared within the given scope. Since each undef is a magic object, it doesn't lose its effect when undef variables are passed to methods enforcing different undef behaviors because it carries the behavior from whence it was defined. On 12/16/05, Sebastian [EMAIL

Re: Hyphens vs. Underscores

2005-11-16 Thread Sebastian
or says. Looking for some_code_like_this() in a place that uses some-code-like-this() might be troublesome. - sebastian On 11/16/05, Daniel Brockman [EMAIL PROTECTED] wrote: I'm not a Lisp weenie. However, I have always preferred hyphens over underscores, and I have always preferred identifiers

Re: Perl6 perlplexities [was: Re: $1 change issues...]

2005-11-04 Thread Sebastian
al). As long as p6 isn't taking away from any of the functionality or DWIMery I won't have any objections - Sebastian

Re: $_ defaulting for mutating ops

2005-10-25 Thread Sebastian
I think it'd be great if +=, ~=, +=, ++, etc, could all assume $_ on their LHS when there is no obvious operand. It'd be nice to have these, but is it something that can wait? I wouldn't mind if more effort was spent on other pieces if this can be easily done in the future - sebastian

Re: new sigil

2005-10-20 Thread Sebastian
Please let that the sigil looks like a certain leter not be a reason. Juerd They make for good mnemonics, which isn't necessarily a bad thing for people coming from languages without them or with fewer - sebastian