perl grep dir and filename
1 2 my($directory, $filename) = $text =~ m/(.*\/)(.*)$/; 3 print "D=$directory, F=$filename\n 4
DZone Snippets > counter202 > perl
13463 users tagging and storing useful source code snippets
Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world
1 2 my($directory, $filename) = $text =~ m/(.*\/)(.*)$/; 3 print "D=$directory, F=$filename\n 4