hello sports fans,
I am currently experiencing a problem with using printf and percentage sign
my code looks something like
-----------------
open(OUT, ">$outdir/$outfile");
forea...
Hello,
I have been writing command line scripts for quite some time now using activestate's komodo development environment. However, one of the major shortcomings of Komodo is the inabil...
This is the script i have
Instead of getting the output as
20,,,,,abc,0,,,reportingHirarchy,,,
21,,,,,cfg,0,,,21,,,
22,,,,,ijk,0,,,22,,,
23,,,,,asd,0,,,23,,,
24,,,,,asj,0,,,24,,,
25,,...
Hi,
I'm trying to get a script i've written in Perl to email me the output of the queries i'm doing on a few sql servers, but for the life of me can't get the mail function to work. I was t...
I can get the SNR reading from each interface on a CMTS by snmp walking this mib (.1.3.6.1.2.1.10.127.1.1.4.1.5)
I want to use a perl script to walk this mib and return the results in an "eye...
I am new to PERL and I think this should be a simple one... I want to convert this script to PERL:
grep -s $x /etc/security/user
if [[ $? = 1 ]]
then
SANS="No"
else
SANS="Yes"
fi
S...
Ok, so I know there is no way to check client side filesize before upload without using Java or ActiveX(ie) and I don't want some bloated application. I have seen a few upload scripts out ther...
This code is a result from earlier question:
http://www.experts-exchange.com/Programming/Languages/Scripting/Perl/Q_23233585.html
There's a problem - script is initiating 2 of the batch jo...
Hello, I'm trying to run a .exe program from a perl program using system() command interactively on windows.
Any ideas?
thanks,
I use perl code below to post data to ours server, how to read response $res header? HTTP response header contain additional data and I need to retrieve it using perl.
Hello,
I want to create separate gunzip files for every year from the all available files in the directory.
File extension starts with YYYYMMDD.tsv. Can anyone please help create te comman...
I have this script from adam314 to view a https page but the page requires a userid and password, which i have. How can I change the script to insert userid and password?
use Net::SSLeay...
Hello,
I 'm trying to build a 2D array from witin my code. So I want to have an array @list that holds arrays @info.
first I declare my @list and my @info
While reading from a file, I read ...
I'm receiving an error when trying to use SFTP.
All I'm doing is setting up a connection to a server:
use Net::SFTP;
#FTP Variables
my $hostname = 'some ftp site';
my %args = (
...
I have installed active perl 5.10.0.1002. It uses the win32::Ole module. But when I execute my script gives me the following error Can't locate loadable object for module Win32::OLE in @INC (@...
I need to look for files in a directory such that each customer Id is associated with 8 files.
say e.g
Abal101.dat
Abtb101.dat
Acpn101.dat
Aftb101.dat
Aftbf101.dat
Amg101.dat
Apost101...
I have written a C program & compiled as dll (in Unix).
Now I want to call the same function from the cgi program written in perl.
how can I do that?
how do i reset a hash table so it has nothing in it (no keys etc)...................
Hi, I have an xml file that have different attributes as shown below. If the attribute encountered is num-val i will set an 'N' flag and if str-val is encountered i need to set a 'S' flag. I'm...
I am trying to use the curl command to get a file from an FTP location. I don't know the filename but I do know that there will only be one file at the location and that the filename will have...
Where can I find documentation on the "write()" command in perl? The code snippet shows the method "init_app" that shows two dotted lines and a title.
I was trying to use MIME::Lite to send email in my perl script. Then the
Active Perl I am using doesn't recognize "MIME::Lite". I thought I should
install the module.
However the link I ...
hi
can anybody how to create perl script with argument ?
i have script
abc.pl -"d:source" "-u:username" "-p:password"
but i don't understand how to create this, i m not perl developer...
I am working in Perl.
I am writing eval statements around system calls in order to gracefully catch errors and I need some help in understanding eval.
example codes:
my ($stat, $cmd) h...
When I try to install the package DBD-Oracle this is what happens.
Its the first error thats the problem the second is for directory that is read.
ppm> install DBD-Oracle
================...