|Just another Perl shrine|
regular expression and grep function questionsby dicty (Sexton)
|on Mar 01, 2013 at 22:24 UTC||Need Help??|
dicty has asked for the
wisdom of the Perl Monks concerning the following question:
What does "\z" mean in Perl?
I have a question about grep function. For the code below:
my @new_array = grep(/^\s+\d+\s+/, @array, $number);
What's the variable "$number" for? I remember grep only takes two input variables, one is the expression and the other one is an array.