 |
|
Home:
Perl Programming Help:
Beginner:
Re: [eyebrowsbutt] Reading files from directory and subdirectory:
Edit Log
|
|

Zhris
User
Sep 11, 2012, 1:36 PM
Views: 1018
|
|
Re: [eyebrowsbutt] Reading files from directory and subdirectory
|
|
|
Hey,
my $directory = shift; #OR my ($directory) = @_; #OR my $directory = $_[0]; Also, I just formatted your code by hand to see that the two closing braces at the end are necessary. I couldn't tell that the GC subroutine was contained within the list_recursively subroutine (it would probably be best to separate). Wrap code you post here in code tags. Chris
(This post was edited by Zhris on Sep 11, 2012, 1:41 PM)
|
|
|
Edit Log:
|
|
Post edited by Zhris
(User) on Sep 11, 2012, 1:37 PM
|
|
Post edited by Zhris
(User) on Sep 11, 2012, 1:38 PM
|
|
Post edited by Zhris
(User) on Sep 11, 2012, 1:40 PM
|
|
Post edited by Zhris
(User) on Sep 11, 2012, 1:41 PM
|
|
|  |