I have two files:
file 1:
JOHN N/A N/A 0:05 0:30 2:00 Still running
HARRY CALIF client006 2:30 4:00 4:24 4:39 10:54:46 10:54:46
file 2:
Name...
I am reading a simple ASCII string from /dev/ttyS0 continuously from a backgrounded perl script.
The device is sending a small "ALOHA" string every ~0.5 seconds. After a really long time, the...
Hi Experts,
If possible please provide me, books on perl scripting or programming.
Thanks
Hi Experts, Using Perl, I need to find and take the last 100 lines from a red.log file and add them to the top of green.log file if and when red.log => 500 lines. Any ideas? thanks
I expect the script below to sit and when a record is written to the sec_fifo file. it should write a record to the simple_event table - instead it outputs the file contents and quits.
...
Hi,
I asked a previous question (http://www.experts-exchange.com/Programming/Languages/Scripting/Perl/Q_23254483.html) to find out how to split a text string ("123456-blah") into two parts...
Hi experts,
I'm modifiying a calendar script developed many years ago for a client to allow HTML formatting in one of the fields. The field is called $description and it formerly only acce...
here is what I am trying to accomplish.
1. Process an ini file (ghost) to search for each one of the headings -> [code]
and build a menu off of these. (so far this looks like it works)
...
Is there any Windows perl module (installable and well running) for Shared Memory?
It seems that modules like
IPC::Shareable
Win32::MMF::Shareable
are not ready to use (Activestate Per...
How do you format a date like dd-mmm-yy or mm/dd/yyyy in Perl? When the user inputs a date, the output is formatted to dd-mmm-yy or mm/dd/yyyy.
When I try running the client on a different machine from the server, the IO::Socket new method returns 'connection refused'. Here is the server:
use IO::Socket::INET;
my $s = IO::Socke...
I'm very new to perl and am looking for assistance on building a simple pattern matching program that runs a command on a linux box, stores the output in a variable, then based on a pattern ma...
I am trying to set up a basic Contact Us form using the formmail.pl script on one of my websites. However, I keep getting internal server errors returned when trying to test the form on the ...
I use the following Perl script to add the results from an xml file parser to a MySQL database. The problem is that I need to add the $result->query_name as a separate field, but when I try to...
I have some code that I need to improve for performance, so I need to understand where it is slower.
The simple Bentchmark is not enough, since I have subroutines calling other subroutines,...
hi
im in the process of moving our trouble ticket system to a new server. ive installed activeperl and configured everything the same as the old server, but cannot get the website to load....
I've the script below that looks at a file and compares the time it was modified to the system time and sees if the time is greater than 15 minutes or not. I've run into the issue of the file ...
Given a hash : %detailModel
with keys: $model = "Alpha Name of Automobile"
Holds Values as Pipe Delimited (E.G): PICKUP 1/2T|999999|1999|DODGE|2003|99
So Thats: Make|Account|Year|Make...
1. I want to do an http post or get for an html form using Perl LWP. I want to create the order entry form (customer name) as one parmeter and (item_no,stock_no,stock_desc,stock_qty,unit_pric...
how to make this script generate result faster?
it will take sometime to generate. previous server are more faster. is that any setting that we need to change for perl?
the live URL is h...
I'm trying to create a form that would collect data using checkboxes and radio buttons in Perl. I've finally figured out how to collect them separately but I'm not really sure how to collect ...
Hi,
Can anybody tell me how shall I split following string with the SPlit operator from Perl scripts...
\\ something.anything.nothing.everything\muchthings\manythings
into
something.an...
I want to schedule a perl script on a windows task scheduler. Please advise. How do I do that.
i'm looking for a good way of howto dump data from a hash key with a unknown number of keys
and dimesions into a readable textfile, the data source is a windows registry key.
use strict;...
I know this doesn't work but, combined with the question, I think it will point to what I'm trying to do
perl -pi.bak -e "s/AAAA/ZZZZ/g" *.*
This returns a
Can't open *.*: Invalid argu...