I'm attempting to help somebody from another department in my company figure out this problem. They have a web application that is written in Perl. They are running it on an Apache installat...
Is it possible to make a Perl GUI (buttons, check boxes, etc.) on a Sun server without a web server or web browser? I can develop Perl quickly and the interface to the Operating System is eas...
I am wondering whether it's possible to create and excel file using perl that contains cells with list validation. These are basically drop down menus with values from cells that you select. ...
I am searching through a file line by line:
foreach $line (<FILE>)
{
if($line eq "something special")
{
here I want to print out the last 10 lines before $line
}
}
...
My pop3 sever does not support dele *.* to delete all the messages. I have to delete one by one. Also i am accessing the pop3 server using telnet.
How to delete all mails from the pop3 server...
I'm at work right now. I need to run this script on my Linux machine (Fedora Core 6) at home on my lunch break. I won't have much time to correct any errors then, so I'd appreciate it if you...
I'm looking for a way to establish a connection to a server using a SOCKS proxy instead of the supported protocols for LWP::UserAgent (HTTP, etc.). If this is not possible, is there a module s...
This is driving me crazy....
Why does the following code...
$_ = ",e,e,e,e,e,e,e,e,e,";
$_ =~s/,e,/,a,/gi;
print "$_\n\n";
Result in...
,a,e,a,e,a,e,a,e,a,
and not
,a,a...
I need to kick off an external process either with back-tics or the system command (please compare that to the exec() I actuall try below -- is it the same result?), allow it to run for 5, 10,...
if i m using
"timefmt" => "%H:%M",
"format" => ["x", "%H:%M"],
# Set output range - note quoting of date string
"xrange" => '["18:01":"18:59"]'...
In the below sample code, how do I force the "toplevel" widget to be 'modal'? It presently defaults as 'modeless'.
use Tk;
$mw = MainWindow->new;
$mw->title('Main Window');
$t1 = $m...
How do i convert a number to a hexadecimal value?
pg
I've got the following bit of code:
$string = "\n1 1\n 2 2\n 3 3\n e\n";
open (GP, "| /usr/freeware/bin/gnuplot");
print GP << "end_commands";
set term postscript
plot '-'
...
Hi!
Is there a method to clean a string of duplicate words? I know how to do this in a array/list, but have no idea if one can do this with a string? I am inserting words into a data bas...
Hi,
Does anybody know how to write the script on sending mail to include the recipient name in the CC: column? I have one example below. But it's only display the recipient name in the To: co...
How lines are defined in perl code page .
How to find let's say line 45. Do I have to count the spaces too?:
thanks
sebans
I have a nice peice of software I wrote in Perl. I purchased Perl2Exe a Perl compiler to compile my software prior to sales. Well this is where the night mare begins. Here are my current is...
I'm creating an example for intro to programming. When I run the example I don't get what I expect with flushing turned on.
First example:
#!/usr/bin/perl
$| = 1;
## Open a file and wr...
Hi all,
I need the following very quickly:
A regex pattern (please no Perl code - just the expression that I can plug into any validator) that will parse a string for emails
I've tri...
Hi,
Does any one know what I did wrong in the following code? The values in the list were not printed, and I got only "HASH(0x506290)". Can anyone please help? Thanks!
------------------
...
I'm working on a PERL script, that has to change into multiple directories to do some file processing in UNIX. THe problem that I have is that the chdir command won't work if I give it the nam...
This should be a piece of cake to all you die-hard Perl spods out there, but I don't have the time to trawl through the net and find what I need, and I don't have any printed Perl literature t...
when i try to execute a perl script on iis4.0 and NT4.0 ws i get the following answer:
Can't open perl script: ????????? Invalid argument
What am i doing wrong?
When i execute a perl scrip...
I am using Nagios to monitor a group of servers. Because of the SLA promises made to get this contract we need to be able to get notifications that will wake us out of a dead sleep:(
What ...
Below are the list of downloaded rpm's using up2date command:
pcre-4.5-4.el4_6.6.i386.rpm
perl-5.8.5-36.el4_6.3.i386.rpm
popt-1.9.1-23_nonptl.i386.rpm
procps-3.2.3-8.9.el4_6.1.i386.rpm
...