Re: CPAN not working, or is it?

2019-03-11 Thread Bruce Ferrell
Gary What often happens when you have "larger" modules, they reply on libraries.  To build the perl module from source, you need to devel rpm of the library installed to link against. example libxml2-2.7.6-21.el6_8.1.x86_64 libxml2-devel-2.7.6-21.el6_8.1.x86_64 XML::Simple won't build unless

Re: covert perl code to binary

2019-01-11 Thread Bruce Ferrell
I built it on a Linux box, it blew up so I read the README... that has instructions for how to do it on Windows As noted by another poster, it seems to work in spite of the test blowing up On 1/11/19 5:37 AM, Mike Flannigan wrote: I could use some more explanation. B::C is a module that you

Re: DBI and hosts file entries

2017-06-01 Thread Bruce Ferrell
Hi Paul, I'm going to assume you're on a Linux system. I have exactly that configuration on my system (name to ip address mapping in /etc/hosts) and here's my understanding of how it's supposed to work: DBI uses a database driver (DBD). DBD uses the database client libraries. In my case

Re: event driven daemon

2016-11-23 Thread Bruce Ferrell
I've used the POE module family to do event daemons On 11/23/2016 03:55 PM, Chris Fedde wrote: It might not be too bad an idea to just use processes rather than getting wrapped up in event loops and asynch IO. Forking is cheap and fast in linux. In my opinion it gets overlooked for many

Re: Wanted: Help with DBI/CGI in Windows 8.1/IIS

