Something for your amusement:
#! /usr/local/bin/perl -w
eval 'exec /usr/local/bin/perl -S $0 ${1+"$@"}'
if 0; #$running_under_some_shell
use strict;
use warnings;
use File::Find ();
use vars qw/*name *dir *prune @targets/;
*name = *File::Find::name;
*dir= *File::Find::dir;
*prun
Ryan Thomas <[EMAIL PROTECTED]> wrote:
:
: I have a script below that lists a directory tree
: structure (thanks for the base code Jan!)and have
: modified it, unsuccessfully, to add the file size.
:
: What have i done wrong ??
:
: The output I am looking for is:
:
: c:\anydir\foo.txt 1,102
:
"Ryan Thomas" <[EMAIL PROTECTED]>; "Perl Lists" <[EMAIL PROTECTED]>
>Sent: Wednesday, April 21, 2004 12:59 PM
>Subject: Re: Problem with Code
>
>
>Hi Jane,
>
>- Original Message -
>From: Ryan Thomas
>Sent: 21.04.2004, 12:18 Uhr
]>
Sent: Wednesday, April 21, 2004 12:59 PM
Subject: Re: Problem with Code
Hi Jane,
- Original Message -
From: Ryan Thomas
Sent: 21.04.2004, 12:18 Uhr
>Hello All
>
>I have a script below that lists a directory tree structure (thanks for the
base
>code Jan!)and have modifi
Hi Jane,
- Original Message -
From: Ryan Thomas
Sent: 21.04.2004, 12:18 Uhr
>Hello All
>
>I have a script below that lists a directory tree structure (thanks for the base
>code Jan!)and have modified it, unsuccessfully, to add the file size.
>
>What have i done wrong ??
>
>The output I a
Hello All
I have a script below that lists a directory tree structure (thanks for the base code
Jan!)and have modified it, unsuccessfully, to add the file size.
What have i done wrong ??
The output I am looking for is:
c:\anydir\foo.txt 1,102
code:
# Reads a directory tree and parses the res