Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re: sub return value in qq{}

by johngg (Canon)
on Nov 02, 2022 at 09:55 UTC ( [id://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 (Archbishop) 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?Last hourOther CB clients
Other Users?
Others sharing their wisdom with the Monastery: (3)
As of 2025-11-10 07:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What's your view on AI coding assistants?





    Results (66 votes). Check out past polls.

    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.