|
Image::size
|
| |
I am trying to get the width and heights of an image file. by using Image::size. getting the following error. the only information I found was "Image Size was not installed properly? I use Activestate perl/ppm and all file looks fine!my server is IIS 5 on Win./XP prof. Bellow are the error message and the code.Any help is highly appreciated. Thansk.Regards.B.Can't... more »
|
|
Perl & Get web content Perl-Function [Expert]
|
| |
Hi all ! I have some questions to you, experts, that relate to the PERL LANGUAGE 1. Is that possible to recognize the platform of a website ? From example : If I take this website : [link] How do I know if it is a PERL, a PHP or ASP ? Is there a trick ? 2. The Get-Web-Content PERL function.... more »
|
|
data conversion online
|
| |
Hi, I am a beginner in perl. It would be nice to hear some suggestions on how I could do this. My problem is as follows: I have a .bib file from which I have to get another file of a different format, .json. And this is done online by a converter ht(t) p://simile.mit.edu/babel/ I would like to write a perl script to automate this process. I read... more »
|
|
html table - normalize? one row per multiple internal td cell entries
|
| |
I have to believe this has been done many time before. We have a well formed html <table> which contains X rows with Y columns in each. Nice and regular... Each <td> however contains mutliple chunks of data. Data in these cells is delimited by a <br /> but could be anything I guess. We need to take this table and regenerate it so that each data chunk... more »
|
|
Delimiter character inside the fields
|
| |
I have incoming files from an external source where the delimiter character very often is inside the fields. Look at the following example $line = 'f1 , f2, "hello , world" , "nice , try" '; $line =~s|"([^"]*?)"|{$_=$^N;tr','.' ;$_}|gse; print scalar (split /\s*,\s*/,$line,-1); So I use this regex to change the invalid commas to dots, but I am looking... more »
|
|
Which of the following values of $measure will make it into the correct measures section in the code below: P3, D7, DD, w1, IM, I9, I4, J1
|
| |
Which of the following values of $measure will make it into the correct measures section in the code below: P3, D7, DD, w1, IM, I9, I4, J1 if ($measure =~ /A[1-3]/ || $measure =~ /I[1-8]/ || $measure =~ /D[0-9]/ || $measure =~ /P[1-2]/ || $measure =~ /C[1-2]/ || $measure =~ /W[1-3]/ ||... more »
|
|
|