Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re: I'm reading a book! It's given me more questons!

by lestrrat (Deacon)
on Jul 28, 2005 at 10:31 UTC ( [id://478906]=note: print w/replies, xml ) Need Help??


in reply to I'm reading a book! It's given me more questons!

my @step=(1..9); push (@step, 0); my $step; foreach (@step) { $step . $_; <<<<< HERE. This should be "$step .= $_;" print ($step x 7);

The second example doesn't even compile. I could just show you the problem, but it would probably be more helpful for you to use strict; and figure it out ;)

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others musing on the Monastery: (4)
As of 2024-04-24 03:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found