I want to standardize info to act as an array, even its its a scalar (ie, create a 1 item list)
Does your code not do that? I can't think of any place in Perl where assigning a scalar to an array doesn't create a one-element array.
Please post a short test case demonstrating that it doesn't work in this case.
In reply to Re: Forcing a returned array (wantarray?)
by chromatic
in thread Forcing a returned array (wantarray?)
by nmerriweather
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |