in reply to Re: Build your array with push
in thread Build your array with push

my @array = ( "Hibbs", "Daglish", "Schwartz", "Vroom", );

I agree. And the little thing that makes this really work well is training oneself to add that trailing comma (after "Vroom") to the last entry. (Ditto for hashes entries, too.)

-xdg

Code written by xdg and posted on PerlMonks is public domain. It is provided as is with no warranties, express or implied, of any kind. Posted code may not have been tested. Use of posted code is at your own risk.