in reply to
~username expansion
Try just glob("~user"); on newer perls this will use File::Glob, but AFAIK it should also work on older perls. (Doesn't work with win32 perl, though glob("~")
does
.)
Comment on
Re: ~username expansion
Replies are listed 'Best First'.
Re^2: ~username expansion
by
Anonymous Monk
on Nov 01, 2004 at 02:14 UTC
This worked perfectly and was exactly what I was after. Thanks!
[reply]
In Section
Seekers of Perl Wisdom