2014-06-26 Thread Bruce Ferrell
On 06/25/2014 09:52 PM, Bruce Ferrell wrote: On 06/25/2014 07:53 PM, siegfr...@heintze.com wrote: The following program works great inside of IIS when called from internet explorer (IE). It also works great if I remove the comment characters (#) in column 1 and run it at the cygwin bash

Re: Wanted: Help with DBI/CGI in Windows 8.1/IIS

2014-06-25 Thread Bruce Ferrell
On 06/25/2014 07:53 PM, siegfr...@heintze.com wrote: The following program works great inside of IIS when called from internet explorer (IE). It also works great if I remove the comment characters (#) in column 1 and run it at the cygwin bash command prompt. It displays the expected HTML.

Re: Of Date-Manip and Perl versions

2012-03-09 Thread Bruce Ferrell
On 03/09/2012 09:45 PM, David Christensen wrote: On 03/08/2012 11:53 AM, Bruce Ferrell wrote: Just thought I'd share with the group and experience I just had. In perhaps the hope of sparing others of the PITA I just went through. ... use Common; # contains timestamp() use Date::Manip

Of Date-Manip and Perl versions

2012-03-08 Thread Bruce Ferrell
asking. Respectfully, Bruce Ferrell -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/

Re: Of Date-Manip and Perl versions

2012-03-08 Thread Bruce Ferrell
On 03/08/2012 12:35 PM, sb...@cpan.org wrote: On 03/08/2012 02:53 PM, Bruce Ferrell wrote: Just thought I'd share with the group and experience I just had. In perhaps the hope of sparing others of the PITA I just went through. First of all, I will acknowledge I am perhaps not the best

Support/maillist for WWW::Facebook::API

2010-09-14 Thread Bruce Ferrell
? Bruce Ferrell #!/usr/bin/perl use strict; use warnings; use WWW::Mechanize; use HTML::Form; use HTTP::Cookies; use WWW::Facebook::API; use Data::Dumper; #my $client = WWW::Facebook::API-new( #desktop= 1, #throw_errors = 1

Regex question

2010-03-24 Thread Bruce Ferrell
if ( ! defined $username || ! $username =~ /[0-9]{10,11}/ ) { do something; } else { do something else; } what that's supposed to do is this: if it's blank or not 10 or 11 digits... The question is where is my understanding faulty or did I mess up. Thanks in advance Bruce -- To

Re: XML and representations

2010-01-30 Thread Bruce Ferrell
, SuppressEmpty = undef); HTH, Rob Bruce Ferrell wrote: I have a wee problem I can seem to solve. I don't want to get into should XML::Simple be used, it's not relevant to my question... I don't think. Below is some very simple XML and below that the output after passing it through Dumper

XML and representations

2010-01-29 Thread Bruce Ferrell
Perl monks, I have a wee problem I can seem to solve. I don't want to get into should XML::Simple be used, it's not relevant to my question... I don't think. Below is some very simple XML and below that the output after passing it through Dumper. As you can see phone2 is a blank tag (no

Weird CGI.pm issue

2010-01-08 Thread Bruce Ferrell
Somehow my data is being transformed. The CGI code is: #/bin/perl use CGI::Util qw( escape unescape make_attributes ); use CGI; use CGI qw( escapeHTML ); my $q = new CGI; my $data= $q-param( 'POSTDATA' ); print STDERR $data .\n; The output is: ?xml

Re: Weird CGI.pm issue

2010-01-08 Thread Bruce Ferrell
Shawn H Corey wrote: Bruce Ferrell wrote: Somehow my data is being transformed. The CGI code is: #/bin/perl use CGI::Util qw( escape unescape make_attributes ); use CGI; use CGI qw( escapeHTML ); my $q= new CGI; my $data = $q-param( 'POSTDATA

CGI.pm post types

2009-12-30 Thread Bruce Ferrell
I see on the CGI web page that this: === use CGI; $q = new CGI; $query = $q-param( 'POSTDATA' ); === will return the contents of this URI: http://server/cgi.cgi?POSTDATA=posteddata How do I code so that I don't have to use

Re: CGI.pm post types

2009-12-30 Thread Bruce Ferrell
Shlomi Fish wrote: On Thursday 31 Dec 2009 00:28:51 Bruce Ferrell wrote: I see on the CGI web page that this: === use CGI; $q = new CGI; $query = $q-param( 'POSTDATA' ); === will return the contents of this URI: http

How to fill an array from multiple row in a db

2009-09-30 Thread Bruce Ferrell
I have a database (mysql if it matters) and I can select columns and rows from it no problem. what I can't quite seem to see how to do is to take the columns I can select and put them into a 2 dimensional array. I tried this: @data = $sth-fetchrow_array(); and it got a two dimensional array

Re: How to fill an array from multiple row in a db

2009-09-30 Thread Bruce Ferrell
Shawn H Corey wrote: Bruce Ferrell wrote: I have a database (mysql if it matters) and I can select columns and rows from it no problem. what I can't quite seem to see how to do is to take the columns I can select and put them into a 2 dimensional array. I tried this: @data = $sth

Re: How to fill an array from multiple row in a db

2009-09-30 Thread Bruce Ferrell
Jim Gibson wrote: On 9/30/09 Wed Sep 30, 2009 11:33 AM, Bruce Ferrell bferr...@baywinds.org scribbled: Shawn H Corey wrote: Bruce Ferrell wrote: I have a database (mysql if it matters) and I can select columns and rows from it no problem. what I can't quite seem to see how to do

Re: mod_perl: access full request, log it, etc

2009-08-23 Thread Bruce Ferrell
Dan wrote: Hi all. I'm setting up a mod_perl soap server, and a friend is writing a java client. As I commented to him, it's a bit like the blind leading the blind at this point :) His request is causing mod_perl to complain about not being able to serialize the request, with an error

Re: CPAN won't install YAML and others

2009-06-20 Thread Bruce Ferrell
Dennis G. Wicks wrote: Greetings; YAML is not installed on my Lenny system and when I try to install it (with perl -MCPAN -e shell) I get the following errors after the source has been unpacked. Any ideas? Thanks for any help! Dennis BTW : cardinal:~# ls -l

Re: Web photo album, is this possible in CGI

2009-05-10 Thread Bruce Ferrell
Greg Jetter wrote: On Saturday 09 May 2009 7:43:45 pm Adam Jimerson wrote: Hi all, I am wanting to put something together where every time the script executes it looks into a set directory for photos and then builds a web page with those photos, or even a enlargeable thumbnail of the

Re: xml parsing

2009-04-29 Thread Bruce Ferrell
Have a look at XML::Simple I'm a lousy programmer and even I can use it :) sanket vaidya wrote: Hi, Search for some XML modules on CPAN get your job done by using appropriate module. I haven't used perl with XML So cannot tell you the exactly which module. Thanks, Sanket Vaidya

Is there a way to un-install modules?

2009-01-23 Thread Bruce Ferrell
I know this is going to sound odd, but I've installed some modules using the CPAN module and I now want to uninstall them or put them into a state where they are no longer detected. Is there a way to do this? TIA Bruce -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional

