>>>>> "J'P" == Jeff 'japhy' Pinyan <[EMAIL PROTECTED]> writes:

  J'P> I know I'm being pedantic, but about a year ago or so, someone mentioned
  J'P> that it should probably be a warning-producing stunt to write:

  J'P>   $x = $y || return;

  J'P> because it "implies" that $x will get return()'s return value.  But I'm
  J'P> being pedantic, and that's probably no fun.

then use 'or'. it removes that implication as the assignment will happen
first. but it should slow things down as you make an unnecessary
assignment.

uri

-- 
Uri Guttman  ------  [EMAIL PROTECTED]  -------- http://www.stemsystems.com
-- Stem is an Open Source Network Development Toolkit and Application Suite -
----- Stem and Perl Development, Systems Architecture, Design and Coding ----
Search or Offer Perl Jobs  ----------------------------  http://jobs.perl.org

Reply via email to