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.

 
Time Tested Perl Solutions: 1101 - 1125 of 2190
 
I have this command in my perl script system ("/opt/oracle/product/10.2/bin/sqlplus"," data/DATA@G01", "@/export/home/user/Mapping.sql") But when I run this in the script by setting up...
Hi experts: Is there an easy way to break out of commandline output without waiting for input? Like a listener or something. This is on a linux system. The top command can do what I want to...
I'm trying to send an email to my address (foo@bar.com) using perl on a linux hosted server when a simple contact form is completed.  I keep getting the following error: bad header=no recip...
Hi, I need a script to do the following: Take my .csv which has 1,000's of records, 10 columns. There is a long decription column and a short description column that will may line breaks a...
I have the following script in which I'd like to pass an argument for the month. Currently is has "feb" hard coded in the script. I'd like to pass whatever month I want to pass. E.g. mar, apr,...
Hi,    I've two column data file, "data.txt", as attachment. Each column is separated by the comma. --- data.txt --- 8825 ,point and shoot 8826 ,auto 8827 ,cell phone 8828 ,computer ....
the following script properly timesout in unix but not in windows OS  (both have perl 5.10) eval {   $SIG{ALRM} = sub { die "timeout" } ;   alarm 2;   `perl -e "while (1) {}"`;   alarm...
I have the following two UNIX Korn shell commands. The semi-colon is needed instead of the pipe symbol after the grep statement otherwise it doesn't work: chk_auto_up | grep AUTOSYSDB; echo...
Im trying to create a cgi page to log someone in to a website via cgi.  The authentication needs to be via LDAP.  Also after they login, I want to store some of the user variables(mail / usern...
I need to write a regex that gets the 5.25 from the following source code. <b>1 Month LIBOR Rate</b></a>     </td>     <td align="center" class="tdata" bgcolor="#F3F3F3" width="15%">5.2...
Hello, Is there a way to add an image (*.gif) to a message box window?  I want to add my company's logo.  Also, is there a way to center each line in the message box, instead of all the lines...
Hi,    I recently updated (autoupdate) my system (SUSE Enterprise 10) and I am facing problem with Perl. Some of my programs such as a DAS server (proserver)and apache2 which I used to run ...
Hi All How do I get the last valve of a string and place it into a variable. String could look like this: FileName/value.pl FileName/FileName/value.exe FileName/FileName/FileName/va...
I am coding application using Perl Catalyst framework which uses DBIx::Class for database manipulation. I also have a table of users which are ordered in some kind of a tree. My Postgres table...
I need (preferably) a Perl script that - reads input from stdin ... Input is a huge volume of records ... Fields/Columns in each record are tab separated ... Number of fields is not known ...
I am a newer of writing perl script. What is Getopts for? Can you explain the following script? Thanks! &Getopts ( "d:s:i:f:r:h" ) ;  if ( defined ( $opt_h ) ) {     &print_help_msg ;    ...
I have recently reinstalled ActivePerl-5.8.8.822 onto a VMWare Windows XP machine. I have added XML::LibXML and XML::LibXML::Common to this installation. I am running a previously fine p...
1. I'm using NET:FTP 2. I'm FTP to an open/vms 3. after I do a get, follow by a rename to a sub-directory 4. if  the same file already exist on the sub-directory, the rename will fail.    ...
I'm just getting started in Perl (chapter 6 in the lama). I need a program to easily delete all emails (maybe 1000's) off of a pop3 server on a regular basis with out downloading them all. Per...
I am installing CPAN modules, and its looking for a module which is in one of the perl libraries: c:\perl\lib. According to                      perl -e "print qq(@INC)"                   ...
I have a little bit of a funny one here for you: (It's not that funny for me though!!) If I run this perl file from my command line it works but if I run it via a cgi-bin directory on my br...
I read the relevant parts of Learning Perl and I read about some of the scripts at http://cgi.resourceindex.com/Programs_and_Scripts/Perl/Clocks/ and I still don't know if I can automatically...
Hi. I'm planning to start learning some PERL and Visual Basic. What's the best online tutorial for these?
I've created perl scripts and modules to connect to a postgres database and execute various statements.  This was developed on linux using DBD::Pg.  But now I need to run this on Windows and I...
Greetings, I am working with a CGI/Perl script and cannot get a returned variable inserted into the hidden form field. I can print the returned variable to the ouput page but the value will...