Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: Perl 6 strings, interpolation and templates?

by ikegami (Patriarch)
on Mar 15, 2009 at 00:33 UTC ( [id://750687]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    say "Hello @{[ join(', ', @names) ]} how are you?";
    
  2. or download this
    use strict;
    use warnings;
    ...
    
    my $user_input = q{Hello @{[ join(', ', @names) ]} how are you?};
    say $user_input;
    
  3. or download this
    Hello ikegami how are you?
    Hello @{[ join(', ', @names) ]} how are you?
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others lurking in the Monastery: (4)
As of 2025-03-26 21:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    When you first encountered Perl, which feature amazed you the most?










    Results (68 votes). Check out past polls.

    Notices?
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.