in reply to Is there a better way to use the line number in a quoted string than __LINE__?

Yet another suggestion: Log::Log4perl with a Log::Log4perl::Layout::PatternLayout and the %L placeholder.

The cake is a lie.
The cake is a lie.
The cake is a lie.

  • Comment on Re: Is there a better way to use the line number in a quoted string than __LINE__?
  • Download Code