Advertisement

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: 751 - 775 of 1180
null
What is the syntax for PRINTF that I need to use for getting commas in large numbers?   printf(%.2f, 1000000000) How do I get it to display   "1,000,000,000"  ? thanks.
When writing a c-shell script, I use "cat file1 file2 file3 > results_file" to concatenate files 1 through 3 to results_file. What is an easy way to do this in Perl? I want to give the names f...
$a=1 $b=2 how do I swap $a and $b in a "one liner"?
I want to know if it is possible to attach files to an e-mail using Mail::Sendmail.  I want to stick with Mail::Sendmail because I have it configured to work with my Win2k system that is setup...
#!/usr/bin/perl   use strict;   use File::Basename qw(basename);   use Sys::Syslog qw(:DEFAULT setlogsock);   my $fifo = '/var/fifo';   my $syslog_facility = 'daemon';   my $syslog_leve...
I need 1 function to encrypt 1 string and then  I have to decrypt this string. Can you remember some Perl's function . Thanh you very much.
At the moment I can connect via VNC to my work (Unix) from home (Windows). However, to do this I have to: 1) open an ssh terminal conection 2) start the vnc server 3) Note the display I h...
Hi Everyone. I am having a very complicated problem.I would really appreciate your help.Thanks. I want to run a utility.exe command from my dos prompt on the server as the values keep refr...
hi all I am working on a project that generates financial reports for a set of companies using perl and apache on linux. The problem that i'm facing is that the pages are cached and theref...
I am using the following code: --------------------------------------------------------------------------------  Code -------------------------------------------------------------------...
I have a log file that I need to get the domain from the 8th field with out the user name, all domains except for ones containing (my.domain.com) then get a count on each uniq domain name and...
Hello everyone, I buddy is finishing up a router server for me for tomorrow that uses the radius approach to a router to secure a lan with public access. I've configured pages for this Mik...
I'm trying to set an environment var and have it persist after the perl script ends.  Setting the ENV var via Win32::TieRegistry is easy, however, unless I logout/login that environment settin...
This is not a specific Perl programming question but I want to know where I might get hold of a Perl script written to accommodate a theatre seat reservation system. I have a shopping cart Pe...
I may have found a bug in date::manip version 5.54 where the business time function returns an incorrect value. I have changed the configuration in (I only have one) /usr/lib/perl5/vendo...
Hi,  I have a requirement where I need to mach on 2 patterns from a input file and write to the output file. Input file <MappingData3  ExchangeIdentifier="LSE" ExchangeSymbol="FR0010455...
We have an email application that uses Nortel Call Pilot to forward faxes to a Cyrus imap server.  The configurations were deleted and we are now trying to recreate the original code.  We have...
Hi, I am building a hash from an open filehandle. Example data shown below... Hostname              : myhost  Network Card e1000g0   : 0:0:0:0:0:0          Speed         :            I...
LWP with 'Object moved' redirect feedback I'm attempting to authenticate to a website via LWP, and it's working, but some redirects are stalling the script process.  After successfully log...
What am I doing wrong here? I want an array of hashes that store data. My program doesn't work and I have stripped it down to the following code snippet which I have tried in my IDE. my $...
Hello, I need to refresh a page from crontab. Can I use Perl if so then how? Regards, ak
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 ...
I am attempting to create a Perl script that displays my browser environment variables.  I am able to display some environment variables, but they are not my browser environment variables.  Wh...
I have a sample file 10/03/2003 john smith california 10.00 12/2/2008  jane henry new jersey new york 20.20     32.12 I need to parse this file such that when I encounter the first decimal ...
Hello, I'm trying to make a SNMP walking script that will save the results to a database. Here is a example of what i'm trying to do... The Access Point i'm trying to poll using SNMP use...