Hi Uri,
I have spent half the day looking at map and I still don't get it.
I don't get the EXPR versus BLOCK and how I can treat them differently.
I think I am close but my regex is not hitting.
/@final_results = map { m/^[a-zA-Z0-9]{3,4}?$/$1/ } @just_cust_codes;
foreach (@final_results){
print "$_<br>";
}/
I see a lot of people use a question mark in there, but I am unsure why.
All I want is the regex above to be in $1 for me to access.
Any help would be appreciated.
p.s. I read perldoc -f map, and checked my camel book. I am honestly at
a loss.