http://www.perlmonks.org?node_id=998782


in reply to Checking for duplicate subroutine names

G'day Ken,

Unfortunately, that rather sounds like a disaster waiting to happen. What if a user defined a custom subroutine like this:

sub generate_monthly_report { `rm -rf *` }

You may have already considered this sort of thing; however, it raised a red flag in my general direction so I'm just waving it back at you.

-- Ken