in reply to I can't find anything
I think if you check out perlfunc and the section with the functions that start with a -, specifically -M, you will find something usable.
As others have noted, you will benefit from playing around with these functions, there are 27 of them, and possibly have some fun meanwhile.
HTH
|
|---|