in reply to Re: Data not getting stored in an array
in thread Data not getting stored in an array

Thanks Wind,I figured that out,what I am not able to figure out is ,how to fix the regex to store all .lib,.lib.1,.lib.2.....etc.Can you please help?

  • Comment on Re^2: Data not getting stored in an array

Replies are listed 'Best First'.
Re^3: Data not getting stored in an array
by wind (Priest) on Apr 24, 2011 at 23:36 UTC
    By /\.lib(?:\.\d+)?$/ or more explicitly:
    find(sub { push @libs, "$_\n" if -f && /\.lib(?:\.\d+)?$|serport|serport_d/ & +& !$seen{$_}++; }, "$options{data}");