in reply to system or perl function ?

I nearly always prefer using the perl-functions because of the following reasons:

Reasons for system calls might be:

But you have to decide what to use, for it's your code :-)

Best regards,
perl -le "s==*F=e=>y~\*martinF~stronat~=>s~[^\w]~~g=>chop,print"