Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re^2: Is there a better way to use the line number in a quoted string than __LINE__?

by LanX (Saint)
on Mar 07, 2021 at 20:55 UTC ( [id://11129297]=note: print w/replies, xml ) Need Help??


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

> but another option... printf()!

you missed Re: Is there a better way to use the line number in a quoted string than __LINE__?

;-)

Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery

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

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11129297]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others perusing the Monastery: (3)
As of 2024-04-25 06:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found