Results for "Array"

Tags

  • Sequential number arrays @arrayVal = (1 .. 10); #Perl #Array #Sequential

    Tags: Perl, Array, Sequential

    3498 days ago

  • Perl way to check if an array contains values

    Perl is always is known for their flexibility (There is more than one way to do it). Followings are the quick way to check if a value exist in an array. do_something if 'flour' ~~ @ingredients   # ~~ operand.   BEWARE: it is broken.do_something if grep {$_ eq 'flour'} @ingredients ...

    Tags: Perl, Tricks, Array, Find, Check

    2597 days ago

  • Store all files in a array using perl: my @filesbwa = <$base_name/reads/$base_name.$library.bwa.*fa> #Store #Keep #Array #Perl

    Tags: Store, Keep, Array, Perl

    2325 days ago

  • Perl References https://gist.github.com/afair/2402068 #Perl #Reference #Array #Hash

    Tags: Perl, Reference, Array, Hash

    1519 days ago