|
perl PNG image searching Hello, so I have some images (all PNG) I have a small image, ( a checkered box) and other larger images that may or may not contain the checkered box small image. I want to somehow find out if the small image (the checkered box) apprears anywhere in the larger PNG's or not. any hits would be appreciated. ... 7 May 2008 14:53
Net::SMTP fails Gang, I am trying to use Net::SMTP to send email from a computer and it fails to send (debug info below). I can take this same script and put it on another computer and it works just fine. That would tell me some piece of software isn't installed on the non-working computer, but I have no idea as to what ... 7 May 2008 14:53
2 simple questions Hi, I got two simple question where I don't know the answer and would appreciate any help. 1) my $sting = "afdsf,sdgj,sdgjkgd," How can I find out how many commas are in this string. I think that there should be a very simple perl solution to this without find it out in a very wild way. 2) my $no = 0.00001... 7 May 2008 14:53
Why doesn't Perl complain about this bareword? By chance I found out that no error is issued on the following program: perl -w -e 'use strict; print(Does::Not::Exist,"\n")' Instead, "Does::Not::Exist" is printed. Shouldn't there be a warning about the improper use of a bareword? Similarily, the program perl -w -e 'use strict; system(Does::Not::Exist,"\n... 7 May 2008 14:04
FAQ 3.25 Where can I learn about CGI or Web programming in Perl? This is an excerpt from the latest version perlfaq3.pod, which comes with the standard Perl distribution. These postings aim to reduce the number of repeated questions as well as allow the community to review and update the answers. The latest version of the complete perlfaq is at http://faq.perl.org . --------... 7 May 2008 14:04
Identification of which line causing regex problem Dear all, I'm modifying a system (totally more than 100000-lines for tens of files) written by others and would like to identify which line leads to the following problem. Invalid [] range "l-c" in regex; marked by <-- HERE in m/^3-oxoacyl-[acyl-c <-- HERE arrier protein] reductase fabg1$/ Unfortunately ... 7 May 2008 10:47
perl GD Image resolution problem I use GD::Image to create figures. Here is an example: http://sphinx.vet.unimelb.edu.au/QTLdb/tmp/map490151833.png For publication purposes we need high resolution pictures. I am seeking expert advice as how can I improve the resolution? Thanks in advance! Zhiliang ... 7 May 2008 09:08
FAQ 4.28 How do I change the Nth occurrence of something? This is an excerpt from the latest version perlfaq4.pod, which comes with the standard Perl distribution. These postings aim to reduce the number of repeated questions as well as allow the community to review and update the answers. The latest version of the complete perlfaq is at http://faq.perl.org . --------... 7 May 2008 08:20
state of Erlang? Please excuse this OT post. I have had the experience of attempting to implement some wireless routing protocols (GPSR and AODV) in Java in the past two years, and the experience hasn't been particularly fulfilling. The ideas are good but the technology, Java, leaves something to be desired. Having some spare ... 7 May 2008 08:20
Removing HTML from text I am looking for a perl routine that will strip HTML from a text file and allow me to setup exceptions. For example, remove all HTML except <B> <I> <U> <P> and their close tags, and optionally (preferably) clean up any <P> tags so that contain just <P ALIGN="LEFT"> (or right or center). Is there such a beast out... 7 May 2008 07:31
Problem with email attachment, 1 becomes 10 I'm trying to write a program that can send out mails to companies where I'm interested in working. These mails are the same except that the company name is switched. My CV should be attached as a pdf-file. The problem is that I don't get one attachment, but ten! Also the message is repeated 10 times. If I change t... 7 May 2008 06:28
Some sort of scoping problem This is *not* a trivial problem. If you know Perl well, please take a bit of time to look at this. I have the following code in a file Foo.pm package Foo; my @xyzzy = (1,2,3); sub new { my $self = bless {}, shift; $self->ini('xyzzy'); print \@xyzzy, ' ', scalar @xyzzy; print $self->{xy... 7 May 2008 06:28
cpan shell and MyConfig.pm problem I would like to install CPAN modules with the cpan command. Since I don't have write permission to the Perl installation directories, I need to do a local installation. After playing around with the cpan command a bit and looking at the source code of CPAN::Config, I created a $HOME/.cpan/CPAN/MyConfig.pm with ... 7 May 2008 05:40 |