
SherwinJohn
New User
Jul 12, 2005, 10:55 AM
Post #1 of 8
(2849 views)
|
|
how to make my script case sensitive
|
Can't Post
|
|
hi ppl, i'm trying to run a win2 resource kit using perl's switch statement ..i have several options, one of this is if ($choice =~ /^0|pulist/i){ @pulist = `pulist -a`; print "@pulist"; last SWITCH; please help me how to make this "/i" to case sensitive the output should be an atom starting with option 0 only..everytime i click 01, 02, 03..and so on.. it still accepts it as 0, well in fact, it should restrict it, I want my script to match "0" only, is there any mistake with the use of "i"
|