Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

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
--
Tommy
$ perl -MMIME::Base64 -e 'print decode_base64 "YWNlQHRvbW15YnV0bGVyLm1lCg=="'

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1008009]
help
Chatterbox?
[Tux]: and/or store the whole conversation in a DB_File or somesuch (configurable) and re-load on re-start

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (3)
As of 2017-09-20 06:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    During the recent solar eclipse, I:









    Results (233 votes). Check out past polls.

    Notices?