get the return status  

hi in unix, i have a program called program_a and i use the system call to invoke it system("program_a"); How do i get the return status of program_a if program_a returns a few status codes... thanks... Continue Reading
Views : 218
Monday 26th of November 2012

Web automation  

Hello, I want to fill out and submit Html form (not manually) using Perl or other scripting language if necessary. Html form is composed of pull-down menu and can lead to another html form when submitting the first one. Is ... Continue Reading
Views : 53
Monday 26th of November 2012

Socket Hang  

Created a small client/server app in Perl that sends commands and data over a persistent socket basically copying files from one machine to another. Works flawlessly until approx. 1550 files (each 200k) are copied and then just hangs--mostly 1550, other ... Continue Reading
Views : 55
Monday 26th of November 2012

Quick question -- script issue  

I pulled this script out of a larger one to test, and I can't figure it out. If I keep this script in the same directory as the files I want to read, it works fine, but if I move ... Continue Reading
Views : 117
Monday 26th of November 2012

Need a good book help me do interpreter  

Hello, I want a good book that help me do a perl program that is used as interpreter for a small, BASIC-like language. I need a good book that help me doing this please if there is a good website ... Continue Reading
Views : 236
Monday 26th of November 2012

Re: help with mainframe file  

GregD wrote: $PHXGREAT Im working with a mainframe file that contains packed decimal fields $PHXGREAT in some of the records. Each record (line) is supposed to be a fixed $PHXGREAT length of 200. Part of what Im working on is ... Continue Reading
Views : 387
Monday 26th of November 2012


Sorry, I cant comment on the perl as yet but, are you not in the least bit worried that someone might hack into your base system - get the unencrypted password (old password) then log on - using ssh to ... Continue Reading
Views : 41
Monday 26th of November 2012

win32 adodb/mdb; con.execute returns undef and not recordset.  

hi, I have been using a micro$oft mdb with adodb in win32 perl. the problem lately discovred is not ready to get solved. i need to check duplicate and i do a count(*) before insert. what happenbs is count(*) return ... Continue Reading
Views : 197
Monday 26th of November 2012

posix vs perl regular expressions  

Hi, I don't know if this is the right place to ask this, but - what's the difference between posix and perl regular expressions? A good example is "aa|bb". Will this match "aa" or "ab" in perl and posix? And ... Continue Reading
Views : 191
Monday 26th of November 2012

Forking Server  

I a writing Forking Server for a Small application.. This is code for multiplexing my $listen = IO::Socket::INET-$PHXGREATnew(Proto =$PHXGREAT 'tcp',LocalPort =$PHXGREAT 2323, Listen =$PHXGREAT 1, Reuse =$PHXGREAT 1) or die $!; $listen-$PHXGREATautoflush(1); my $readable_handles = new... Continue Reading
Views : 54
Monday 26th of November 2012

SOAP:Lite Limitations re: https  

The Following Perl Works: use strict; use warnings; use SOAP::Lite; my $soap = SOAP::Lite -$PHXGREAT service(''); However The Following Perl Gives an error: use strict; use warnings; use SOAP::Lite; my $soap = SOAP::Lite -$PHXGREAT... Continue Reading
Views : 152
Monday 26th of November 2012

Need help on split-function  

Hi All, What I want to is using a string as PATTERN in a split function. This makes it possible for me to change the PATTERN on one place in my script... For example: $separator = ";"; $line = "field1;value1"; ... Continue Reading
Views : 83
Monday 26th of November 2012

concatenate files recursively in win32  

I admit it. I'm a newbie... I want to concatenate a series of text files by recursively going down a folder hierarchy. All the files have the same extension (*.txt) and I'm running WinXP Home with ActiveState Perl v5.6.1 Any ... Continue Reading
Views : 417
Monday 26th of November 2012

Bidirectional Win32 client  

The Perl Cookbook Bidirectional TCP client does not work in Win32 ActivePerl. Does anybody have a fix for this or can recommend me an example of a working Win32 client?... Continue Reading
Views : 155
Monday 26th of November 2012

Problem inserting to an Access database  

Hi All, The following piece of code is what I have tried to update a simple Access database (none of the commented out code worked either). The connection to the database seems to be fine because I am able to ... Continue Reading
Views : 51
Monday 26th of November 2012

strange replacement of . and , with octal counterpart  

