Advertisement

635 organizations, including eBay, Ericsson and Lockheed Martin, now work smarter with Corporate Accounts. Save up to 42%

 

Welcome! If you have any general questions about Experts Exchange, feel free to ask me.

 
Top Perl Solutions: 176 - 200 of 317
 
We have got a project where we need to clone around 600 applications of different technologies like JAVA,MAINFRAMES,ASP.Net, and PERL. Currently we are unable to find the approaches for clonin...
Hello: Newbie here... I need a script that displays the date entered by a user as a string. The date can be entered using numbers and forward slashes. I need the date, for example, 6/06/08 di...
I have two scripts from previous EE solutions where I looking for "sep" records only and then in the second script I'm looking for the smallest number in the fourth field: #!/opt/perl/bin...
Hi All I have a script located in: /usr/local/etc/httpd/cgi-bin/Administrative/Library/Delete.pl I'm trying to delete the entire folder at: /usr/local/etc/httpd/cgi-bin/Cart/Data/Account...
Hi, I'm trying to parse a multiline grammar in a config file.  Example file attached.  I need to extract ONLY the "zone: zone_name value1;value2;value3" entries from the file.  All other te...
I am using Nagios to monitor a group of servers.  Because of the SLA promises made to get this contract we need to be able to get notifications that will wake us out of a dead sleep:( What ...
I am executing following SELECT query from my perl program and I am using DBI interface my $test=$dbh->prepare("SELECT AVG(diff) FROM data WHERE key1='s' and key2='i'"); $test-> execute(); ...
ok, I am running a series of commands for encoding videos, audio, and some other things via windows with apache / perl. I have (with some help from this site) come up with a sub routine define...
I'm trying to create a simple program that will read a text entry and it will return a list of word pairs and their counts. The problem in the code that I'm testing is that after I enter th...
I need a perl script tto run on windows which will look for all .wav occurences within all xml files under a certain dir. Also it will remove all duplicate wav files and print it as a list of ...
return array from <STDIN> and divide each number for new array  by 2.   Currently returning 0 or 1 in my list and I need to be returning a second restored array. Any help or suggestions will...
Hi, I'm connecting remotely to a computer using  Win32::OLE->new('WbemScripting.SWbemLocator');  I know how to get the computer name by using ->ExecQuery( "SELECT * FROM ads_computer" ); ...
How do I run a script as a background process on a Windows 2003 Server?  There is a ton of information on Unix/Linux, etc.  but not much on Windows.  So far I have seen that I "perhaps" need t...
I would like to count # of lines in a text file and store the result in a another text file. Please give me some directions. Suppose wc-l filnename gives me 1000 lines, I would like to s...
I need help with a perl script that runs the unix command 'who' and then interprets the output to find the oldest logins by date/time and then runs commands against only and all the previous u...
Hi All, I have started writing in perl. it is fascinating. we are using perl 5.8. I need to implement exception handling in my code. I will attach the code below. Need some help and exa...
Besides sloppy code, I am missing something. reading through eventlog and printing only the errors from yesterday to current time. Getting the below errors. Maybe you can show how to ad...
Hello i have this function sub loginPrompt() {   login($id, $pass); } loginPrompt(); sub login($$) {   $browser = LWP::UserAgent->new(agent =>'Mozilla/5.0 (Windows; U; Windows NT...
i have 5 Perl scripts and i want to run them simultaneously on Windows. I tried to write a perl script or put all cmd command to run them into a .BAT file but it only run them one by one. Wh...
I need to search & replace text in a number of files. Text is usually in the format "ABCDEFEG-XZXCVBN Page y of  300". I cant use the standard search and replace because the page number in th...
I have a file called test.csv .  I like to count the test.csv.  If lines in test.csv is more than 100, then save the file to a file with today's timestamp like  test.csv_11092008_1010 .  Thanks.
I am very new to perl and would like to know how to parse out information from a series of files into a new file. For Example the file has table rows with the following information. <tr><t...
What (if there is one) is the best module to use to stop and start services on a remote windows server? I'm trying to get away from mapping a drive and calling another application like netsvc ...
I have a line in a text file that is in essence a record divided into fields  by commas. There are 25  fields. I need to change the 4th field. I can use split to get each of the 25 fiel...
How to make a double associative array so I can do five computers in each of three rooms.  Each computer has its own host name value and there are five computers inside each room.  There are t...