F
fatted
Currently I'm comparing the first value of each of the array
references (which are stored in an array reference $ref_ref) as
follows:
if(map($_->[0] =~ /$keyword/i,@$ref_ref))
{
# Do something cunningly clever...
}
What I was wondering about (for no particular reason) is doing
something like:
if(map(/$keyword/i,cool_function(@$ref_ref, 0)))
{
# Do something equally cunningly clever...
}
Any idea's? (or should I get back to work
references (which are stored in an array reference $ref_ref) as
follows:
if(map($_->[0] =~ /$keyword/i,@$ref_ref))
{
# Do something cunningly clever...
}
What I was wondering about (for no particular reason) is doing
something like:
if(map(/$keyword/i,cool_function(@$ref_ref, 0)))
{
# Do something equally cunningly clever...
}
Any idea's? (or should I get back to work