473,544 Members | 1,966 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Perl Forum

Perl programming language - ask questions about perl programming, syntax, variables, scoping, constructs, operators and functions, files, I/O, regular expressions, regex, subroutines, OO (object oriented), perl modules, CGI and more.
0
1,803
thread by: Zak | last post Jul 19 '05 by: Zak
Hi, I am a new comer to CGI.pm and find it extremely useful. I have created multi-form pages and with little struggle have succesfully been able to save states from one form to another (from one page to another). Two groups of people will be using the mutli-form pages to fill out the fields. GROUP A fills out pages 1, 2, 3. GROUP B fills...
0
2,357
thread by: Zak Chababe | last post Jul 19 '05 by: Zak Chababe
Hi, We are in the process of converting thousands of MS word documents into some sort of database files like sql or comma separated files. Is there something out there with Perl that allows me to convert all these word documents? Any help is appreciated. /Zak
1
2,585
thread by: Kelly | last post Jul 19 '05 by: nobull
I want to search for a letter and replace it but when I add the > to the file name it acts up. When I take it out it works but obviously doesn't alter the file only prints it altered. Can anyone tell me why?? use strict; my $content; ## Prompt user for file ############# print "Enter the name of the file you would like to change...\n";
1
7,511
thread by: Tony | last post Jul 19 '05 by: Tony
Hello All, I'm having difficulty in using the glob function with stat. Here is a simple piece of code – ----------------------------------------------------------- #! /usr/bin/perl -w use File::Glob; use File::stat;
0
2,206
thread by: SpamBuster | last post Jul 19 '05 by: SpamBuster
The tutorials I've found using Google were too old and incomplete. Could you tell me when I could fine a good one, with many examples? Thanks in advance. Stiv
0
2,783
thread by: redstar | last post Jul 19 '05 by: redstar
I want to make a script that get information about my clients credit cards. I make it but when I hit Back or I type a digit, it reveal all the credit cards numbers enter before. I want to make a field like is the Password field, but noter to cover my numbers
0
5,818
thread by: John Giblin | last post Jul 19 '05 by: John Giblin
I am getting the following error when I run my script install_driver(Oracle) failed: Can't load 'F:/Perl/site/lib/auto/DBD/Oracle/Oracle.dll' for module DBD::Oracle: load_file:Access is denied at F:/Perl/lib/DynaLoader.pm line 206. Compilation failed in require at (eval 2) line 3. Perhaps a required shared library or dll isn't installed where...
0
4,619
thread by: Kate Perry | last post Jul 19 '05 by: Kate Perry
I am trying to execute a query on a db2 database using the dbi module. I'm wondering if someone can take a look at my code and tell me what I'm doing wrong. I'm assuming it's a problem with my query, but my query works fine in access, so I don't know. I guess I don't really understand how queries work differently in db2. I typically connect to...
2
2,775
thread by: Jake | last post Jul 19 '05 by: Tony
Does anyone have a good website on how to learn perl. If you do i would very much appreciate it.
0
2,261
thread by: John Giblin | last post Jul 19 '05 by: John Giblin
Hi, I am making a simple program that connects to Oracle and then display the results. When I exec the program via command like, there does not seem to be a problem. When I do it through a browser I do not get any print commands past the connection here is what I have: use strict; use DBI;
2
5,934
thread by: Sam | last post Jul 19 '05 by: Wm. G. Urquhart
I would like to store html templates in a database. By using perl I would like to retrive the template ask the user to fill the template and store the whole file is template + the user data in a database. How can I do this? Should I use Perl Mason to do this. Or Can I store the template in database using text field and then retrive the...
0
2,299
thread by: Junmou Zhang | last post Jul 19 '05 by: Junmou Zhang
I have installed the PDL module and use it to calculate eigenvalue of a matrix. The PDL do gives me some eigenvalue and eigenvector. But the problem is that these values are different from the eigenvalue and eigenvector calculated in Matlab. A simple example is: use PDL::LiteF; my $mat = pdl ,
1
2,030
thread by: Gustavo Delfino | last post Jul 19 '05 by: Eric J. Roode
I am trying to install CGI::Application using CPAN, but the process doesn't finish. It seems to get stuck at test t/05 (if it exists): Running make test PERL_DL_NONLAZY=1 /usr/bin/perl -Iblib/arch -Iblib/lib -I/System/Library/Perl/darwin -I/System/Library/Perl -e 'use Test::Harness qw(&runtests $verbose); $verbose=0; runtests @ARGV;' t/*.t...
1
2,344
thread by: Anand | last post Jul 19 '05 by: Eric J. Roode
Given a string with some of the words in curly braces, how do I extract the words within curly braces alone using regular expression? Also I wouldnt know how many such words within braces exist in my string...In such a case how do i extract all the words. $str = "My {name} is {anand} and i seek {your} help in this {problem}"; Anand,
0
2,401
thread by: AdrianK | last post Jul 19 '05 by: AdrianK
I'm having a lotta problems installing Crypt::RSA on Linux Linux gogol 2.4.17smt-mono using perl5.005_03. Main problem at present is that all the tests fail with Crypt::Primes When I run a trace it looks like a segmentation fault (The same fault I am getting if I force install and run a keygen using Crypt::RSA). Any ideas/help would be...
1
2,103
thread by: Antonio | last post Jul 19 '05 by: Antonio
Hope that some perl guru will help me: I've implemented an inverted index using PERL + DB_File (using hash, and b-tree). Therefore, i have my indexer and my searcher (a little search engine, indead). Given a word in the lexicon i stored in B-tree the corrispondent inverted list, using gap coding. For istance i have:
1
2,430
thread by: JL | last post Jul 19 '05 by: JL
I have the following problem. I have a form created on the fly via a perl script that maintains a MySQL table. Any field that has spaces does not display properly. Only the text up to the first space displays in the HTML text box. If I use code that embeds the HTML space octet, it displays properly. I know it must be something really...
0
3,623
thread by: Loren | last post Jul 19 '05 by: Loren
I Have an August 1st deadline to convert an XML file to an LDIF/LDAP File. Some one told me that i should use perl. Can anyone help Please?! I have never programed in perl before.
0
2,424
thread by: thehaas | last post Jul 19 '05 by: thehaas
I'm trying to use the CIsam object in CPAN: http://search.cpan.org/author/ILYAVERL/CIsam-1.0/CIsam.pm But am having some trouble. I tried to mail the maintainer, but it bounced back. So now I'm asking this publically . . . I'm using a UnixWare machine, and have ByteDesigns library. I have the "libd96.a" file in /usr/lib and my includes...
1
3,029
thread by: Ken Tucker | last post Jul 19 '05 by: Steve Grazzini
Help! I'm recursing through 10,000 directories where some have as few as 5 files and others have 100's. I'm then performing a few things based on the modify date of the file. Needless to say, this script is going to run a long time regardless of what I do. But if I remove the stat, the script runs 500% faster (duh). That being said, I've...
0
2,975
thread by: John K. Humkey | last post Jul 19 '05 by: John K. Humkey
Ok, it's sed not perl, but it's primarily a regexp question that I've encountered (and failed to understand) before. . . # # When trying to convert a variable number # of spaces separating fields, to fields # separated by single commas, if your "input" # file looks like the following lines. . . # #alpha bravo charlie delta echo ...
0
2,539
thread by: Gene Mat | last post Jul 19 '05 by: Gene Mat
Hi, I'm trying to build a simple Perl program to get a list of newsgroups. Here's what I have... #!/opt/local/bin/perl use Net::NNTP; $nntp = Net::NNTP->new("nntp.perl.org",Debug,10); $LIST=$nnpt->list; $nntp->quit; Can't call method "list" on an undefined value at ./getnntp.pl line 13.
0
2,255
thread by: kspecial | last post Jul 19 '05 by: kspecial
My name is Noah. What i'm trying to figure out is how I can compile this module: Win32::Scheduler. Most modules can simply be inserted, be compiled (if you will) with a Makefile, or if there is not one made, h2xs. Now. H2xs is probably what i'm going to need *not quite sure. Check out how the file directory looks: ...
4
6,346
thread by: Lev Altshuler | last post Jul 19 '05 by: Eric Schwartz
Hi, When reading from email message using Net::POP3 (or other means), I need my perl program to open URLs incuded into the message. In other words, I need the program to click links in the message. So far I have not found the solution for that either in Net::POP3 or anywhere else. Does anyone have an idea how to do that? Thanks, Lev
0
2,106
thread by: Nicolas Bruneau | last post Jul 19 '05 by: Nicolas Bruneau
Hello, I open a SSL socket IO::Socket::SSL module, sending data, received data, and then closed with the shutdown(2) function. Everything is ok untill the loop number 254, that makes the script crash when opening the new socket. The command 'netstat -a' gives the sockets "BOUND". I am using solaris 2.6, perl 5.6.0, tcp connection. thanks,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.