>From: patrik.grip-jansson@vv.se > > stuff() if $data=~m/^JAPH/; > Why use ^ to match at 'start of string' ? # $_ picks up a string, how isn't important. $_ = "I'm JAPH, hanging out in FWP\n"; # Just Plain Matching: # Either will work: print "Hi!\n" if $_ =~ /JAPH/; print if /JAPH/; The default variable $_ is used... -Sneex- :] ==== Want to unsubscribe from this list? (Don't you love us anymore?) ==== Well, if you insist... Send mail with body "unsubscribe" to ==== fwp-request@technofile.org