|Syntactic Confectionery Delight|
Default variable within loopsby oldwarrior32 (Sexton)
|on Jun 21, 2012 at 02:33 UTC||Need Help??|
oldwarrior32 has asked for the
wisdom of the Perl Monks concerning the following question:
Dear monks. A noob asking for your wisdom again. I did the respectively search in the monastery and the profane Google with no luck.
I have this code:
As you can see I needed a '$temp' variable to make the thing work.
Is there a way to evaluate the grep expresion using only default variables, or the '$temp' variables is completely necessary?
Thanks for your help.
By the way, the program just output the amount of elements from array @a that are not in array @b.