>>>>> "CS" == Chris Stinemetz <cstinem...@cricketcommunications.com> writes:
first off please don't quote ENTIRE emails. edit the quoted part to what you are commenting about. i can't easily find your stuff in all of my older emails. communication! that is true in technical emails as it is in coding. make your stuff readable. CS> sub Dist { CS> my $record{dist}+13)/6.6/8/2*10)/10 # I’m am not sure how to handle CS> this. CS> } you don't know how subs get their arguments. first read perldoc perlsub and learn that. then come back here. you shouldn't be accessing an external var in that sub, it should be passed in as an argument. uri -- Uri Guttman ------ u...@stemsystems.com -------- http://www.sysarch.com -- ----- Perl Code Review , Architecture, Development, Training, Support ------ --------- Gourmet Hot Cocoa Mix ---- http://bestfriendscocoa.com --------- -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/