473,573 Members | 3,344 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Perl Forum

Perl programming language - ask questions about perl programming, syntax, variables, scoping, constructs, operators and functions, files, I/O, regular expressions, regex, subroutines, OO (object oriented), perl modules, CGI and more.
0
2,245
thread by: Chris | last post Jul 19 '05 by: Chris
I'm new to threading in perl and I need some advice/help/sample code. I basically want to loop for a while and spawn say 5 threads each doing something. As a thread ends I want to check it's exit status and spawn the thread again. Now I want to exit the loop after a period of time but I also want the threads to finish completely before...
0
1,472
thread by: Selwyn Leeke | last post Jul 19 '05 by: Selwyn Leeke
I'm trying to run a TCP/IP monitor from a perl program so that I can open and write to a socket at the same time as moitoring the packets. I need to run the monitor program and grab its output so I can break it down and interpret it real-time. Ive read in Perl documentation that most inter-process communication commands arent implemented in...
0
1,868
thread by: kamal | last post Jul 19 '05 by: kamal
I am trying to dump a hash using Data::Dumper. I need to quote the keys while dumping. My progarm looks like this use Data::Dumper; $Data::Dumper::Quotekeys = 1; $Data::Dumper::Useqq = 1; my %tmp ;
0
1,926
thread by: Aditya | last post Jul 19 '05 by: Aditya
Does any one know how would you link PDF form fields with SQL database using ASP perl? I want to extract the data from the PDF form and insert it into the database and vice versa. I read a lot about using FDF (File data format) but I am having a hard time implementing it. Would really appreciate any suggestions you may have. Thanx,
0
1,655
thread by: sydemon | last post Jul 19 '05 by: sydemon
Hello, I have the 3.2.2 version of the big nose bird survey script and have a problem with cookies. When i allow the survey users to view the results, the cookies work and prevent multiple votes. But when i send the users to a thank you page (via $JUMP_URL variable), the results are logged, but a cookie isn't dropped and the user can vote...
0
1,259
thread by: Roman Khutkyy | last post Jul 19 '05 by: Roman Khutkyy
Is there any way for Perl script to use subroutines from another one? Thanks.
0
1,889
thread by: SRam | last post Jul 19 '05 by: SRam
Has any one implemented server using Net::Server. I need the code. In seamons.com where Net::Server synopsis is given. It's inadequate for me. I need sample source code..
0
1,877
thread by: danpres2k | last post Jul 19 '05 by: danpres2k
Hi, I have following statements @filename = split("_", $cgi->param ('filename')); //similar multiline code $env_profile = $cgi->param ('env_profile'); $command = "/app/ics/bin/$input_app -U\${USER} -P\${PSWD} -S\${SERVER} -D\${DB} -F\L@fileinfo\E -I\L@fileinfo\E -C@fileinfo -T$type -B$branch -R$code";
0
1,364
thread by: Anonymous | last post Jul 19 '05 by: Anonymous
We have 20 or 30 Perl books, all new and in perfect condition, that were purchased last year when we were about to start on a large project. Instead we ended up using Python and these books were never used. We will sell the complete collection at $10/book (most cost around $30-40), plus shipping. Prefer a buyer in the San Francisco Bay Area...
0
1,246
thread by: SRam | last post Jul 19 '05 by: SRam
Is their any good book for writing servers using Perl
0
1,402
thread by: Glenn Kidd | last post Jul 19 '05 by: Glenn Kidd
I am trying express a regular expresion used for substitution that is causing me problems and I was hoping that someone might be able to help me. The first part of the regular expression is easy, specifically to match "$!?*", but I do not want to match this if it is prefixed with the regular expression "Foo\.bar\(\s*". Also, on the matches I...
0
2,254
thread by: ian douglas | last post Jul 19 '05 by: ian douglas
RedHat 7.3, latest patches on everything, cannot be upgraded to newer releases of RedHat Apache 1.3.27 modperl 1.26 Apache configuration: <IfModule mod_perl.c> PerlModule Apache::DBI
0
1,670
thread by: paolo | last post Jul 19 '05 by: paolo
is there anyone who has used blat? I have problem when sending a mail from a cgi-script. Any errors arent displayed on the html-page, but the mail is not sent. the code looks like this: #!/usr/local/bin/perl print "Content-Type: text/plain\n\n"; $from = 'test@hotmail.com'; $to = 'paolooracle@hotmal.com'; $subject = 'subject';
0
1,371
thread by: Wes Groleau | last post Jul 19 '05 by: Wes Groleau
OK, this has probably already been done a hundred times, but I wanted to get some practice. But I'm doing something wrong and I can't see it. File "PickOne" is: #!/usr/bin/perl @words = <STDIN>;
0
1,475
thread by: mike | last post Jul 19 '05 by: mike
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...
0
2,897
thread by: Vince | last post Jul 19 '05 by: Vince
I'm getting link errors trying to install DBD::Sybase 1.0 on AIX 5.1, running Sybase 12.5.0.3 64-bit and Perl 5.8.0. DBI installed fine. I have tried building DBD::Sybase with both 32 and 64-bit support; both give the same errors. The "perl Makefile.PL" runs without errors, and finds all of the appropriate libraries. The "make" runs OK...
0
1,183
?
thread by: Trent Curry | last post Jul 19 '05 by: Trent Curry
Is this group closing down?
0
2,127
thread by: JD | last post Jul 19 '05 by: JD
I've been looking for a way to put a directory tree on a web page. This would need to be done 'on the fly' as the contents of the directory will change on a regular basis. I also need to have each folder and sub-folder as clickable links. Anyone have a script or know of where one is ? I figured I'd ask before I start to try and figure it...
0
1,911
thread by: Randell D. | last post Jul 19 '05 by: Randell D.
Folks, I have a number of years with HP Unix and Linux but I've never dipped my toes in to Perl - I currently have SuSE 8.1 at home and am using webmin (www.webmin.com) to update Perl 5.8.0-45 (I've got the version number from rpm --query). I want to apply the ImageMagick module so I can make better use of MoveableType.org's blogger tool. ...
0
1,570
thread by: marko | last post Jul 19 '05 by: marko
How to convert 8bit numbers to 7bit numbers? Thanks, Marko
0
2,001
thread by: Carmine | last post Jul 19 '05 by: Carmine
Is there anyway to execute this select statement with dbi? select 'grant select on ' concat substr(viewschema,1,7) concat '.' concat substr(viewname,1,18) concat ' to ' concat dbc_xid_user_id concat ';' from syscat.views, ls2user.vls_db_connection where viewschema = 'ls2user' and valid='Y' and seqno = 1
0
1,370
thread by: pjhoust | last post Jul 19 '05 by: pjhoust
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 times 1545, 1552, etc. The client just hangs on a write (as seen via truss). File systems...
0
2,966
thread by: Dustin D. | last post Jul 19 '05 by: Dustin D.
Let's say I have a text file with the following: food { fruits { apples oranges pears } dairy { ice_cream {
0
1,449
thread by: Mark | last post Jul 19 '05 by: Mark
Has anyone used Perl to test logon to MS Exchange OWA, using WWW::Mechanize or another method?
0
1,574
thread by: Jibba Jabba | last post Jul 19 '05 by: Jibba Jabba
I need to change the IP address of about 200 DNS records (zone files) and also increase the serial number by one for each. Is there a script out there to do this? I'm not a pro at perl scripting and my ISP has forced this on me and so I'm under pressure to get this done asap. Basically I need it done like this: 1) Look through all zone...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.