Can someone correct my error below. I want to send the output of this script to a textfile, but I have a snetax error somewhere!
#!/usr/bin/perl
#Execute snmpwalk command
system('snmp...
Hi,
I have perl on solaris. I need to retrieve data from a mysql db and display a pie chart. Can anyone tell me what modules to install, pre-requisites and any sample code on the web?
Thanks!
How to download and set upthe XML::parser module. I am working in Windows 98 environment and using Active perl 5. Can any one help me by giving guidelines for Download and setup the module for...
Hi,
I'm reading a number of daily log files and displaying their contents. The log entries in the files are ordered by date no problem. However I would like the files to be ordered on my pa...
I need to do an HTTP GET request.
I built a 'tester' program with the following code:
-----------------------------------------------------------------
push @INC, "d:\\InetPub\\wwwroot\...
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 want to parse a logfile created by rsync and take the lines telling what files have been synced and copy that file to a different location. Unfortunately rsync escapes names containing utf-c...
I am using the following code to send an email with an attachment (win2k - activestate perl), but I do not receive the email. Can somebody check to see if the code is correct. There is no erro...
Hi All
I need help reading a multi line variable. I cant install any modules on the server due to security reasons, this need s to work without any modules. ALL of the tag format is the wa...
I am working on an automation for creating a registry import onto a windows system. I need to convert a string to HEX which I can do...
$str=unpack("H32", "IP_000.000.000.000");
output lo...
I've searched the net, and couldn't find anything about a problem I'm having with Net::SMTP.
Could you suggest something or direct me somewhere about this problem ? Ultimately I'm looking to...
I have an array of numbers created in Perl, I just can't remember the syntax to add them all up. Please help.
I need to get the system date in the following format and assign it to a string so it can be inserted to a XML file.
Format needed below
Sunday, September 28, 2008
I'm trying to validate the date format in my input file. So far this is what I have and I am confused to how to write the ranges for the month and year. The information is below:
Sub v_da...
I am reading a simple ASCII string from /dev/ttyS0 continuously from a backgrounded perl script.
The device is sending a small "ALOHA" string every ~0.5 seconds. After a really long time, the...
Hi ,
Iam using this command inside my perl script.
system("net use M: \\\\Stmroot\\data\\Essoc\\Legal&Comp\\LC_GMP\\reports\\bo");
...
script code
..
system("net use M: /DELETE ");
Iam...
I've been using Bformmail, a modified version of Matt Wright's Formmail for some time. (see code attached for details and urls) Works great. I have recently tried to implement a checkbox in a ...
I am trying to get NMS Formmail to work on my host. It is driving me crazy. I thought I had a problem uploading the script but it seems more complicated than that. Here are some of the vari...
Hi;
I have a program that I am converting to Perl from BAT. I am having issues calling system commands and take the output and use it for another command. For example
UserLocLA = File.new(...
I have been unable to access https sites with the LWP module.
I have read that I need to install SSL, but have had no luck.
Is there a Perl module that has all the functionality of acce...
I have some Perl code (quite a bit) that helps validate and store web form data. I want to be able to convert this into Java code. Does anyone know of any automated procedure to carry th...
hi,
I have a string that is $MAC_DA.$MAC_SA.$DATA and I need to attach $CRC to it.
example :
$MAC_DA = "001122334455"; # 6 bytes
$MAC_SA = "000000000001"; # 6 bytes
$DATA = "FFFF4FFF".(...
Hello, I want to convert a Float number:
$Verif = rand(999);
to an Integer number
What can I do?
I'm using mktime to create an epoch number which matches against one stored in a database. This program may contain a wide range of dates, and I noticed that mktime stops producing a result a...
I'm developing a Perl/Tk script to create an Oracle schema which needs to run on both Solaris and Windows 2000. The problem lies with platform specific modules i.e. I have to use ActiveState 5...