On Fri, 25 Apr 2014 12:39:21 -0700 John SJ Anderson <[email protected]> wrote:
> Perl doesn't charge you by the lines of code you use, so doing this:
>
> my $re = shift;
> $re = qr/$re/;
>
> is just fine.
This also works:
my $re = qr/$ARGV[0]/;
shift @ARGV;
--
Don't stop where the ink does.
Shawn
--
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
http://learn.perl.org/
