You can, of course, do something crazy, and search for 'shell', or 'interactive' on
CPAN - maybe someone's been through this before.. it may also reduce the probability that one day one of your users will type
innocent 'not_really; rm -rf ~/*'
and walk away whistling...
seriously, though, read more; ask only when you can show you've put some effort into it...