When I trying to parse excel using the Perl module Spreadsheet::ParseExcel I am getting this error:
Error PPS:0 oot EntryÿÿÿÿÿÿÿÿÀFªú²È®È-§¦¯È1W
Not sure why. Please advise. I ftp the file...
I have an array in which I want to remove duplicate elements. I have seen several solutions for this using a hash. I tried these methods but my problem is that my data often consists of whites...
I am running this command using Perl system command. I want to write the output to a file. Please advise how could that
@args=("ssh","user\@$server","cat ~customer/logs/runServer.log");
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 ...
foreach (@clientNames){
# $_ represent the next client name;
# loop through list
print "\nProcessing client [$_]:\t";
@args...
Hello,
With reference to following question:
http://www.experts-exchange.com/Programming/Languages/Scripting/Perl/Q_23203989.html,
I require an additional help. Please refer the attached...
Hi guys hope u r well and can help :>)
I have a drive that contains a lot of files named "index.html".
These files are scattered through folders and subdirectories.
What Id like to do i...
Hello,
I want to print $i if it is a multiple of 10,000. So 120000 should be printed but NOT 12025.
print $i
unless $i is not a multiple of 10000;
Is there a script that can be used to compare files on multiple servers that are in the same directory structure?
Hi,
I am used to writing perl CGI scripts but I am very new to writing perl applications.
I have tried out perl2exe to convert my scripts to executables and I have installed the Win32::GUI...
hi guys,
i have to perl script which has shell script extention like
script name is deploy.sh
#!/usr/local/bin/perl -w
# $Id: deploy.sh 1214 2007-04-04 19:45:36Z $
# Testing
how to ...
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.
Hello Experts,
I have a file like given in the snippet. I want to remove the lines with starting symbol "==>" and in addition, I want to remove the empty line above and below that line; so ...
I have a sctipt that check either the last line starts with either TOT or TR . It check that there is date between the first and last line. It also check if the first line start with HD. How...
I have few perl scripts, was working well till few weeks back. Suddenly they started picking wrong localtime - the value returned by localtime function. Most of the time it returns correct val...
I have some problems with pressing Escape, anyone can tell me how to press Escape in Telnet via Perl?
I am trying to pull the matching lines from file 1 after comparing a string in the second file
File1
00020804,1,55271,M09T,3
00026934,1,55271,M09T,3
00051577,1,40705,C09T,3
00032182,1,581...
Hi
I have a log file with entries in the following format - (all in single line (no word wrap as below))
21:29:23 05/10/2008 from=192.168.0.1:162 oid=1.3.6.1.4.1.311.1.1.3.1.2 trap=link ...
Alias UID
AAbad antonino-19895784
AAbadilla albert-20059875
AAbeid alaa-20015842
AAbraham2 anson-20063684
AAbyzov andrij-20089578
aacunzo antonio-19843587
AAdeogun ...
Hi, say I have the following text:
"TOKEN1::STILLTOKEN1:TOKEN2:TOKEN"
and i want to split it as
TOKEN1::STILLTOKEN1
TOKEN2
TOKEN3
so it will recogize : as a delimiter, but not :: ? ...
Attached is a file to parse and replace strings wich is in between @xx@ symbol.
Replace string will be stored in another hashmap as a value and key will be same as @xx@.
Please help me wi...
Hi all,
I am having some trouble here trying to remove some html tags and its contents from a variable, I am extracting a report from a CGI, doing some modifications and sending it via HTML...
I got help to parse the content and store as a key value pair in a hashmap for the following content.
insert_job: TEST job_type: C
<A HREF='/cgi-bin/autorep_dev_vsl.pl?job_name=box_succe...
I find myself needing to write a small bit of Perl, but despite my best efforts and many searches I can't seem to get it right (give me PHP any day!).
All I need to do is search a text file...
How do I remove the ^M at the end of each line using Perl