The stupid question is the question not asked | |
PerlMonks |
Re: Shell Menu Code Reviewby Chmrr (Vicar) |
on Jul 25, 2002 at 19:14 UTC ( [id://185293]=note: print w/replies, xml ) | Need Help?? |
If this is meant to restrict user access (ie users are not allowed a command line) then you might want to be more leery about your system("ppp -direct $server") -- what if they type "some.server.org && bash" as the server to connect to? The multiple argument form of system will tend to avoid such problems. Other than that, looks good. perl -pe '"I lo*`+$^X$\"$]!$/"=~m%(.*)%s;$_=$1;y^`+*^e v^#$&V"+@( NO CARRIER'
In Section
Seekers of Perl Wisdom
|
|