Re: Helpful Regular Expression Tool

2004-06-16 Thread Bruce Ferrell
Google took here: http://www.weitz.de/regex-coach/ Roberts Mr Richard L wrote: URL? thanks in advance Richard L. Roberts Systems Integrator Marine Corps Community Services 3044 Catlin Ave. Quantico, Va. 22134 Phone: 703.432.0109 Fax: 703.784.1249 Email: [EMAIL PROTECTED] -Original Message-

Re: HOW-TO of the Month Club (end Of MARCH Edition)

2004-03-27 Thread Bruce Ferrell
I'm not a good enough coder to judge issues of style... Mostly grab a tweak stuff from cookbooks, BUT isn't TMTOYTDI kind of core to PERL? Or is PERL turning into Python? BYW, I like the how-tos -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Use of FOR statement

2004-01-09 Thread Bruce Ferrell
TMTOWTDI?=There is more that one way to do it Paul Kraus wrote: Use english? TMTOWTDI? Paul Kraus --- PEL Supply Company Network Administrator -Original Message- From: Rob Dixon [mailto:[EMAIL PROTECTED] Sent: Thursday, January 08, 2004 5:21 PM To: [EMAIL

Re: linux - install bundle::cpan

2003-09-07 Thread Bruce Ferrell
if you have cpan set-up with UNINSTALL=1 the older file will be detected and replaced in toto by the new one Todd W. wrote: Paul Kraus [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I am trying to install Bundle::CPAN and i seem stuck in this loop. Any suggestions? outut of command

Re: logon on startup

2002-06-26 Thread Bruce Ferrell
It done using the apache .htaccess file Martin Pestun wrote: Hi I've got cgi scripts running on the local Apache. When somebody wants to login my web site, I would like to want from him to use this logon message like this: (Embedded image moved to file: pic28145.pcx) Can you tell me,

Re: Matt Wright's formMail

2002-05-13 Thread Bruce Ferrell
Just to throw jet fuel on the fire... cuz they come up on a google search for: cgi perl counter and nms doesn't! :) Seriously, I do use them (ok, did until now) because they're handy, don't spew errors and I can understand the code. Now that I know they have problems, probably not anymore...

Re: Would anybody tell me what is the meaning of foo ?

2001-12-30 Thread Bruce Ferrell
Hi Connie, It goes back to the military. Originally it was SNAFU. The translations is/was Situation Normal, All Fouled Up (ok fouled is NOT the word most often used, but I'm trying to keep it clean). When I learned digital electronics people talked about FU and FU-BAR. FU being a true-active

Use of packages

2001-11-19 Thread Bruce Ferrell
I came up with this question while I was reading Paul Dubois book MySQL and PERL for the Web. I'm not sure I'm clear on a concept, so I'm posting it here in pseudo perl hope of getting some clarity. A package (module?) is created thusly: #begin perl package package packagename; sub sub1 {

Re: Off-Topic (200%) - Where are you from?

2001-11-09 Thread Bruce Ferrell
Etienne Marcotte wrote: By reading the messages everyday I can guess most of us are from United States right? And since there are not a lot of messages in (my) morning time, probably means most are from the west coast (different timezone). Am I right? I'm from Quebec, Canada.. and you?

Re: perl GUI

2001-08-19 Thread Bruce Ferrell
There is, but I've never been able to get it to build. It's called perlcomposer and you can find it on sourceforge: http://perlcomposer.sourceforge.net/index.html Good luck and if you can get it working, please let me know. I run a Slackware system (7.1+) and RedHat 6.x. b g wrote: Hi

Re: Conecting my web server to informix.

2001-06-25 Thread Bruce Ferrell
Chas Owens wrote: On 24 Jun 2001 08:24:53 -0700, Bruce Ferrell wrote: Joe, You'll need to install perl DBI and DBD Informix. Use the CPAN Client to download and install the as follows: perl -MCPAN -e chell I think you mean perl -MCPAN -e shell Insert red face here :

Re: Conecting my web server to informix.

2001-06-24 Thread Bruce Ferrell
Joe, You'll need to install perl DBI and DBD Informix. Use the CPAN Client to download and install the as follows: perl -MCPAN -e chell The above starts up the CPAN client in interactive mode. The issue the following commands: install DBI That will download and install the PERL database