> Cc: [EMAIL PROTECTED], [EMAIL PROTECTED]
> From: Uri Guttman <[EMAIL PROTECTED]>
> Date: Wed, 11 Dec 2002 00:43:13 -0500
> 
> >>>>> "LP" == Luke Palmer <[EMAIL PROTECTED]> writes:
> 
>   LP> Why use regexen when you can just use junctions?
> 
>   LP>     my $foos = 'foo' ~ any(0..9) ~ any(0..9);
> 
> should that be @foos or will it make an anon list of the foos and store
> the ref?

Actually $foos will be a junction.  You could use C<states> to get
each state out of the junction in an array.

    my @foos = states $foos;

Luke

Reply via email to