Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re^4: parse_dir doesn't seem to work

by nysus (Vicar)
on Jan 03, 2008 at 18:17 UTC ( #660285=note: print w/replies, xml ) Need Help??


in reply to Re^3: parse_dir doesn't seem to work
in thread parse_dir doesn't seem to work

Yeah, that's it. Getting "Can't parse" errors. Weird. Here's a typical line:
Can't parse: -rw-r--r-- 1 root root 15264 2008- +01-03 12:46 out
Thanks, man.

$PM = "Perl Monk's";
$MCF = "Most Clueless Friar Abbot Bishop Pontiff Deacon";
$nysus = $PM . $MCF;
Click here if you love Perl Monks

Replies are listed 'Best First'.
Re^5: parse_dir doesn't seem to work
by randyk (Parson) on Jan 03, 2008 at 18:42 UTC
    On my linux box, I can get such a listing via ls -l --time-style=long-iso, which in particular produces the 2008-01-03 date formatting. Do you have an alias for ls that includes a --time-style option?
Re^5: parse_dir doesn't seem to work
by Cubes (Pilgrim) on Jan 03, 2008 at 18:25 UTC
    That date format looks odd... Without digging into the File::Listing code, I'd guess that's where it's choking.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://660285]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (3)
As of 2021-03-07 06:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My favorite kind of desktop background is:











    Results (120 votes). Check out past polls.

    Notices?