Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question: ⭐ (strings)
I am using:
On NT this gives me a list like:open FILES, "dir /b /aa /s |" or die; while(<FILES>) { #process result } close FILES;
How do I split this string into two parts, the directory path and the filename?C:\WINDOWS\INF\wordpad.inf C:\WINDOWS\INF\wordpad.PNF C:\WINDOWS\INF\WPIE3x86.INF C:\WINDOWS\INF\WPIE3x86.PNF . . .
Originally posted as a Categorized Question.
Back to
Seekers of Perl Wisdom