If $dir = "/exp/01jehandel/userinput/runwhennewfile"; then $thisj will have runwhennewfile. Please tell me how is the matching done? Also what difference does putting brackets '()' for $thisj in its assignment statement makes? what is '#' doing here? It will be helpful if some good links for such RE's is provided Thanks & Regards Nalina($thisj) = $dir =~ m#/([^/]+)$#;
In reply to Perl Regular Exp by Nalina
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |