Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
Re: writing perl function like sql INby kesterkester (Hermit) |
on Aug 30, 2004 at 22:57 UTC ( [id://387061]=note: print w/replies, xml ) | Need Help?? |
The PDL modules have something like this:
perl -MPDL -e '$in = pdl 0..100; $x = 10; print where ( $in, $in == $x )', or
you could roll your own with something like this:
In Section
Seekers of Perl Wisdom
|
|