# Search:

Type: Posts; User: Unknown008

1. ## Question: I was doing one Euler project problem, but stuck...

by Unknown008
15
Views
1,741

### Okay, couple of things I don't understand here: ...

Okay, couple of things I don't understand here:

@values = split(undef,\$result);
\$size = @values;
\$alrevez = \$alrevez.\$values[\$c];

What do these actually do?

1. I've never used the split...
2. ## Question: I was doing one Euler project problem, but stuck...

by Unknown008
15
Views
1,741

### Okay, as I told you, I'm completely new to...

Okay, as I told you, I'm completely new to debugging.

If you could explain the commands you used, that'd make me more at ease :)

Specifically:
The module 'Getop::Std'
Getopts( 'd', \%opts)
...
3. ## Question: I was doing one Euler project problem, but stuck...

by Unknown008
15
Views
1,741

### I changed it so that if three is chosen, the...

I changed it so that if three is chosen, the upper bound is 1000 (so, all numbers from 0 to 999 are taken). Then, in the loop, the variable \$A will have initial value 1000, and then, min value will...
4. ## Question: I was doing one Euler project problem, but stuck...

by Unknown008
15
Views
1,741

### Okay, I'm late due to being busy :o use...

Okay, I'm late due to being busy :o

use strict;

print "The goal is to find the largest palindrome made from the product of two numbers.\n
Enter the number of digits for the two numbers. \n";...
5. ## Question: I was doing one Euler project problem, but stuck...

by Unknown008
15
Views
1,741

### Oh my! >.< All this time, I thought the third...

Oh my! >.<

All this time, I thought the third argument is the 'limit'. Thanks for clearing it up! :)

Unfortunately, I couldn't give you another agree.

Okay, I'll try to make it more user...
6. ## Question: I was doing one Euler project problem, but stuck...

by Unknown008
15
Views
1,741

### Okay, this one works, I just can't understand the...

Okay, this one works, I just can't understand the substr part.

What does "substr(\$P, 1, 1)" mean exactly?

I know that if I have a string, \$P = 123456

Then, substr(\$P, 0, 1) means the program...
7. ## Question: I was doing one Euler project problem, but stuck...

by Unknown008
15
Views
1,741

### What do you mean by "the third argument of your...

What do you mean by "the third argument of your substr command should always be 1."

Could you write the code for that part?

About sending emails, sorry, this is not how forums work, everything...
8. ## Question: I was doing one Euler project problem, but stuck...

by Unknown008