kathys39 has asked for the wisdom of the Perl Monks concerning the following question:
foreach $file (@filelist) { Parse::parse_file($file,$project,$date); Moving::move_file($file,$project,$date); ...
use vars qw ($project, $date) .... return $project, $date
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: sharing variables among 2 subroutines
by locked_user sundialsvc4 (Abbot) on Nov 19, 2007 at 19:14 UTC | |
|
Re: sharing variables among 2 subroutines
by dragonchild (Archbishop) on Nov 19, 2007 at 18:49 UTC | |
by kathys39 (Acolyte) on Nov 19, 2007 at 19:22 UTC |