From: Nikola Janceski <[EMAIL PROTECTED]>
> I want to make sure that I am using this correctly for efficiency.
>
> I want to use $stuff as a regex but I want to store it in a data
> structure. so when I do use it in a regex will it be more efficient
> than just saying /$stuff/?
Yes. You do use
iteration.
ex:
foreach my $stuff (@stuffs){
$INFO{key1}{regex} = qr/$stuff/;
## do stuff using $INFO{key1}{regex} several times as so:
foreach my $test (@tests){ ## yeah I know I could store @tests as qr
regexs but this is an example
print "somthin