Re: compare two string and make some operation on it?



Michele Dondi:

$a= "a...my....";
$b= "..mom....w";

Incidentally, be careful when using $a and $b as general purpose
variables, as they're special.

Well, special inside of sort blocks, OK. But else (in this example)?

What's the difference between

$a = "...";
$b = "...";

and

$c = "...";
$d = "...";

in a string compare operation?

Greetings, Ferry

--
Ing Ferry Bolhar
Magistrat der Stadt Wien - MA 14
A-1010 Wien
E-Mail: bol@xxxxxxxxxxxxxxxxx


.



Relevant Pages

  • Re: compare two string and make some operation on it?
    ... be careful when using $a and $b as general purpose ... Well, special inside of sort blocks, OK. ... If the string compare operation involves sorting you can be in trouble. ...
    (comp.lang.perl.misc)
  • Re: C<suba>?
    ... On Fri, 3 Sep 2004, Michele Dondi wrote: ... Honest mistake. ... I'll be more careful next time. ... RPI Corporation Secretary % ...
    (comp.lang.perl.misc)