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

Re^3: Differences between Perl 5.8 and Perl 5.18.2

by toolic (Bishop)
on Apr 20, 2015 at 20:34 UTC ( [id://1124070]=note: print w/replies, xml ) Need Help??


in reply to Re^2: Differences between Perl 5.8 and Perl 5.18.2
in thread Differences between Perl 5.8 and Perl 5.18.2

You transcribed at least one line incorrectly. Change:
$im_thinking_of=int(rand10);

to (space between rand and 10):

$im_thinking_of=int(rand 10);

Replies are listed 'Best First'.
Re^4: Differences between Perl 5.8 and Perl 5.18.2
by mbgbioinfo (Novice) on Apr 21, 2015 at 18:18 UTC
    Such a simple mistake in front of my eyes....! Thank you very much for your reply.
      Just one single character or letter makes the difference between a program that runs and one that does not even compile.

      You can make a typo or spelling mistake in a text, a mail or a post on the Internet and will probably still be understood. On a program, no typo allowed, zero tolerance, it will just not run most of the time (and it is even worse if it runs and does something else than what you wanted).

      Je suis Charlie.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others studying the Monastery: (5)
As of 2024-04-23 16:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found