perl match =~

카테고리 없음 2015. 12. 14. 19:47

http://www.perl.com/pub/2000/11/begperl3.html


$user_location = "I see thirteen black cats under a ladder.";
    if ($user_location =~ /thirteen/) {
        print "Eek, bad luck!\n";
    }