Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: why this works? quoted strings

by mrstlee (Beadle)
on Oct 25, 2011 at 16:07 UTC ( #933645=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    print "My scalar = ${\(my $scalar = 5)}\n";
    print "My array = @{[(0..9)]}\n";
    ...
    print "My array returned by anonymous subroutine = @{[do {(0..9)}]}\n"
    +;
    print "My array formatted with join = ${\(join '*',(0..9))}\n";
    print "My hash treated as array   = @{ [my %h = (0..9)] }\n";
    
  2. or download this
    My scalar = 5
    My array = 0 1 2 3 4 5 6 7 8 9
    ...
    My array returned by anonymous subroutine = 0 1 2 3 4 5 6 7 8 9
    My array formatted with join = 0*1*2*3*4*5*6*7*8*9
    My hash treated as array   = 0 1 2 3 4 5 6 7 8 9
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (14)
As of 2015-07-31 21:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (282 votes), past polls