Re: a modest chainsaw

[email protected] (Ron Savage)
Newsgroups perl.module.build
Message-ID <[email protected]>
Hi Eric

> I'm starting to think that bundling File::Fu might be a good option - 
> then at least I could deal with the cross-platform filename problems in 
> one place.

The synopsis for File::Fu starts with:

my $dir = File::Fu->dir("bar");
print "$dir\n"; # 'dir/'

my $file = $dir + 'bar.txt';
print "$file\n"; # 'foo/bar.txt'

I'm thinking that first line should be:

my $dir = File::Fu->dir("foo");

and the second should be:

print "$dir\n"; # 'foo/'

to match up what follows.

(Save you logging in to RT, which, given how slow it is right now, means
you can thank me big time :-).

-- 
Ron Savage
[email protected]
http://savage.net.au/index.html
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.