You may try something like:

while(<>) {
    chomp;
    if ($_ eq "b") {
        last;
    } elsif ($_ eq "q") {
        exit;
    } elsif ($_ eq "c") {
        next;
    }
}

I thought that this is a homework question,:)

 Créez votre adresse électronique [EMAIL PROTECTED] 
 1 Go d'espace de stockage, anti-spam et anti-virus intégrés.

Reply via email to