#!/usr/bin/perl# your code goes here$_ = " ghj* ";if(/\bghj\b/){ print "yes"; }else{ print "no"; }
Standard input is empty
yes
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!