in reply to Re^2: Passing a string in a foreach loop
in thread Passing a string in a foreach loop
Replace dir_size with a test sub that prints the param that is parsed in to it. dir_size really shouldn't care how it is called so there must be some difference in what is being passed in. A suitable test sub would be sub test {my $param = shift; print "param: >$param<\n";}
|
|---|