in reply to How to extract special charachetrs like <=, >= != from string

There is a named posix class [[:punct:]]for characters such as these which are none of \w, whitespace nor control characters. See perlrecharclass

Update:

my @puncts = /([[:punct:]]+)/g;

One world, one people