Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. Tiamose

    Confused with inheritance.

    Yes, I know that I did not extend anything. But the my purpose is just to verify some characteristics of polymorphism. I think that this is quite strange that the methode tell() of SubPoint in invoked.
  2. Tiamose

    Confused with inheritance.

    Hi all, I wrote a class Point and a class SubPoint which extends the class Point (see the code below). Then I declared a variable sp of type SubPoint and I called sp.tell(). Could anyone tell me why the method speak() of the class SubPoint is invoked although I already call super.tell() within...
  3. Tiamose

    Approximate matching with perl

    Hello Kevin, Thank you, but what I want to know is how LeD was used in this package (i.e. the mechanism of this package, how does it work?).
  4. Tiamose

    Approximate matching with perl

    Hello everybody, I'm looking for an approximate matching approach with Perl, and I found the String::Approx package (http://search.cpan.org/~jhi/String-Approx-3.26/Approx.pm). It's claimed to use Levenshtein edit distance (LeD) as its measure but I don't know how LeD was used in this...
  5. Tiamose

    grep-like with Perl

    Thank you very much MillerH :)
  6. Tiamose

    grep-like with Perl

    Thank you MillerH, could you explain me what \Q and \E mean in your command?
  7. Tiamose

    grep-like with Perl

    Hi, I used grep command as trav69 suggested (@out = grep /$line/i, @array;), but I got this error Nested quantifiers in regex; marked by <-- HERE in m/'The Working Papers for the ANSI-X3J16/ISO-SC22-WG21 C++ <-- HERE Standards Committee'/ Maybe in the $line contains some special characters...
  8. Tiamose

    XSLT Question

    Thank you very much tsuji :)
  9. Tiamose

    grep-like with Perl

    Hi all, Does anyone know a bout a funtion which is similar to grep in Unix? I want to count the number of lines which match a pattern in a file and I intend to use "grep" command of Unix system: $n=`grep -c -i "$line" filename`; However if $line contains double quotation marks (i.e. " ) or...
  10. Tiamose

    XSLT Question

    Hi all, I have a question about XSLT and I hope you can help me. I have a XML file like that <book> <title> Title here </title> <author> Author name here </author> <content> content here </content> </book> <book> <author> Author name here </author>...

Part and Inventory Search

Back
Top