Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: sub return value in qq{}

by johngg (Canon)
on Nov 02, 2022 at 09:55 UTC ( #11147907=note: print w/replies, xml ) Need Help??


in reply to sub return value in qq{}

Babycart operator!

johngg@aleatico:~$ perl -Mstrict -Mwarnings -E 'say q{}; sub bar {return q{bar} } say qq{Drink at the @{ [ bar() ]}};' Drink at the bar

Cheers,

JohnGG

Replies are listed 'Best First'.
Re^2: sub return value in qq{}
by eyepopslikeamosquito (Bishop) on Nov 02, 2022 at 11:18 UTC

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (5)
As of 2023-02-06 12:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I prefer not to run the latest version of Perl because:







    Results (34 votes). Check out past polls.

    Notices?