I have a hash structure "hash_plfdata" which contains some data,I am grepping for a file in $file_name(these values are initialized) in this hash using the below code,for some reason grep is not giving anything or something else?Can someone help?
foreach my $plf(keys %Hash_plfdata) { my ($base_p4path) = grep( (/\/\Q$file_name\E#/i && !/\.plf/), +@{ $Hash_plfdata{ $plf } }); print "BASE p4 path:$base_p4path\n";//Not Printing anytHING }
In reply to GREP value not initialized by perl_mystery
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |