something => another_thing means "something", another_thing (note the quotes, see Comma Operator for more info). Did you mean just "="?#Error here: Useless use of hash element in void context $singleton->{$XMLfile_name}=>$_;
You also seem to use $_ instead of elements in @_. Fuction arguments are in the @_ array (which is modified by shift, by the way), not in the single $_ scalar variable.
In reply to Re: how to make a package variable as c++
by aitap
in thread how to make a package variable as c++
by anaconda_wly
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |