Re: CGI and DBI : using db queries in html

2007-11-08 Thread David Moreno Garza
On Thu, 2007-11-08 at 11:22 -0800, neil wrote: $q - popup_menu(-name = 'study_select', -values = [EMAIL PROTECTED]), You should be passing: -values = [EMAIL PROTECTED] D. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/

Re: Possible Perl/CGI Application

2007-10-23 Thread David Moreno Garza
going to reach a point a few weeks down the road when I realize I should have taken a different approach. Sure, why not. -- David Moreno Garza [EMAIL PROTECTED] | http://www.damog.net/ Ahora buscas chamba por la Marquesa. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands

Re: What modules should I use to transfer a video scrip through the net?

2007-05-28 Thread David Moreno Garza
Moreno Garza [EMAIL PROTECTED] | http://www.damog.net/ Más vale morir de pie que vivir de rodillas. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/

Re: How to split a large string with repeating delimiters into multiple substrings

2007-05-24 Thread David Moreno Garza
for all URLs on the string starting with upsl-url and ending in /upsl-url. $string =~ s/\Aupsl\-url//; $string =~ s/\/upsl\-url\z//; my @urls = split /\/upsl\-urlupsl\-url/, $string; Does the trick. I guess :-) -- David Moreno Garza [EMAIL PROTECTED] | http://www.damog.net/ Pobre México: Tan

Re: Module question

2007-05-24 Thread David Moreno Garza
/; ? Or is the Perl 4 way to call subroutines also needed? -- David Moreno Garza [EMAIL PROTECTED] | http://www.damog.net/ URL:http://pub.tsn.dk/how-to-quote.php -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/

Re: parsing html data

2007-05-22 Thread David Moreno Garza
for that. A number of modules around LWP can help you with it. WWW::Mechanize, specifically, can help you with its specific method, content(): $mech-content(format = 'text'); -- David Moreno Garza [EMAIL PROTECTED] | http://www.damog.net/ URL:http://pub.tsn.dk/how-to-quote.php

Re: overriding posix::uname

2007-05-22 Thread David Moreno Garza
Funny thing: Jeff Pang wrote: $ perl -e 'print $^O' linux User-Agent: Thunderbird 2.0.0.0 (Windows/20070326) Just trolling :-) -- David Moreno Garza [EMAIL PROTECTED] | http://www.damog.net/ Saca tus alas y empieza a volar. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Re: Parsing XML data

2007-05-21 Thread David Moreno Garza
from XML file. I tried used Data::Dumper to help, but didn't get the results I though, any help would be much appreciated as the best way to parse this data. I suggest you to use XML::TreePP. -- David Moreno Garza [EMAIL PROTECTED] | http://www.damog.net/ Pobre México: Tan lejos de Dios, tan

Re: how do I use a module without installing it?

2007-05-20 Thread David Moreno Garza
Moreno Garza [EMAIL PROTECTED] | http://www.damog.net/ Poor Mexico: So far from God, so close to the United States. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/

Re: Thoughts on comments

2007-05-14 Thread David Moreno Garza
Dr.Ruud wrote: The / is taken, but there are many other ways to do multiline comments. For one, see perldoc perlpod. You mean using =begin, =end? They are not exactly multiline *comments*. -- David Moreno Garza [EMAIL PROTECTED] | http://www.damog.net/ URL:http://www.georgedillon.com/web

Re: Hi ....

2007-03-09 Thread David Moreno Garza
Neal Clark wrote: I always thought it was an acronym, for Pratical Extraction and Report Language. Is that untrue, just one of those post-facto expansions? Indeed, just as Pathologically Eclectic Rubbish Lister. -- David Moreno Garza [EMAIL PROTECTED] | http://www.damog.net/ Si tienes

Re: Output Order?

2007-02-28 Thread David Moreno Garza
finish writing to it by closing filehandle o. Hope this helps! What's the proper way to handle buffering? I mean, to prevent it. -- David Moreno Garza [EMAIL PROTECTED] | http://www.damog.net/ Todo lo que consumes te puede consumir. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Re: Perl Parsing

2007-02-21 Thread David Moreno Garza
Sumit Shah wrote: I have a string like: 'a = 1; b = 2; c = 3; d = 4' my($c) = $string =~ /c = (\d)/; Maybe? -- David Moreno Garza [EMAIL PROTECTED] | http://www.damog.net/ Una vida sencilla para nada es aburrida. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail

Re: Word counts

2007-02-20 Thread David Moreno Garza
, if this is possible to do. This might help you a bit: http://search.cpan.org/~clotho/CAM-PDF-1.08/lib/CAM/PDF.pm#Document_reading -- David Moreno Garza [EMAIL PROTECTED] | http://www.damog.net/ No quiero ser esclavo de tanta publicidad. -- To unsubscribe, e-mail: [EMAIL PROTECTED

Re: Word counts

