Im confused with whole thing can oyu explain in words how it does it.$regex = join('|', map{"\\.$_" }@edittypes); inerror("You can only edit \"@edittypes\"") unless /$regex/i;
In reply to Re: Re: Ahh the map function
by Anonymous Monk
in thread Ahh the map function
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |