I'm trying to use Perl to automate a specific test process, but OS buffering is defeating some of the main utility of it. I run a program like...
Hi, I have a configuration file which is in a perl hash (of hashes and arrays) format. $hash = { key1 => { key2 => val2, key3 => val3, },...
Why do the two 'print' lines behave differently in the following? #!/usr/bin/perl -w use strict; use warnings; $/.=$/; while(<DATA>)
I hope the subject isn't too misleading... I am trying to find the number of elements of each "data" array in the following: -- use...
"Daniel" <dvdoord@planet.nl> wrote in message news:3f4c7dbf$0$49114$e4fe514c@news.xs4all.nl... $var_total = eval($var_tmp); will do what you...
Hello, I hope someone will be able to help me with this. I am trying to set up a connection to my MySQL database using perl. I already have...
my $procspeed="state on-line state_begin 1058768026 cpu_type sparcv9 fpu_type sparcv9 clock_MHz 450"; How come this: $procspeed=~...
Hi, I'm thinking about writing a script in either Perl or TCL, but before I start, I thought it would be a good idea to find out how they...
When exec is used to shell tar, and tar is piped back to stdout, after the apache timeout, if the download is cancelled, tar locks up and uses 100%...
Hi, As per my previous posts, I am searching for a way to open a text file that contains a few paragraphs of text, locate web URL's and replace...
I have a .csv file with 1750 records to reformat from time to time which look like: Zenia,7.25,Trinity So far, I'm now getting: ...
Hi, perl -le 'print 4==7 ? 0 : 1' produces "1" as output and perl -e 'die 4==7 ? 0 : 1' produces "1 at -e line 1.". But
I'm a little frustrated with Perl's line-by-line file reading and I am hoping that someone can help me. I have a data file that looks like: --...
I am trying to write more automated code - either I am a lazy typist or am just trying to get more with it! I have a hash I define; I have a form...
Hello, In PERL how do I execute a block of code every "x" seconds? I'm talking a loop or similar but it runs every x seconds, where x is given.
Hey, after going through several responses to my previous enquires about file locking, I have opted to go with the following. Please have a look and...
Hi, I'm placing a username and password form on my site but can't decide on the best way to do it. I've looked at Apache Session ID Encrypted...
I have each month to download all the logfiles from my web server as GZ compressed files. From each domain access and referer log files. The...
I am trying to convert this snippet of c++ code to perl and am having some problems getting the results to match up. I was hoping someone might be...
Hi, Trying to run MIME::Parser from amavisd (in chroot jail) and am getting a writing/reading tempfile error. Permissions are 777 and amavis...
Use this control to limit the display of threads to those newer than the specified time frame.
Allows you to choose the data by which the thread list will be sorted.
Order threads in...
Note: when sorting by date, 'descending order' will show the newest results first.
Forum Rules