Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

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

by AnomalousMonk (Bishop)
on Mar 07, 2021 at 08:43 UTC ( #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? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (3)
As of 2022-08-15 00:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?