>>>>> "LW" == Larry Wall <[EMAIL PROTECTED]> writes:
LW> That seems like a lot of extra work. I'd prefer to see something like:
LW> my stuff;
LW> m{^\s*[
LW> "$stuff:=(.*?)" |
LW> $stuff:=(\S+)
LW> ]};
couldn't that be reduced to:
m{^\s* $stuff := [ "(.*?)" | (\S+) ] };
the | will only return one of the grabbed chunks and the result of the
[] group would be assigned to $stuff.
uri
--
Uri Guttman ------ [EMAIL PROTECTED] -------- http://www.stemsystems.com
----- Stem and Perl Development, Systems Architecture, Design and Coding ----
Search or Offer Perl Jobs ---------------------------- http://jobs.perl.org