i would say that all ways to do things are ugly in perl. i did give perl a try a very long time ago (around 1996). it was a short try. i was still heavy in C so my perl was very much C-like ... and still ugly. it was pike that got me a step away from C so that when i tried python i could do things less C like. the first way i loop over a list is like
i did not even know of enumerate(). there might be 2 or 3 cases in my code files where it could be used in place of counting. maybe one day i will look and see if is worthwhile.
for tag in tags:
(where tags is a list). i have never used enumerate().i did not even know of enumerate(). there might be 2 or 3 cases in my code files where it could be used in place of counting. maybe one day i will look and see if is worthwhile.
Tradition is peer pressure from dead people
What do you call someone who speaks three languages? Trilingual. Two languages? Bilingual. One language? American.
What do you call someone who speaks three languages? Trilingual. Two languages? Bilingual. One language? American.