Re: A string & a list



(Randal L. Schwartz) wrote:
"Monomachus" == "Monomachus" <mono_mc@xxxxxxx> writes:


Monomachus> A problem in Perl

Monomachus> You have a string & a list

And it looks like a homework problem.

Monomachus> And one more thing could u show me variants without using RegEx

Especially with that.

PLEASE DON'T ASK OR ANSWER HOMEWORK PROBLEMS HERE.

Well maybe Randal's right, but I reckon homework counts as a Perl beginner's problem, it's just that the form of the response should have less of a 'lets get this thing going' slant.

Monochamus, if you're doing homework then please credit my answer to me, and make sure you learn something as well as just getting marks in class. If not, then let's get this thing going :)

Cheers,

Rob
.



Relevant Pages

  • Re: A string & a list
    ... Monomachus> A problem in Perl ... Monomachus> You have a string & a list ... And it looks like a homework problem. ... See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training! ...
    (perl.beginners)
  • Re: is there any FAST ALGORITHM about Forward Maximum Match of string?
    ... There may be a temptation to try to exploit some ... sort of skip ahead based on the length of the longest string found ... Thanks Joe, it's not a homework problem, I know using perl or other ...
    (comp.programming)
  • regular expressions
    ... This is was part of a homework problem (I know how everyone loves ... Attempting to use a regex pattern to verify if a String has two alpha ... characters and two numeric characters. ...
    (comp.lang.java.programmer)
  • Re: Optimized code for finding string length
    ... > I need the optimized code for finding the string length. ... i dont want to ... Homework problem? ...
    (comp.lang.c)