I'm working on a msn style "toast" alert in perl/tk. While I'm still early on in development, I've hit a bit of a snag. I'm not too familiar with how perl handes object insances, but I seem ...
I am reading in a file with standard IO :
@report = <FILENAME>
I have a flag set for the start of the information I want to extract:
~m/DATASTART/g
What I want to do is to know the curre...
Hello Experts,
I have three directory, DATA, TEMP & PREVIOUS.
1. In the first step I copy everything from DATA to TEMP directory, Which I am able to do
2. In the sceond step so...
I am trying to use this Perl script to send email with attachments but I get Access denied
I use outlook exchange server ,is there a way to put a log in or something?
#!/usr/b...
Hello,
I use a perl script that acts as a proxy for some of my work. I need to block certain sites, including all webmail sites. I know how to block individual sites but I cannot figure o...
I have a program I want to close. How can I close it and detect when it's been closed from within a perl script?
#!/usr/bin/perl
# Close program code goes here
Thank you for any hel...
Currently I hav 2 xml files, I am new to perl, I need to compare 2 tags from 2 xml files using perl script, how do I do that using perl script. I am running the perl script from the command li...
Please consider following code snippet. The value of file_path is ..\..\..\src\app\test\filename.c. What is
[ \ / \ \ ]. Note: There is no whitespace inside brackets. I put whitespa...
How can I create a breakpoint at a line that is within a subroutine, using the perl debugger? If I type, "b 177", where 177 is within a subroutine, I'm informed that "Line 177 not breakable". ...
I have a web site writtin Perl with encrypted passwords written to a .txt file. I need to read these values so I can put them into a table controlled by a .php script.
I have PHP code that ...
I'm newbie on use Net::SSH::Perl;
1. How is it being use, is it same as net:ftp
2. is it free, do I have to download/install something
note: OS: WINDOWS, apps: Perl
I have the following perl wmi script:
use Win32::OLE qw(in);
$Win32::OLE::Warn = 3;
print "\n\n\n";
# ------ SCRIPT CONFIGURATION ------
$all_host="host.txt";
open(HOST_TABLE,"<$all_ho...
I need to split @array2 on the /:/ and if array2[1] matches any element in @array1 remove it from @array1
@array1 = qw/xxxxx.xml yyyyy.xml ttttt.xml eeeee.xml/;
@array2 = qw/DELETE:xxx...
Hi,
I need to generate a sequence of alphabets (lower case a to z) in Perl 5.8
How to do this ?
ie. if one particular string (say MyNAME), exist more than once, then I need to append lower ...
I'm trying to get the modified date of a file. This is my test code:
<-- Start Code -->
#!/usr/bin/perl
use File::stat;
open(OUTFILE,">test.dat");
($dev,$ino,$mode,$nlink,$uid,$gid,$rd...
I am trying to send an attachment (temp.htm) to my yahoo email account, but when I get the email it looks like the following:
------------
X-Mailer: Perl SendMail Module 2.09
MIME-Versi...
Hi,
firstly, this is a windows-perl (activestate) question (not real *nix perl=)
I have a text file that has been encoded in utf-8 format. I want to make my perl script recognise that th...
Hi,
I am doing a project with perl and mysql.
I am getting the lastname of the user and create a directory with that lastname:
mkdir "$lastname";
and I also added that lastnam...
I have a contact form on my website and I want to use the Mail::Sendmail function. When the form is submitted I wanted a email confirmation sent to the user and one to me. So, my question is c...
$ftp->delete("*.old");
*.old: The filename, directory name, or volume label syntax is incorrect.
Here is what I want:
I want a perl script that opens two separate browser windows. Basically, when my script runs I want one browser to open up with URL 1. And a second browser to open up...
Greetings experts,
This is not a homework assignment. I have the following assignment in my script:
my @reportfiles = `/usr/bin/ls *.day | grep -v 00.day`;
This yields sh: /usr/bi...
I'm adding records to an Access DB using a perl script. I need to have a string variable the puts a few bits of information together, say
$id="$Lname$doy$hrs$sec"
="XXXDDDHHSS"
But...
I'm trying to use IO::Socket::Multicast from a script and it keeps failing with the ol' "Can't locate loadable object for module IO::Socket::Multicast in @INC (@INC.." message. I copied multi...
Hello,
I am using a monitoring package called BigBrother (written in C I think). Anyway, one of the Open Source add-ons is written in Perl. Basically this perl script uses Net::SNMP to get...