| |
thread by: James Morrow |
last post Jul 19 '05 by: James Morrow
i need a script for reviewing products (much like epinions.com)
written in either perl or php (can't use asp). i am very strapped for
time and need a functional script asap, which is why i dont have time
to write it myself. i would prefer if it used a mysql db. basically, i
just need for people to be able to have members write out how much...
|
thread by: NNTP |
last post Jul 19 '05 by: rakesh sharma
I have a file with the following data
192.168.60.161 DOMAINNAME-POWER 03U
192.168.60.161 DOMAINNAME-TEMP 1eU
192.168.60.161 MAC 00-xy-zz-07-bd-8a
192.168.60.179 DOMAINNAME-abacdf 00U
192.168.60.179 DOMAINNAME 00U
192.168.60.179 DOMAINNAME-abacdf 20U
192.168.60.179 DOMAINNAME 1eU...
|
thread by: Durairaj Avasi |
last post Jul 19 '05 by: Slackware
#!/usr/bin/perl -w
use Net::LDAP;
use Net::LDAP::Util qw(ldap_error_name ldap_error_text);
my $ldap = Net::LDAP->new('xy.webdurai.net', port=> 389) or die "$@";
$ldap->debug(15);
my @args = (
base => 'DC=xy',
scope => "subtree",
filter =>
'(&(objectClass=user)(objectCategory=Person))',
|
thread by: Paul |
last post Jul 19 '05 by: Paul
I am having a problem getting Net::Time to return a value.
both of the folling examples return blank lines when run. I was
expecting it to return the number of seconds from Jan. 1970.
Just to test I have running these lines by themselves in a 2 line
script.
The docs from active state have not been too much help. I have tried
w/ both...
|
thread by: championsleeper |
last post Jul 19 '05 by: championsleeper
i am trying to write a script that will:
- check an integer value to see if it has a particular pattern
(regular expression match)
- tell me what the particular pattern is.
I am searching integer numbers for three digit patterns of the form
111, 222, ..., 999, 000. If the number contains one or more of these
then I want the script to say...
|
thread by: Murari |
last post Jul 19 '05 by: GIMME
Hi Experts,
This is the form I am using:
<form name="getsomething" method="GET"
action="http://myip:8080/cgi-bin/do.pl" TARGET="">
<INPUT type="button" name="SUBMIT" value="CLICK ME"
onClick="doStuff();"
<INPUT type="hidden" name="someinfo" value="test">
|
thread by: Corey Martin |
last post Jul 19 '05 by: Corey Martin
Hello,
I'm outputting data from a flat-file into the browser, and I'd like to
output the URLs and E-Mails in link form.
The code now is simply this:
while (<FILE>) {
print "$_";
print "<br>";
}
|
| |
thread by: Bart Grieten |
last post Jul 19 '05 by: hubert depesz lubaczewski
Hi everyone, I'm not an expert Perl programmer and I'm trying to sort a
hash.
I know how to sort it by it's keys, but this time it should be sorted by its
values.
So if I have
%hash = (
Apples => 1,
apples => 4,
|
thread by: Noah |
last post Jul 19 '05 by: Noah
I inherited a large perl project with many small perl files spread out
over different directories. The project is an admin tool with a cgi interface.
I suspect that many of the files are no longer being used. Some entire
directories may be obsolete.
Is there a way I can identify the unused code?
Basically I need to locate Perl files that...
|
thread by: S P Arif Sahari Wibowo |
last post Jul 19 '05 by: S P Arif Sahari Wibowo
Hi!
I am looking for mailing list manager written in Perl that have automatic
bounce management utilizing VERP or other customized delivery method. Do
you know any (or a list of)?
Or maybe some modules that will help me build one?
Thank you!
|
thread by: IPaul |
last post Jul 19 '05 by: IPaul
Hi!
I am getting a fuzzy display of the pie charts created by the sample
Perl scripts that accompany the CPAN distribution of the module
GD::Graph. All other samples appear to be okay.
Does anyone have any ideas (Possible combination of module versions)?
Setup:
ActivePerl 5.6.1.631 Win32, GD 1.27, GDTextUtils 0.86, GDGraph 1.43.
|
thread by: Kurt |
last post Jul 19 '05 by: Kurt
Hello,
I have software that allows direct submission of tech support requests.
The software connect directly to a formmail script. The problem is that
if the user types a '=' or a '&' anywhere in the message, the resulting
email is truncated at that spot.
It looks like the sub parse_form routine, which splits on '&', is
responsible. Then...
|
thread by: NNTP |
last post Jul 19 '05 by: Anno Siegel
I'd lile to read the following file and output everything from
'NetBIOS Name Table for Host 192.168.5.10' to the first occurance of
"----------------------------------------"
can perl do that? here is the file (long file but only the portion of
it is shown here)
|
thread by: lonelyplanet999 |
last post Jul 19 '05 by: Gunnar Hjalmarsson
Hi,
While I'm studying a guestbook processing cgi perl script, I found
below segment commonly found in many illustrating examples of html
form processing.
# GET THE INPUT FROM THE CALLING HTML DOCUMENT
read(STDIN, $buffer, $ENV{'CONTENT_LENGTH'});
# Split the name-value pairs
|
thread by: krigare |
last post Jul 19 '05 by: krigare
CPAN 1.76
ncftp 3.1.7
Redhat 9
I am behind a firewall.
I do have ncftp configured to handle the firewall settings. In fact I
can manually (from the command line) do:
#> ncftpget ftp.sedl.org/pub/mirrors/CPAN/MIRRORED.BY
(The above command works fine)
|
| |
thread by: Pedro Hernandez |
last post Jul 19 '05 by: Pedro Hernandez
Hello!
I have some (many) text files produced on windows system that I need
to process a bit, so I wrote a perl script to do the job.
The files contains characters used in Spanish (e.g. ó, é, ñ) and they
doesn't come out right.
I use RedHat 8 and it is installed with Spanish locale. LANG is
"es_ES.UTF-8".
|
thread by: lonelyplanet999 |
last post Jul 19 '05 by: Gunnar Hjalmarsson
I have a simple question to ask, does calling
die $!; the same as calling die($!); ?
|
thread by: Brian |
last post Jul 19 '05 by: Brian
'Ello,
I'm writing a perl script to spawn child processes to execute jobs.
The jobs are system calls. I use open(SYSCALL, "cmd |), to make the
system calls because I need the pipe so I can log STDOUT to a file.
On Windows my script locks up after the first job is done. It works
fine on unix.
I am using fork to spawnt the child...
|
thread by: Divya Rao |
last post Jul 19 '05 by: Joe Smith
Hi,
I need to parse a HTML file, and extract all the text in it (not the
images, tags). I cannot figure out how to do it. I have the HTML file
saved in my local directory. I need to have the text printed/saved in
my local directory. I would really appreciate any help in this regard.
Thanks,
Divya Rao
|
thread by: uc_sk |
last post Jul 19 '05 by: Gunnar Hjalmarsson
Hello All
I am a newbie to PERL language...If i have a file with data of form
abcd 4 {1,2,3} 3
lmn- 3 {12,18,19,22} 4
then i can read them as...
($list $listTotal $set $noElements) = split / /
But if i have a dataset of the form:
|
thread by: flamencoman |
last post Jul 19 '05 by: flamencoman
Hi,
Has any one used the XML::Parser module with the Subs style?
The Perl documentation states:
"Each time an element starts, a sub by that name in the package
specified by the Pkg option is called with the same parameters that
the Start handler gets called with.
|
thread by: Kevin J Wholley |
last post Jul 19 '05 by: GIMME
How do I write a perl program to send mail from an xp box?
specifically, I am writing a clearcase trigger that sends mail
on a checkout. This functions perfectly from unix but I also
need it to run from xp for my clearcase users that use the
clearcase client on the desk top
|
thread by: Daniel Heneghan, GT Solutions |
last post Jul 19 '05 by: Jeff Dunn
Can anyone recommend commercial or freewre IDE for Perl for Windows
Platform?
Thanks,
Daniel
--
|
| |
thread by: lonelyplanet999 |
last post Jul 19 '05 by: Gunnar Hjalmarsson
Hi,
I'm a newbie of perl language and I would like to ask the differences
in below pieces of code:
1.
read(STDIN, $stuff, $ENV{'CONTENT_LENGTH'});
@pairs = split(/\&/, $stuff);
2.
|
thread by: janet |
last post Jul 19 '05 by: janet
HI,
I'm new in perl..
I'm not sure if that is easy to use Perl to change the timestamp
format in the text file..
I got the txt file from sybase database, because the format is
different , I need to change it suitable to out DB2 database..
|