2007-02-20 Thread David Moreno Garza
Mike Blezien wrote: thx's, looks like a good place to start w/PDF files, now to find some info on DOC files :) This might help: http://www.wellho.net/forum/Perl-Programming/convert-a-MS-Word-doc-into-multiple-HTML-pages.html -- David Moreno Garza [EMAIL PROTECTED] | http://www.damog.net

Re: logic help

2007-02-15 Thread David Moreno Garza
, as sets. I'm sorry for not stating all of this with the proper mathematical terms: I'm not used to math terms in English. Hope this helps. -- David Moreno Garza Abajo y a la izquierda está el corazón. http://www.damog.net

Re: HTTP Post using IO::Socket

2007-02-13 Thread David Moreno Garza
as it saved mine a few weeks ago ;) http://users.skynet.be/pascalbotte/rcx-ws-doc/perlpost.htm That's exactly what you are looking for. But not using IO::Socket. -- David Moreno Garza Abajo y a la izquierda está el corazón. http

Re: How to customize Perl installation

2007-01-23 Thread David Moreno Garza
On Mon, 2007-01-22 at 20:09 -0800, Jeff Peng wrote: It depends on what operating system you are using on your host. HI, I'm using RedHat Linux (AS4) of 2.6 kernel.Thanks. I'm not experienced with Red Hat, but I'd bet it already contains Perl core and CGI.pm. Otherwise, find CGI at

Re: How to customize Perl installation

2007-01-22 Thread David Moreno Garza
On Mon, 2007-01-22 at 09:05 -0800, Jeff Peng wrote: Hello, I just need Perl core and CGI.pm to be installed on my host.How can I do it?thanks. It depends on what operating system you are using on your host. Cheers, David. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Re: maximum file size for while(FILE) loop?

2007-01-21 Thread David Moreno Garza
On Sat, 2007-01-20 at 09:31 +1100, Ken Foskey wrote: What's exactly the difference between: ++$lines; and $lines++; ? Nothing in this context. What about other contexts? David. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Re: maximum file size for while(FILE) loop?

2007-01-19 Thread David Moreno Garza
On Fri, 2007-01-19 at 13:24 +, Rob Dixon wrote: ++$lines; What's exactly the difference between: ++$lines; and $lines++; ? David. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/

Re: simple perl script on Windows

2007-01-18 Thread David Moreno Garza
On Thu, 2007-01-18 at 11:44 -0500, Mathew wrote: open FILE, H:\My Music\folderlist.txt; foreach my $line (readline FILE) { $line =~ s/^.*\s//g; open FILE2, H:\My Music\artists.txt; print FILE2 $line . \n; close FILE2; } close FILE; I'd go with: open

Re: Capturing stdout and stderr without redirection

2007-01-18 Thread David Moreno Garza
On Thu, 2007-01-18 at 07:11 -0800, Peter Scott wrote: my $output = `myperlscript.pl 21`; send_email($output) if $output; Doubt: Isn't send_email($output) in this situation still going to happen? I mean, even of there is not output on myperlscript.pl 21, $output is going to be set, meaning the

Re: simple perl script on Windows

2007-01-18 Thread David Moreno Garza
On Thu, 2007-01-18 at 21:42 -0500, Mathew Snyder wrote: Citlali had provided a regex that almost did what I wanted and then David gave me one that did exactly what I wanted. Yay! We learn from everybody :-) David. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail:

Re: Can't not install Inline::Ruby module

2006-12-20 Thread David Moreno Garza
chen li wrote: Yes. I have a Ruby interpreter installed and it works fine for running Ruby scripts. But I am not sure why it is not available on the system PATH. Do you run Ruby scripts from any directory on your Windows system? -- David Moreno Garza [EMAIL PROTECTED] | http://www.damog.net

Re: Can't not install Inline::Ruby module

2006-12-20 Thread David Moreno Garza
it. -- David Moreno Garza [EMAIL PROTECTED] | http://www.damog.net/ Lo poco que yo tengo lo gané con mi sudor. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/ http://learn.perl.org/first-response

Re: why i can't install Tk on Linux?

2006-06-04 Thread David Moreno Garza
you to get X headers. -- David Moreno Garza [EMAIL PROTECTED] | http://www.damog.net/ [EMAIL PROTECTED] | GPG: C671257D Si no vuelves por que no quieres, si no por que no tienes pa'l pasaje. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e

Re: Remote backup file

2006-03-15 Thread David Moreno Garza
would using the LWP module be a good technique to use? What procedures you used to do to make the backup manually? -- David Moreno Garza [EMAIL PROTECTED] | http://www.damog.net/ [EMAIL PROTECTED] | GPG: C671257D Si no vuelves por que no quieres, si no por que

Re: Filter Quotes

2006-03-05 Thread David Moreno Garza
On 18:30 Thu 02 Mar 2006, maillists wrote: $Values-{text_field} =~ s//quot;/; Try adding a `g' on the end of the regexp: $Values-{text_field} =~ s//quot;/g; Cheers, -- David Moreno Garza [EMAIL PROTECTED] | http://www.damog.net/ [EMAIL PROTECTED] | GPG