in reply to type glob problem
You are passing an empty typeglob to doublevalue. This demonstrates that you are passing nothing, loosely speaking, to your function:
Update: With your code, use warnings; would have flagged that the name main::arra was used only once, hinting at the problem. With use diagnostics; the message is more confusing as if it were written before lexical variables were added to the language.my @arra = (10,20); print ">@main::arra<$/"; print ">>@arra<<$/";
Be well,
rir
|
|---|