in reply to Re: Help regarding the outout of the program
in thread Help regarding the outout of the program

Utilitarian:

++ for removing the loop. I had a thought about your randombase routine, though. I came up with:

sub randombase { # Prevent us from returning the same symbol my @list = grep { $_ ne $_[0] } @symbols; return $list[rand(@list)]; }

...roboticus