Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:

I am trying to match a pattern which looks like test/comp/test1/test2. Grep did not work and I am trying to use match and it is complaining Undefined subroutine &main::match called. Is there a way to accomplish this? Thanks

Replies are listed 'Best First'.
Re: pattern Matching
by FunkyMonk (Bishop) on Dec 14, 2007 at 21:40 UTC
Re: pattern Matching
by ikegami (Patriarch) on Dec 14, 2007 at 21:45 UTC
Re: pattern Matching
by poolpi (Hermit) on Dec 15, 2007 at 12:57 UTC