Domain Name Forum

Domain Name Forum (http://www.domainnameforum.org/index.php)
-   Perl (http://www.domainnameforum.org/forumdisplay.php?f=129)
-   -   limit characters possibility for perl script with parameter (http://www.domainnameforum.org/showthread.php?t=126406)

webdev 09-24-2010 02:45 AM

limit characters possibility for perl script with parameter
 
Hi, I have to make a script with parameter that limits the character. This is the code snippet So script.pl -teacher [string] where teacher should only be allowed of [A-Za-z0-9_-]# , if not, print error message which is "error". Other thing is that, the parameter -teacher have to follow the...


All times are GMT -4. The time now is 12:14 PM.

Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.