Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid

Re: How to get full path name in windows?

by Tommy (Chaplain)
on Dec 09, 2012 at 22:30 UTC ( #1008009=note: print w/replies, xml ) Need Help??

in reply to How to get full path name in windows?

This works for me:

use File::Util; my $f = File::Util->new(); my @files = $f->list_dir( "C:\\book", qw( --no-fsdots --with-paths ) ) +;

From the command line: (demonstrating that "/" works fine on windows)

$ perl -MFile::Util -e 'print join "\n", File::Util->new->list_dir("C: +/book", qw( --no-fsdots --with-paths ))' C:/book/Generic_User_Guide.pdf C:/book/Quick_Guide.pdf
$ perl -MMIME::Base64 -e 'print decode_base64 "YWNlQHRvbW15YnV0bGVyLm1lCg=="'

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1008009]
[Corion]: Cool. Google makes it easier for me to wean myself off Google Keep. The app now insists on saving items online before displaying them in the offline view.
[Corion]: I should maybe set up a "public" instance of my clone just to manage feature suggestions ;)

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (5)
As of 2017-04-25 11:46 GMT
Find Nodes?
    Voting Booth?
    I'm a fool:

    Results (450 votes). Check out past polls.