| Thread | Last Post | Replies |
|
| Perl Compile problems.. | 31 Oct 2005 16:31 GMT | 1 |
I am new to Linux and trying to use some modules (even CGI.pm) and compile them for the Apache server I am playing with (educational purposes). I am running Mandrivia 2006.. I am trying to compile a couple of modules and with both of them I get the
|
| How to detect if the other end of the TCP connection has gone offline | 31 Oct 2005 16:29 GMT | 2 |
I'm writing a simple client-server application, and I'm trying to find a way to tell if the other end of an open TCP connection has gone offline. I heard that with C you can send a packet of data and check if an ACK packet comes back. If it doesn't then the connection is closed. ...
|
| Transforming HoA into AoH | 31 Oct 2005 13:46 GMT | 4 |
Dear Sirs, I want to convert a HoA into AoH. Basically what it does is to create a distinct hash for each pair of array element that comes from different keys (see the example below).
|
| Perl/sh/bash scripts and emacs | 30 Oct 2005 06:42 GMT | 4 |
Not sure how much of a beginner question this is. I've been searching mail archives and can't find anything about it. I've embarrassed myself by giving advice based on my reading of the Camel book, but the advice doesn't work.
|
| Dir Command to an array | 28 Oct 2005 22:26 GMT | 2 |
I would like to execute a dir */s command in windows and save the output into an array. I know I can do this in perl by doing executing the following command in a perl script: @allfiles = `find / -print`; How can do this in windows: Thanks,
|
| How to put brackets in a string given substrings | 28 Oct 2005 22:02 GMT | 4 |
Dear Sirs, I have the following problem. I am trying to put the bracket in a string given the set of its substrings. Those bracketed region is "bounded" by the given substrings.
|
| problem using a module | 28 Oct 2005 21:35 GMT | 6 |
i'm modifying a script to run on a sun box that i do not have privileges to install modules in the normal perl paths. subsequently i installed DBI.pm into a modules subdir under my home dir. below are the 2 relevant lines:
|
| help slurping a file | 28 Oct 2005 19:30 GMT | 9 |
I'm not sure if this is the correct group to post this question to. If there is a better forum for this kind of question, please let me know. I am trying to slurp a file that was written on Mac OSX, using a standard text editor.
|
| Is this script safe? | 28 Oct 2005 17:30 GMT | 13 |
I wanted a script that would rename files from lower to upper case. I have something but I am a bit worried about going live with it as I can imagine there is plenty of room for error and I really don't want to knacker my filesystem.
|
| finding the first non digit character in a string | 28 Oct 2005 15:02 GMT | 2 |
I see where you can test for a match in a string of data using the If ( ) statement, but can you use it with an 'index' statement? The data may look like this: $DD = "5000|SIHHTEXT"
|
| search and replace in html text | 28 Oct 2005 13:24 GMT | 1 |
i want to search for a pattern in html text and replace only those occurences that are not enclosed inside <> (html tag, not perl operator). i was thinking of something like $string =~ s/$pattern/test for <> or similar; else replace/ge;
|
| Die without textoutput? | 28 Oct 2005 12:02 GMT | 9 |
When die is used, there is message something like: x doesn't exist as an environment variable Died at lsh.pl line 510, <STDIN> line 6. Childprocess complete
|
| Binary Large Objects (BLOB) decoding | 27 Oct 2005 21:43 GMT | 1 |
I'm making a crude attempt to parse through some database BLOBS with some success. Some of the information is in XML format, some in "text". But a lot of crud exists because of the binary characters. I originally tried this:
|
| what happened to pdl.perl.org? | 27 Oct 2005 20:23 GMT | 1 |
Does anyone know what happened to pdl.perl.org? This is supposed to the the home site of Perl PDL, a scientific programming and graphics-producing add-on for Perl. The website is defunct, and I am seeking an alternative source of information.
|
| RE: send email with Perl | 27 Oct 2005 14:44 GMT | 1 |
Charles Li wrote:
> Hi, > I am using "use Net::SMTP;" to send email to multiple > people. But the recipients can not send the other |