Shawn H Corey <[email protected]> writes: > 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;
Ah yes, thanks. Dadgumit... and I used that vary formulation the day before... I guess it dropped off my pea brain in 24 hrs... hehe. -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] http://learn.perl.org/
