Re: short form for (defined $x and defined $y and ... )?



On Sat, 25 Mar 2006 14:33:49 -0500, Uri Guttman <uri@xxxxxxxxxxxxxxx> wrote:

"AS" == Anno Siegel <anno4000@xxxxxxxxxxxxxxxxxxxxxxx> writes:

AS> Unlike Uri, occasionally I do want to verify that all members of a
AS> list (or an array) are defined. I found the behavior of
AS> List::Util::first less than satisfactory in that regard. Nice to
AS> know about firstidx.

i just design so that isn't needed. not too hard i think. there are many
ways of doing things and i try to spend more time picking ones which
don't make me code stuff like that (and other constructs i don't
like. :)

uri

You insinuate a higher intelligence design while using code other folks program...
Pretty soon you won't need to code at all.
And I'm being quite literal. Knowledge of usage of other ppl's code is what your
trying to master whithout knowing the methods.
Doesn't it nagg your brain when people have to write code for you because your
too lazy or stupid to do it yourself?

robic0
.



Relevant Pages

  • Re: short form for (defined $x and defined $y and ... )?
    ... AS> Unlike Uri, occasionally I do want to verify that all members of a ... AS> list (or an array) are defined. ... i just design so that isn't needed. ...
    (comp.lang.perl.misc)
  • Re: random array elements and speed
    ... I suppose the fact that both you and Uri gave rather similar ... JJ> incredibly sensitive to the size of the desired array. ... JJ> then yeah the splice method might well be two or three or four times as ... But the random selection method could be a ...
    (comp.lang.perl.misc)
  • Re: initialize a hash
    ... Paul Lalli schreef: ... keys coming from an array, and all values set to a constant like 1. ... Uri and Anno too of ...
    (comp.lang.perl.misc)
  • doi versus url
    ... several members of our group work together on papers and so on. ... Accordoing to www.doi.org a doi isn't the same as a url. ... uri = "...", ... Bas van Gils - basvgcsrunl ...
    (comp.text.tex)
  • J# 2005 (Express Edition) Frage
    ... Hier kommt mir aber die Doku etwas komisch vor: System.Net.WebClient.DownloadDatasoll ein ubyte Array zurückgeben, steht in der Definition, aber im Object Browser steht unter Returns: ... A System.Byte array containing the downloaded resource. ... Downloads the resource with the specified URI as a System.Byte array. ...
    (microsoft.public.de.vc)