in reply to Re: Build your array with push
in thread Build your array with push
That style of code is totally ugly and unusable. What if your original list of data erroneously switched two characters and you now have to swap the last and next-to-last character? This coding style is flawed in that aspect. You should use the following coding style instead:
push (@Hibbs_Daglish_Schwartz_Vroom, "" . chr(0b1010110) . chr(0b1110010) . chr(0b1101111) . chr(0b1101111) . chr(0b1101101) );
Actually I use this coding style when manipulating SQL SELECT statements:
SELECT monkey, bananas from my_table where 1 = 1 and flung_poo is null and size > 800 ;
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: Build your array with push
by blazar (Canon) on Feb 06, 2006 at 08:11 UTC |