>>>>> "MO" == Miko O'Sullivan <[EMAIL PROTECTED]> writes:
MO> Give split an option to keep the delimiters in the returned array perl5 can already do that. just wrap the delim part in parens and split will return them. also by using a lookahead/behind as the regex split won't strip out that text and it will be returned but attached to the text next to the delimiter. MO> Set preferred boolean string for scope MO> In Perl5, if you use a boolean expression (e.g. $x==$y) you get back 1 for MO> true and an empty string for false. That makes sense, of course, but I've MO> always preferred 1 for true and 0 for false. I generally use exactly only MO> those two values for true and false in my databases, and I find I'm forever MO> writing things like ($x==$y ? 1 : 0) to tidy up my booleans. do these instead: $bool += 0 ; ($x == $y) + 0 :) MO> Push with [] MO> @arr[] = $var; MO> The expression above would be exactly equivalent to MO> push @arr, $var; push is just fine with me. uri -- Uri Guttman ------ [EMAIL PROTECTED] -------- http://www.stemsystems.com ----- Stem and Perl Development, Systems Architecture, Design and Coding ---- Search or Offer Perl Jobs ---------------------------- http://jobs.perl.org