Search Results

Search found 1 results on 1 pages for 'ahdee'.

Page 1/1 | 1 

  • Perform regular expression on a PERL PDL variable

    - by Ahdee
    is it possible to perform a regular expression on a n-dimension PDL variable? For example I can add 100 to all the element by doing $a1 = pdl [1,2]; print $a1+100; However what if my array was a bunch of string that I would like to perform some task on, for example this fails. $a = pdl ['suze','david']; $a =~ s/suze/female/; print $a; not sure if this is even possible but thanks in advance. Ahdee

    Read the article

1