in reply to Contain yourselves please: THEORETICAL question about variable values being used as A PART of another variable's name.

Don't you think this is better? :)
perl -le'$s=sub{sprintf"this is from %d\n\n",shift};print $s->($_) for + 100,200,300'
  • Comment on Re: Contain yourselves please: THEORETICAL question about variable values being used as A PART of another variable's name.
  • Download Code