Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
Greeting perl monks,
Given an array of full file paths (using File::Util), I strip off the root directory using a regex and peform other processing
The regex works fine with perl 5.10.0 on Linux but when I run it with perl 5.10.0 on Windows XP it gives me the following error.
Can't find Unicode property definition "A"
----- code snippet ----- my $fu = File::Util->new(max_dives => 2000); @results = $fu->list_dir($root_dir, qw/ --files-only --recurse /); foreach (@results) { # strip off the $root_dir $_ =~ s!($root_dir\\)|($root_dir/)!!g; } ----- code snippet -----
I looked around and wasn't able to find anything that helped. Thanks in advance for any insight.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Can't find Unicode property definition "A"
by Corion (Patriarch) on Sep 30, 2009 at 17:48 UTC | |
|
Re: Can't find Unicode property definition "A"
by ikegami (Patriarch) on Sep 30, 2009 at 17:49 UTC | |
by Anonymous Monk on Sep 30, 2009 at 18:04 UTC |