I'm trying to setup DKIM to verify the emails I send.
1) I installed the dkim project [ http://sourceforge.net/projects/dkim-milter/ ]
2) I setup the public key in DNS and started it up
...
I am parsing an email message with the perl module MIME::Entity and MIME::Parser. Since I'm parsing a lot of messages, I end up creating a whole lot of tmp files because of the line below:
...
I have to download a file from a https website, by first logging in and then accessing the file.
Please let me know if there is any way to do this.
First off, I just want to say thanks to the experts here and tell you how much I've learned from you and enjoy interacting with you all (especially in the Perl zone). ;-)
Okay, so here's a ...
If I have a pattern as it would be used in the command prompt (like this*th?t.h*), not a regex pattern, and I want to get a list of all files that would be returned if i did a "DIR" with that...
Hi everyone, I have a string in perl with spaces and spanish characters:
$str1 = "dsfdsf dfdsfó fdfdkjkioá"
Basically I need to count the characters in the (any) string.
Thanks in ad...
Hello
by using perl modules like html parse
how do I extract this block <ul> </ul> matches this pattern : class="bread" section="bac"
from the file 50.html (content the code below) and...
Hi all,
I'm trying to put together a nagios script that will login to the service processor of our old hardware and pull the hardware information. I have everything working good and the ar...
I was trying to get the output of gmtime on windows. The same code works on Unix. Is there something I am missing./doing wrong. Please correct me.
Thanks
Santosh
I would like to delete all the lines of a log file except the bottom 100 line,
How can I do it using the perl? do I need to use $. variable for this. Could
someone please help me out. Thanks!
How to call shell script from perl script. Also
1. I need to pass value from perl script to shell script.
2. Shell script should return value back to perl script.
SIDE BUY.PRICE 14.000.QUANTITY 1040
I want to pattern the above string such that
SIDE BUY.PRICE 14.000
QUANTITY 1040
Here only SIDE and QUANTITY are constant string. BUY.PRICE cud b...
With the code below I am trying to make it so the shipping volume is rounded up to the nearest 0.125 increment.
I know this is basic perl maths but I can't figure it out..
So in this cas...
Hello,
I have a 2GB text file and i want to extract only a part of it, for example i want to extract data from the line which contains this "=2jvxapukoi$a!" to the end of the file, wiht...
I have already a subroutine that gets me the request parameters for:
GET
POST application/x-www-form-urlencoded
POST application/json
Note: This subroutine doesn't know which are the ar...
I have a database connection script that works superbly in vbs but i need it to work in perl for something else i'm working on. the problem is that saleslogix uses a proprietary provider to u...
I have three directories, each containing files. I created a hash with the directory names as keys and arrays as elements of each key in the hash. I am trying to push the filenames of the the ...
Hello
how do I extract links from the local file ./file.html
using perl or sed
thank you
Hi all,
I need to optimize my perl script. So, that it wont take much time to analyze the log files. Currently i am reading line by line and using substring function i am checking the spRet...
Hi,
I have installed perl and apache2 on ubuntu linux. perl file are comilable through shell, but when called from browser, it asking to save the pl file. I made
then I added :
AddHandle...
I am using HTML:MASON to embed Perl code in HTML documents. I am using ImageMagick on a Debian platform to resize pictures after they are copied to a thumbs directory. I then dynamically displ...
Hi, I have my data on a MySQL database and will be searching it through a HTML form. I would prefer a solution as a SQL query but if it is best done in perl then thats fine too. My end result ...
Hello,
I am new to perl and need a small help in perl.
I have a csv ( comma separated file with two fields)
contents and format of the file is below:
File name : input_file.csv
...
Hi all
I need to define and test a SQLite Data Base in memory, I have 3 problems.
- I need to load the schema in the __DATA__ area into the data base.
- I need to create a foreign key i...
I am just a newbie in perl and I would like to understand the difference between the $" and $/ special variable.
I searched through the internet I found
$" = This is similar to $, except t...