Re: Problem with Code

2004-04-21 Thread WC -Sx- Jones
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

RE: Problem with Code

2004-04-21 Thread Charles K. Clarkson
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 :

Re: Problem with Code

2004-04-21 Thread Jan Eden
"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

Re: Problem with Code

2004-04-21 Thread Ryan Thomas
]> 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

Re: Problem with Code

2004-04-21 Thread Jan Eden
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

Problem with Code

2004-04-21 Thread Ryan Thomas
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