RJK wrote: > On Wed, Jun 30, 1999 at 12:29:35PM -0500, Edward M. Perry wrote: > > > > I must be a dullard because I find it easier to do this if the instructions > > are in the order they should be processed. > > What a shame; you must completely unable to deal with subroutines. :) Not just subs, but anything in Perl that is remotely "functional", such as assignment, map and grep: %{ get_hashref } = map { $_ => $i++ } $text =~ m/($patterns{ get_pattern_key() })/sg; John Porter ==== Want to unsubscribe from Fun With Perl? ==== Well, if you insist... Send mail with body "unsubscribe" to ==== fwp-request@technofile.org