Hi ppl,

I have a some code that reads in a file, and then i have some if
statements.  The if statement i want to change is

if (($DeviceType eq "Switch") || ($DeviceType eq "Router") ||
($DeviceType eq "Hub") || ($DeviceType eq "Access point"))


what i would like to do is check each device type with where the first
letter is uppercase or lowercase

i have tried a few regex syntax but i'm not getting there :(

any advice for a beginner please

thanks
Dal


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to