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
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
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
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
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
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.
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
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/
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
?
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
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
, 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
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
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
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
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
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
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
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
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
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
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
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
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
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
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-
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]
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
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
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,
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...
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
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 {
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?
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
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 :
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
37 matches
Mail list logo