in reply to a regex which can detect if a string have all of some characters

Of course aesthetics always depends on personal taste, but I like the following solution, which has a "functional" flavour:
print( (length(join('',map { $mystring =~ /$_/ ? '' : 'X' } @a)) ? 'not ' : ''), "all letters occur\n");
The idea is to build a string which consists of as many X as there are missing characters. Of course, if you don't like using =~ - maybe because @a might contain characters which have a special meaning in regexp context - you could also write the block inside the map as:
index($mystring,$_) < 0 ? 'X' : ''
-- 
Ronald Fischer <ynnor@mm.st>