|Pathologically Eclectic Rubbish Lister|
passing a value to a functionby ralfthewise (Sexton)
|on Jun 25, 2001 at 20:42 UTC||Need Help??|
ralfthewise has asked for the
wisdom of the Perl Monks concerning the following question:
I'm not much of a OO programmer and this (I think pretty simple) function is giving me fits.
So my problem is that I want to send to the function cleararray() the value that has been assigned to $radiovar in a different location, so that cleararray() can work on the data from the same starting point.
I've tried cleararray($radiovar) to get the value to cleararray() and I'm getting the error NOT ENOUGH ARGUMENTS FOR PATTERNS::CLEARARRAY. Patterns is the .pm, and cleararray is a subfxn.