Re: How to get a computed string to act as a re in if statement

2008-07-30 Thread John W. Krahn
Mike Martin wrote: Hi Hello, I am working on the sub below. The aim is to create a string from values passed to the sub-routine and then use that as a if criterion for the push operation. Is this possible? [ Whitespace adjusted for clarity. ] sub get_list { my ( $black_list, $table,

Re: How to get a computed string to act as a re in if statement

2008-07-30 Thread Rob Dixon
Mike Martin wrote: > > I am working on the sub below. > > The aim is to create a string from values passed to the sub-routine > and then use that as a if criterion for the push operation. > > Is this possible? (Code reformatted for legibility) use strict; use warnings; my %guide; get_list(u