| Thread | Last Post | Replies |
|
| quick regex question | 01 Apr 2005 00:38 GMT | 9 |
I want to run a substitution for all instances of "_" with "." after '@' in a string but "_" before "@" should not be touched. eg $str = "abc_def@lmn_p_q";
|
| Simple encoding function | 31 Mar 2005 21:59 GMT | 6 |
Hi pals, I'd like to code my own encode function, I have @list of allowed characters, my input is number, and I'd like to 'convert' number to characters. Here is script I coded, but I'm sure it could be really
|
| My own die message | 31 Mar 2005 21:33 GMT | 8 |
I have the following code : eval{ require "file" or die "unable to find file"; };
|
| Changing euid & egid of a perl process at runtime | 31 Mar 2005 20:56 GMT | 1 |
I want my script started as "root" to run as user "postfix". How do I change the uid & gid of the process Thanks Ram
|
| using Perl to insert footer into PDF files? | 31 Mar 2005 09:58 GMT | 4 |
I'm a little new at PDF manipulation in Perl and I'm not completely convinced that what I want to do is even possible. Basically what i want to do is take a multi-page PDF file and insert a footer onto the
|
| General questions | 31 Mar 2005 06:58 GMT | 2 |
1. I read on many Perl/CGI tutorial/articles that it is best to place and use CGI files in /cgi-bin/ directory than anywhere else, due to avoid many problems. Buy in our website, we have several subdomain and those are all use the same /cgi-bin/ directory, so now there are a
|
| Need first line of Excel Spreadsheet | 30 Mar 2005 22:27 GMT | 5 |
I have a directory which has output reports in them. The big problem is that they are just a bunch of letters and numbers like 2781424330fdac47c916.xls. So the user would like a more recognizable file name. This is to run on Solaris w/ Perl 5.8.3. I have tried the following ...
|
| A very simple example program Comparing Perl, Python and Java | 30 Mar 2005 19:01 GMT | 7 |
I'm writing a paper comparing the use of Perl, Python and Java. My Perl is pretty bad (as is my Python), so I thought I would check to see if there is a more efficient way of doing it. Here is the Perl program
|
| db handles with fork() | 30 Mar 2005 15:32 GMT | 2 |
I am writing a perl application that connect to a database and then does a fork() The child completes the process and does a exit(), but the problem is it closes the database connection which the parent would like to use.
|
| File::Find question? | 30 Mar 2005 09:50 GMT | 4 |
I have been working on familiarizing myself with the File::Find module. We have a process that appends a .txt once it has processed the file in a Unix environment. So, I wanted to return a list of files that have been processed by the previous process. I have been using the ...
|
| HTML parsing | 30 Mar 2005 09:43 GMT | 4 |
I'm brand new to Perl, and have just a little programming background. I was tasked with parsing a set of .html files in order to extract the data contained within some terribly formatted tables. Here is a sample of what I have..... <tr> <th align="left" width="10%"><font ...
|
| HTML::Template help continues.... | 30 Mar 2005 07:34 GMT | 1 |
First off thanks to Charles and Offer for there help. Err, the spelling should have been the same :-) Silly error, done in haste. Anyway I fixed it all up but it still doesn't work! :-(. I sliced it up to a test page and played with it but I still can't get the darn thing working. ...
|
| problem with using a module just recently installed | 30 Mar 2005 02:44 GMT | 1 |
I am having a problem of using a module recently installed and just can't quite figure out a solution. I installed 'Cache::FastMmap' using -MCPAN, and made @INC contains the directory where I have installed the module (eg.
|
| Net::Printer | 29 Mar 2005 22:58 GMT | 1 |
I using the program below to send file to printer.... It's printing a blank page and giving the error below. Anyone have any ideas? C:\brian\Perl>perl send_to_printer3.pl Use of uninitialized value in sprintf at C:/Perl/site/lib/Net/Printer.pm
|
| CGI.pm | 29 Mar 2005 20:10 GMT | 4 |
Lo all, Very quickly.... #!/usr/bin/perl use CGI;
|