Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
but not this line: if ($words[1] =~ /^\/) is "\" a special character? is there any way to make it so that i can use it? quotes? etc? i had thought about parsing through and removing the first letter of the string and storing it-- then going through and seeing if they were "\"'s. But i wasn't sure if it would give me the same problem. THANK YOU FOR YOUR HELP!!!if (($words[1] eq 0) or ($words[1] =~ /s_/) or ($words[1] =~ /jkbrb/) or ($words[1] =~ /adiode/) or ($words[1] =~ /jkbrb/) or ($words[1] =~ /buftd/) or ($words[1] =~ /bh01d1/) or ($words[1] =~ /cload1/))
Edit: chipmunk 2001-06-18
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: is "/" a special character when using substrings??
by runrig (Abbot) on Jun 19, 2001 at 01:27 UTC | |
by tye (Sage) on Jun 19, 2001 at 02:03 UTC | |
by Masem (Monsignor) on Jun 19, 2001 at 02:12 UTC | |
by tye (Sage) on Jun 19, 2001 at 02:15 UTC | |
|
Re: is "/" a special character when using substrings??
by dimmesdale (Friar) on Jun 19, 2001 at 01:45 UTC |