http://www.perlmonks.org?node_id=578932


in reply to Re: If I was forced to program in another language, the Perl language feature I would miss most would be:
in thread If I was forced to program in another language, the Perl language feature I would miss most would be:

You can live without "trailing comma" by getting in the habit of using "leading comma"...

assertQ( "minimum mm is three" ,req("cool stuff traveling") ,"//*[@numFound='2']" ,"//result/doc[1]/int[@name='id'][. ='42']" ,"//result/doc[2]/int[@name='id'][. ='666']" );
  • Comment on Re^2: If I was forced to program in another language, the Perl language feature I would miss most would be:
  • Download Code

Replies are listed 'Best First'.
Re^3: If I was forced to program in another language, the Perl language feature I would miss most would be:
by ikegami (Patriarch) on Oct 18, 2006 at 01:07 UTC
    That doesn't solve anything. It just moves the problem the trailing comma solves. Instead of making it harder to add at the end, it makes it harder to add at the front.
      I beg to differ. You're far more likely to want to add to the end, so it is a big improvement.