This kinda goes along with my other post but I want to do a while loop that goes until ti finds the end date
I know in an if statement I can use =~ to see if it contains a certain piece.
What I want to know is if there is a doesn't contain, something like (!=~)??
If not, what else could I use like that?
basically I want to do something like this:
if($word =~ $begin) {
while($word !=~ $end) {
print "$word ";
}
}
I know in an if statement I can use =~ to see if it contains a certain piece.
What I want to know is if there is a doesn't contain, something like (!=~)??
If not, what else could I use like that?
basically I want to do something like this:
if($word =~ $begin) {
while($word !=~ $end) {
print "$word ";
}
}