Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

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

by AnomalousMonk (Archbishop)
on Mar 07, 2021 at 08:43 UTC ( [id://11129250]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    Win8 Strawberry 5.8.9.5 (32)  Sun 03/07/2021  3:40:51
    C:\@Work\Perl\monks
    ...
    print "Line ${ \__LINE__ } is ok syntactically \n";
    ^Z
    Line 1 is ok syntactically
    

Log In?
Username:
Password:

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

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

    No recent polls found