[nama] Re: costs and benefits of singletons

  • From: Joel Roth <joelz@xxxxxxxxx>
  • To: nama@xxxxxxxxxxxxx
  • Date: Mon, 22 Aug 2011 23:11:57 -1000

Here is another nasty gotcha: variable interpolation in
double quoted strings doesn't work for method calls.

print "project name: $project_name"    # mysong

print "project name: $project->name"   # 
Audio::Nama::Project=HASH(0x65b1cf8)->name

So, the bar is looking very high, basically, an extensive
rewrite to get a certain neatness.

Of course, if we rewrite 851 print/say statements to enable
better logging...




-- 
Joel Roth

Other related posts: