Hi Monks,
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.
Thanks!
Dicty
In reply to regular expression and grep function questions by dicty
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |