>>>>> "fc" == freesoft12@gmail com <> writes:
fc> I can't slurp as my orig grammar has a hierarchy to it (meaning that
fc> the identifiers belong to a group and that group belongs to another
fc> etc). I only used a small example to post. I will have to slurp the
fc> whole file rather than passing in every line.
that makes no sense as that is what slurping is - reading in the whole
file at one time into an array or scalar. sometimes parsing is much
easier and faster when the entire file is in a scalar. since P::RD can't
parse incrementally it does better when you slurp. and yes, slurping is
the technical term! check out File::Slurp for more.
uri
--
Uri Guttman ------
--------
http://www.sysarch.com --
----- Perl Code Review , Architecture, Development, Training, Support ------
--------- Gourmet Hot Cocoa Mix ----
http://bestfriendscocoa.com ---------