Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: Order of printf statements vs order of actual lines printed out

by Rahul6990 (Beadle)
on Apr 09, 2013 at 06:20 UTC ( #1027654=note: print w/ replies, xml ) Need Help??


in reply to Order of printf statements vs order of actual lines printed out

Use:

my @foo; push @foo, 5; push @foo, 7, 8; printf "@foo\n"; printf "\nabove first set of dashes #: [$#foo]\n"; printf "first set of dashes------------\n"; printf "\nsecond set of dashes------------\n"; my $y = printf "\ny dashes------------\n"; printf "\ny: [$y]\n";
---------------------------------------------------------- As you are using (") double quotes the concatenation operator is not required , so we can ignore that.


Comment on Re: Order of printf statements vs order of actual lines printed out
Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1027654]
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: (7)
As of 2014-08-01 08:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (257 votes), past polls