473,544 Members | 1,876 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
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...
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
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
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
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;
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";
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
2
8,072
thread by: Michael Kiermaier | last post Jul 19 '05 by: Eric J. Roode
hello! i am new to perl. i searched the online documentation for this problem, but i didn't find an answer. here is a part of my code: use constant _GROUP => "gruppe";
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...
3
3,491
thread by: Mitchua | last post Jul 19 '05 by: Mitchua
When I run the well quoted line: my $ascii = HTML::FormatText->new->format(HTML::Parse::parse_html($html)); to remove HTML tags from an html document, it replaces all tables with "". Is there a quick and easy way to get the table content parsed too? Thanks a lot, Mitchua
0
2,195
thread by: Raj Mudaliar | last post Jul 19 '05 by: Raj Mudaliar
Have an xml file with line breaks in the begining, parsed it with XML::Parser, getting an error like: **** xml declaration not at start of external entity at line 3, column 0, byte 4: <?xml version="1.0" encoding="ISO-8859-1" standalone="yes"?> ^ at C:/Perl/site/lib/XML/Parser.pm line 185 ****
1
11,907
thread by: Mitchua | last post Jul 19 '05 by: Ice Demon
I am trying to use HTML::Parser to parse an HTML file, remove all HTML tags (including comments, etc.), replace all ENTITIES (e.g. &amp), and put the result into a variable as a string. I figure HTML::Parser itself can somehow preform the filtering, but how do I get it back as a string? I'd appreciate some sample code if anyone has any. ...
1
5,390
thread by: Wet Basement | last post Jul 19 '05 by: BobMonk
I am passing data to a putcart.pl , parsing it, then building the query string to put the item in the shopping cart: $cartStr = http://www.domain.com/cgi-bin/cart.pl?name=Book+Title&Stk=D123456&price=5.00 $co = new CGI; print $co->redirect($cartStr); print $co->start_html; $co->end_html;
5
14,613
thread by: Mitchua | last post Jul 19 '05 by: Eric J. Roode
Simplified a bit, I'm parsing HTML documents to get sentences e.g. my $html = get($URL); # remove all HTML TAGs...blah blah blah @sentences = split(/\./, $html)); then I'm trying to determine the number of characters in the sentence. However, although when I print the sentences they look fine, when I use length($sentence) I get values in the...
1
8,003
thread by: Greg H | last post Jul 19 '05 by: AdrianK
Hi, I'm just wondering if anyone has experience with bulk loading data into an Oracle database with DBI. My options are to use DBI or Oracle's sqlloader. I'd rather do it using DBI, but I'm not sure what kind of perfomance hit I'll incur. I need to load 2 tables on a daily basis (~50MB). Any comments?
0
1,811
thread by: krishna | last post Jul 19 '05 by: krishna
I have an XML file like.... <DateCreated> <Year>2000</Year> <Month>09</Month> <Day>25</Day> </DateCreated> <DateCreated> <Month>10</Month> <Day>28</Day>
0
2,262
thread by: JF Potvin | last post Jul 19 '05 by: JF Potvin
Hi ! I'm new to Perl and this group so any help is welcome. I've look around the groups a lot but I can't seems to find what I need. I have to do a script that connects to a specific web page and search it's source code for some words. Now, the script is able to connect to the page, print the source on screen but when I try to search, it...
0
1,463
thread by: Andrew Cholakian | last post Jul 19 '05 by: Andrew Cholakian
I'm writing a program that would frequently append XML files. Unfortuanately XML makes this difficult becaues it must use the same closing tag as it uses to start. What methods are there to simply append more XML to old XML without using a dangerous hack like truncating off the closing doc tag?
0
1,679
thread by: Michael Lubavin | last post Jul 19 '05 by: Michael Lubavin
Hi, I was trying to use Image::Magick::Thumbnail to generate thumbnails for display in thumbnail slideshow. The problem is that I have to save my thumbnail with $thumb->Write('mythumb.jpg'), but the user(over the web) should not get write permissions right? Is there a way to print this thumbnail directly into the html, or am I way off? ...
0
2,285
thread by: DP | last post Jul 19 '05 by: DP
(2nd post, I think my first may have been to the wrong group - sorry) Hello Perl-ers - I´m hoping I can get some help here, because I'm very lost. Don't know Perl, I'm not a programmer. And this is something that has worked for me earlier, only now it doesn't anymore. --------------------------------- The ¨problem¨ script -
2
1,809
thread by: nikhil w | last post Jul 19 '05 by: Zak
hi i am new to perl and would like some guidance about what books to read and how to go about knowing this language.. thanks to all replies
0
1,452
thread by: David Mertz, Ph.D. | last post Jul 19 '05 by: David Mertz, Ph.D.
At the risk of heresy, I though I might let readers of this group know that I have written a book for Addison Wesley with the title listed in the subject line. Obviously, readers are here because they program in Perl; I hardly want to engage in a language war. But my book -does- address how to do many of the things that Perl is best at, but...
1
1,797
thread by: Robert V | last post Jul 19 '05 by: Jim Rendant
Hi all, another area I could use some help with is changing submitted data based on the data conditions ... I will elaborate. I have a form textarea where a user can type in some text. This text is sent to a perl script that eventually will send that data to someone by email in HTML format. Here is where I need some help. If a user was to...
0
1,544
thread by: Robert V | last post Jul 19 '05 by: Robert V
Hi. I have created a perl script to send HTML emails. It works just fine. When a user receives an email created by my perl script, there is a link to unsubscribe. I would like to make it so when the user clicks unsubscribe in the email, the link goes to my unsubscribe script and automatically puts their email address in a form. The email...
0
1,507
thread by: Dan | last post Jul 19 '05 by: Dan
Hello all, Is it possible to disable user interaction from keybord? 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.