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. danny2785

    finding words within words

    Thanks guys
  2. danny2785

    finding words within words

    For example helloworld. This contains : 1. hello 2. world 3. hell 4. low
  3. danny2785

    finding words within words

    Does anybody know of a module that can find all the possible words within another word? Thanks in advance.
  4. danny2785

    linked lists

    Can someone help me understand reversing a singly linked list without recursion? struct node* result = NULL; struct node* current = *headRef; struct node* next; while (current != NULL) { next = current->next; // tricky: note the next node current->next = result; // move the node onto the...
  5. danny2785

    reg exp help

    How would you tell if there are 5 consonants in a row in a word? Thanks
  6. danny2785

    Reverse IPs

    What Kirsle refered to is waht I am talking about. I have actually been using domaintools and was wondering how you do something like that. Thanks
  7. danny2785

    Reverse IPs

    How would one go about making a module that does a reverse IP and return an approximatation of the number of domains associated with that IP? Thanks
  8. danny2785

    finding the number of digits in a string

    Ishnid, do you think you could step through the code for me? I don't get quite understand why that works. Just trying to learn.. Thanks
  9. danny2785

    finding the number of digits in a string

    Thanks
  10. danny2785

    finding the number of digits in a string

    Is there a way to find the number of digits that occur in a string without splitting the string into an array and then iterating through it?
  11. danny2785

    finding the string with the longest length

    If I have a list of strings, is there a way to find the string with the longest length without iterating through each component of the list? Thanks
  12. danny2785

    string comparisons

    Does anybody know of a module or perhaps a method that takes two strings, and then returns something like a percentage of how similar they are? Thanks
  13. danny2785

    regular expressions for url

    I am trying to grab the url without the protocol or the www. For example if you have http:www.google.com I just want google.com. I am currently using $line =~ /[^\n\r]+.(?=[\s\.,])/ Can anybody give me some suggestions? Thanks
  14. danny2785

    Processing html documents

    foreach $line(@h_list) { my $request = new HTTP::Request GET => $line; my $response = $robot->request( $request ); @html_source_code = $response->content . "\n"; } foreach $line1(@html_source_code) { if($line1 =~ /<td>\d+\&nbsp\;\&nbsp\;\&nbsp\;<\/td><td>/) { push(@clean_list...
  15. danny2785

    Processing html documents

    I am trying to grab parts of an html document with specific tags but with the foreach method it seems to treat the whole document as one line.
  16. danny2785

    Processing html documents

    I was wondering if anybody knew after putting an html document into an array, how does one go by editing the html line by line without having to write it to a text file. I tried using foreach $line(@array) but it didn't work. Thanks. Danny

Part and Inventory Search

Back
Top