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: 276 - 300 of 317
 
I have this perl script that isn't working. I want it to display all of the songs that are in the folder, but it only shows 13 songs instead of the 24 that are in the folder. I can't figure ou...
Greenfly Problem: Greenfly can reproduce asexually. After one week of life a lone female can produce eight o ffspring a day. Starting at the beginning of day 1 with a single mature female,...
I'm trying to write a simple perl script but I'm getting this error among others. This one is the first one: Bareword found where operator expected at C:Perl/bin/music.pl line 7 near opendir(...
I have the following code in which I count the number of records that have the word "MAXRUNALARM" in the 3rd field $line[3]. But, now I need to exclude certain records if they have the foll...
Hi, Once our company found out that one of the port scanners we use to feed into ISS' vulnerability scanner required a different license, I was asked if I could write one. I did manage to wri...
My sql table looks like this username  value1  value 2  value 3 My perl program o/p is $username --> test        (always remain same) $value= 1 , 2 , 3 , 4 , 5    (different o/p which ...
I'm trying to open a file, check the file to see if it contains stuff that I am about to write (if it does, don't write the new stuff), then write/append to this file. I'm using the +>> ope...
I want to be able to compare two files in an array, based on their mtimes.  I can use File::stat to get that, but my problem is formatting the code as concisely and accurately as possible.  I ...
I am trying to control the flow of this program but having problems stopping the loop while.  The code is attached to this question. Thank you for helping. I am learning and trying to learn an...
Hi All I need to strip out the last page name in a variable. IE, the variable my look like this. $variable = http://www.mydomaim.com/PageName.php $variable = http://www.mydomaim.com/...
Hi nice people... Ive been working with you kind folk on a problem i have involving 2 files, which are: http://192.168.2.100/simeswiki/testing/testing.php and /var/cgi-bin/file-upload...
I'm trying to parse the 'layout' elements in the below XML.  This is the code I have so far: ========== use warnings; use XML::Twig; sub setup_template {         my ($twig_v, $cur...
Hi  , I need help in writing perl script to compare two databases . Sql to puit inside is simple: select count(*) from vtest . Can some one help me .thanks, gyans .
I have a search results page where the search_results.cgi is an include in search_resutls.shtml. This way the results get printed out in a nicely formatted page. (I did not write it, I am jus...
Hello, I have a CSV file with 5 columns of data (N number of rows) in the following format: Descr, Name, X, Y, Z (where Descr values are all  unique from each other .. another words, column 1...
I need a sample for how to create and object of a class in perl. Pass this object to another class Explanation ==== main code ======= #!/usr/bin/perl use utility; use blobManage; ...
I have installed DBD::Oracle Perl Module and works file as root. But when I log in as a user and try to run a script that uses the module. Here is the error randalp@devon24 $ perl -e 'use...
I'm attempting to run a transient shell script as a different user on the same host. I have this working however, once the command runs, it's not returning control to the parent perl script. H...
I have a question, I'm crating a script that will calculate the TF from a document. I have the document stored in a vector. My question is when I print the vector I get the frequency of tim...
The numbers in column 30 go from 0-1-2-3-4-5-6-7-0. They can say at the same number for a variable amount of time. I need a script that catches any time the number is the not the same , incre...
Manual telnet would produce: User Access Verification Password:_ When I use the code below, I only get: User Access Verification (Can't get to the password prompt.)
;&EVENT[__psmi_1](psmi, THREAD => 0, TRIGGER => &TRIGGER[__retire_1](retire, LIP => 0x203f, TRIGGER => &EVENT[__smi_1](smi, THREAD => 1, TRIGGER => &TRIGGER[__eom_1](eom, LIP => 0x203f, THREAD...
I have a cgi wrapper script that calls a command line virus scanner, and produces some HTML output based on the results of the scan.  I am not a Perl expert, so I figured on of you Perl wizard...
I have a script that needs to have an email acknowledgment sent to a cusmter through email. I have everything ready but this. Can someone help me with the sendmail function? Thanks~
We are taking over an app from a small time guy that wasn't backing up his systems and lost the production environment.  Part of the install instructions from him was to just copy over his Per...