The following code produces fine result when everything is hard wired but replaces '.' and ',' with there octal counterparts when the variables are passed to it. Can't figure out why. I would appreciate if anyone could shed some light ... Continue Reading
Views : 168
Monday 26th of November 2012

Access Right for Perlscript to Read Windows EventLog Remotely  

I am trying to read the EventLog of different servers on the network. If I run the script in a command line, it works well. But when I try to put the script into the Web server (IIS in Windows ... Continue Reading
Views : 50
Monday 26th of November 2012

Tie a file handle to a variable  

Hi how can I tie a file handle to a variable (probably tie is not the right perl terminology in this case)? Basically I want that everything that is written to a file is copied into a variable as well. ... Continue Reading
Views : 412
Monday 26th of November 2012

Phone number regular expression...  

Hello everyone! First, I appologize if this posting isn't proper "netiquette" for this group. I've been working with perl for almost 2 years now. However, my regular expression knowledge is pretty limited. I wrote the following expression to take (hopefully) ... Continue Reading
Views : 296
Monday 26th of November 2012

Hashes of Hashes via subs  

Hi All, I want to create a hash array, based on values in a database. Basically, I want a hash array for each database key and I want to use a sub to get the hash array, but I am ... Continue Reading
Views : 65
Monday 26th of November 2012

Reading ARGV _AND_ trying to have redirectable STDOUT   

This is probably incredibly obvious, but I'm just not getting it. I need to accept an arg (I don't care if it's from getopt or @ARGV). and I need to be able to print to STDOUT. So far, so good. ... Continue Reading
Views : 175
Monday 26th of November 2012

glob and regex  

Hi, I have a problem using regular expresions and the glob operator. I want to get files with a specific name format from a directory using glob. The regular expresion I use to match the name format is /[A-Za-z]{2}_\w{2,5}/ Any ... Continue Reading
Views : 171
Monday 26th of November 2012

OT: IBM Emancipates 8,000 Wage Slaves (funny)  

ARMONK, NY-In a move hailed by corporation owners as a forward-thinking humanitarian gesture, IBM emancipated more than 8,000 wage slaves from its factories and offices Monday. Continue Reading
Views : 47
Monday 26th of November 2012

string arrays  

Hello, I am trying to store approximately 50- 100 million variable length strings into an array and of course this is not working due to memory constraints. I have converted the strings to unique integers and then stored the integers ... Continue Reading
Views : 64
Monday 26th of November 2012

h2xs more modern layout and multiple related modules  

I appreciate parts of the "more modern layout" which the 5.8.1 version of h2xs now produces. However, in the past one could type "h2xs -X -n My::Obj" and then type "h2xs -X -n My::Obj::SubObj" to create the stubs for two ... Continue Reading
Views : 214
Monday 26th of November 2012

How to propagate -w and use strict to evaled code.  

I have this template code (wptk.template): use Tk; use vars qw/ $mw /; use strict; $mw = MainWindow-$PHXGREATnew; print "wptk.template ARGV=@ARGV!\n"; $^W = 1; my $stat = do "$ARGV[0]"; if ( not defined $stat ) { print $@ if $@; ... Continue Reading
Views : 137
Monday 26th of November 2012

Modules for XS.  

I need to call C functions from my Perl code, which requires XS. Since I never used it before, I want to know what modules need to be installed in order to use XS. Thx!... Continue Reading
Views : 45
Monday 26th of November 2012

Student/Teacher Project/Assignment for sale !!!!!!!!!!!!!!!!!!  

Please view this website Subject: This project is designed by a job seeker who try to look for a new job. But he wants to make sure how many fax numbers he has already used to fax his resume ... Continue Reading
Views : 52
Monday 26th of November 2012

converting text data  

I have data which is in this format: ### data ### area=1101 home=003 mzer=00020 mzec=101 pmpr=00000 pmpc=102 bnsr=00000 bnsc=103 potr=00100 potc=104 swtr=00000 ### end #### and would like to produce the following data area|home|amount|code 1101,003,00020,101 1101,003,00100,104 In short I would... Continue Reading
Views : 78
Monday 26th of November 2012

Convert coordinates XY into LAT-LONG  

Hi I search algorithme to convert XY into Latitude/longitude to use customer data with GPS... thk in advance.... Continue Reading
Views : 69
Monday 26th of November 2012