Showcase your knowledge about Apple's newest OS. Write a how-to or share a tip or trick about Snow Leopard and earn unlimited points!

 

Having problems asking a question? Have a general question about Experts Exchange? Let us know!

 
Top Perl Solutions: 76 - 100 of 306
 
Hi Experts, This is gonna be gravy for all you apache meisters out there.. I'm running an apache2.3 web server on Debian 4.0 and serving the site "mysite.domain"  I'd like to set up a "...
I would like to match the key word calculated, but I would like to exclude the matches if calculated is preceded by ( as with a whitespace) or it has parenthesis. In other words, as calculate...
In my perl script I need to copy a file to back it up, and append a date at the end of it. I don't know how to do this in perl. This script will be executed Linux. Thank you.
Our organization is in the process of moving a perl application to another server. It is our intent to shut the sever that the perl application is currently sitting on. When users go to the...
I have a file with data something like this: 08:04:10        JOHN    36595. Customer Not Present                               08:06:06        SMITH    36595. Invalid Customer first co...
I'm iterating through a file and am only interested in lines starting with DNE, for such lines, how can I just retrieve the name of the file? ie qo.lib, qe.lib... ... bla2 include OPTDNE...
Hi, I have installed perl and apache2 on ubuntu linux. perl file are comilable through shell, but when called from browser, it asking to save the pl file. I made then I added :           AddHandle...
In a script I have a section that parse a file and sort the lines which I need the line of each user which is the most current date. Below is a example of the code that does this part, the ...
Hello Folks, very urgent please..... It would be great if someone can help me in perl script. I have a perl script named sys_report.pl which reads a log file named auditlogfile.txt an...
I have a large text file that contains multiple subsection. Each section starts and ends with the same text: Starts with:   %%%BEGIN_SECTION Ends with:     %%%END_SECTION%%% I would lik...
I'm connecting to an ftp with my perl script fine, also logging in fine. I am able to change the directory fine. The problem is actually LSing the directory contents. Snipit of my code... ...
Given a date format: YYYYMMDD. Is there any way to validate this is a right date? For example, 20090229 is valid but not 20080229?
I think this should work, but it returns "0" in my variable.  In my perl script I want to do a simple select statement. Maybe I'm making it too simple and it needs to be more complex?
Suppose I have a file called "test" that contains the following two lines: Line1 Line2 Can someone explain to me why perl -p -w -e 's/(Line1\n)/MATCH:$1/m' test returns: MATCH:Line1 ...
my $pathDir = C:\test\test2; open (fileout, ">>$pathDir\output.txt"); is this suppose to work? because its not for me
I read data in the datagrid using an array collection. I need help in limiting the number of characters that is displayed or entered into one of the datafields of the datagridcolumn. I would n...
i have a list of customers in a file i need to read each of them from a file and do a select from a DB using DBI something like select * from table where customer = "$customer" what i...
What is the difference between substitution and translation in perl? Could you please help me to understand with a example. Thanks!
Hello I have for exemple <xm><xml>TEXT</xml></xm> how do I print the text between two matches patterns like  <xml> and </xml> for example to get output is TEXT ?
I have 3 files with one column of last names in each of them. I need to find the last name which is common in all the three files. the column is something like this SMITH DANE etc
Hi all I want to add the next letter to a number, example: If a number was 12345-A the next number would be 12345-B If a number was 12345-G the next number would be 12345-H
currenlty i have if loop something like this reading from a file  if ($line =~ /ERROR/ && $line =~ /TYPE/) { if ($line =~ /Halt|Resumed/){ I need to change these statements to case ...
I have a complex problem to solve. I tried different ways but could not get to work, since its time bound I need a solution from experts in this. I have two files (I have placed them as exc...
I have a perl script on the server that, if ran accidently, will cause improper and destructive edits to my database. Currently I run it at the DOS prompt    e:>runpaid.pl and it prompts me t...
what is the right code to create a utf8 .dat file with perl  in a cgi perl script