| Thread | Last Post | Replies |
|
| IO::Socket::INET hanging if packets are droped | 27 Aug 2008 19:13 GMT | 3 |
I have created a simple script to test if a TCP port is open. my $sock = new IO::Socket::INET( PeerAddr => $host, PeerPort => $port, Proto => "tcp", timeout => $timeout); The problem is that, if a firewall is dropping my request, the script
|
| what module to use when writing automation tests? | 25 Aug 2008 11:56 GMT | 1 |
I'm automating some tests for networks devices, and trying to use Perl to do the job. Basically, I need to: 1) SSH into a device 2) run some commands
|
| Module to trap undefined subroutines at compile time | 19 Aug 2008 13:45 GMT | 9 |
I got *really* tired of being tripped up, at run-time (!), by spelling mistakes in subroutine names, which even 'use strict' doesn't pick up
:-( So, I wrote a module, provisionally called 'Ensure', which can be used
|
| Using Regular Expression | 18 Aug 2008 16:26 GMT | 8 |
I use Perl regular expressions to match a pattern for contents of log files that are large (about 50MB or more). I actually read the contents to a scalar & match treating the scalar as a single line (s option).
|
| CGI.pm: displaying .html file as the result | 15 Aug 2008 23:08 GMT | 1 |
Hi, I hope this isn't too dumb of a question. How can I get my Perl CGI script to display a flat HTML file (in fact, the same HTML file) after the submit button has been clicked? Basically I have a flat HTML file with a small form in it; I want the same page to redisplay after
|
| How to solve the issue that \. is interpreted as any character in system("sed ... "); ? | 15 Aug 2008 13:55 GMT | 3 |
sed "s/ \.\.\.\.\.\.\.\./ /" file_a > file_b I want to replace all strings of one blank followed by 8 dots ( ........) with just one blank ( ). It works correctly in the shell. But If I try to run it in Perl like following:
|
| How to deal with "{" in system("...command..."); ? | 15 Aug 2008 13:46 GMT | 6 |
Hi, all: In order to replace }PERM= into PERM= in a file, I ran a command: sed "s/}PERM=/PERM=/" record_with_comment_tmp > record_with_comment It works.
|
| Devel::Callsite is a better instance key than join $;,caller()[1,2] | 13 Aug 2008 21:55 GMT | 8 |
=head1 NAME Devel::Callsite - Get current callsite =head1 SYNOPSIS use Devel::Callsite;
|
| Module to spew bootloader-like messages? | 13 Aug 2008 16:02 GMT | 3 |
Howdy - Anyone know of an existing module that can be used to spew out messages (info/warn/error/etc) in what I call "bootloader format". I don't know the real name for this apparently defacto standard, but the messaging
|
| POOF - Yet one more OO framework. | 11 Aug 2008 20:16 GMT | 2 |
Well, I finally uploaded POOF to CPAN. I know, I know, there are already too many OO frameworks already, but although some of them are really good I was not completely happy with any of them so I create my own based on a tied hash for regular classes or array for
|
| Any chance CGI.pm will get fixed... ever? | 11 Aug 2008 19:13 GMT | 2 |
It would be really nice, someday, to use the $cgi-
>upload('file_input') method and get back a real IO::File handle that works right and, oh, you know, maybe could even be passed to LibXML or something...
|
| XS PM needs big data file (~80mb) to operate | 08 Aug 2008 08:43 GMT | 2 |
my C module needs to consult a data file (~80mb) is there some perl/unix common practice where to store such accompanying data and how to reliably open it from the embeded C code?
|
| Question: How to use SAX::Machines to get back sub-document as XML | 07 Aug 2008 17:03 GMT | 1 |
Heya, all, I'm wondering if anyone has ever needed to, or know how, to do this: I need to use SAX, because I'm dealing with XML that's too large for XMLParser. This I know. And in the end I'm needing to load it into
|
| XML::Simple XMLIn() and odd chars | 06 Aug 2008 15:52 GMT | 13 |
I have an xml file that I'm passing through XMLIn() and the source xml has chars that look like this in vi: Theyâre After I look at the parsed tag via Dumper() I see this in vi:
|
| Using a DBI connection in many places (in the code) | 06 Aug 2008 01:58 GMT | 5 |
I've searched around but did not found any satifiying answer; maybe what i'm trying to do is not to be done in Perl, but i just want a confirmation. Here's the code i try (it don't work)
|