Do not use on any
shared computer
July 25, 2008 02:26pm pdt

Experts Exchange is proud to recognize the top quarterly Experts of 2008. These Experts have risen to the top, so CONGRATULATIONS!

 

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

 
Time Tested Perl Solutions: 951 - 975 of 1180
null
This is not necessarily a Perl question; as utilities may exist to do this as well...  Here is what I would like to do to ALL video or picture files located in a directory: 1. Copy over the...
I have a text file with links like: <br><li><a href="http://www.domain.com">text</a> <br><li><a href="http://www.domain1.com">text</a> ... <br><li><a href="http://www.domain1000.com/page.a...
Hello, Below given is a sample /etc/hosts file, where "cache01h-t1" is the hostname of a linux machine. # cat /etc/hosts # Do not remove the following line, or various programs # that...
Swapping elements from one list box to other list box. I have a code like this. $lab2 = $frm_name -> Label(-text=>"Selected Files: ",-foreground=>'black',-font => ['Times New Roman', '14'...
I've been trying to pull some binary data from a database and output this information into an image file (of any kind viewable in IE) but I'm running into some problems. For starters, I get th...
I have this page - http://elan.champlain.edu/~rcoughlin32001/booksonline.html - and submits the data to a database. The first button submits the page to the database The second button i wa...
I know vi and a bit of Perl and a bit of regex.  I would like to use then to solve my problem. I want to edit my program files in vi.  There are lines like: // major change history // ...
Can I invoke perl from a file and write ouput to the same file.  Example is as follows: Filename sample.txt ... .. perl C:\script.pl < somefile.txt > sample.txt .. So, can I invo...
i have a perl script located on a server i want to run/call that script from a link on a html page Is there way way to call a perl script and pass it not one, but two parameters from a link...
I run perl script from my makefile.  script starts running but there is an error as follows: perl -i.bak script.pl < file.map > makefile       Cant' locate strict.pm in @INC at script.pl l...
Hi Folks, I have a folder where I have .SQL files that contain DDL (Data Definition Language)  statements for creating Views in T-SQL. My goal is to take those DDL scripts and create the view...
I'm trying to remove any nested paragraph tags from a huge file. I have come up with the following regex so far... s/<paragraph>(.*?)<paragraph>(.*?)<\/paragraph>(.*?)<\/paragraph>/<paragra...
Hi! Have made a application in JAVA, that calls a PERL script. Then it output the STDOUT to a textarea in JAVA. This is working great.... The problem is how do i read exit code from Per...
I've got a .txt file similar to the one below, except mine has thousands of blocks similar to the ones shown. My goal is to find all of the 172.* entries that are NOT of a particular MAC ty...
Hi folks I want to update a bunch of files in a folder so that none of them start with numbers. The files names currently use this format: "0001-File-A.doc", "0002-File-B.doc", etc. What...
I am building DBD::Oracle v1.19 running with perl 5.8 on RedHat ES 3. The build went off went off without a problem. However, I cannot get the tests to run correctly. I set ORACLE_USERID to a ...
i am Using the 'sample' data attached to:  Write a Perl requestor script check-policy.pl that will send a SOAP message to http://homepages.feis.herts.ac.uk/~3com0109/cgi-bin/policy.cgi. whic...
I have a log file that uses this type of format.  The there is a bunch of different line format this one example is from LINE_TYPE:  it is split by either { } or " " and sometimes there is { {...
I'm having some issues using thread and thread::shared to utilize a shared hash in the threads.  The idea is to have a shared memory cache in the form of a hash that has been shared.  However,...
Hello! Basically i need to export data from a directory on windows server to a file. It needs to include filenames, sizes and timestamp and append that data to existing file for daily compa...
I'm currently using the perl script attached as a code snippet. I need to add a conditional statement to achieve the following: If the 8th position in the source text file is a '0' then I n...
Hi I posted a question yesterday and assigned points before realizing that there was an issue with the results.  The question is here: http://www.experts-exchange.com/Programming/Languages/Sc...
I have inherited the maintenance of a web-site that has several Perl script pages with the extension of .pl On my development site locally where I test the changes I make before uploading to ...
How do i read STDIN from sendmail ? i'm trying to pipe the message through the sendmail alias file like: help:       |/usr/local/bin/help.pl All attemps to read are failed, like: #!/usr/...
How do I find the time difference between two times which are in this format using Perl ? 00:05 00:30 ie. 00:30 - 00:005.