Re: Can't Install DBD::mysql

2007-06-13 Thread Chas Owens
On 6/13/07, Lola J. Lee Beno [EMAIL PROTECTED] wrote: Sherm Pendley wrote: The error message is telling you what file is missing - it's the C client library that should have been installed with MySQL itself. So, what went awry during the MySQL installation to cause that file to be missing?

Re: Can't Install DBD::mysql

2007-06-13 Thread Chas Owens
On 6/13/07, Lola J. Lee Beno [EMAIL PROTECTED] wrote: Chas Owens wrote: There is a package called Headers and libraries. You need to install that as well if you want to compile code that talks to MySQL. Where do I get this package? -- Lola J. Lee Beno - ColdFusion Programmer/Web Designer

Re: unable to install Math::GMP

2007-09-05 Thread Chas Owens
On 9/5/07, Louis-Philippe [EMAIL PROTECTED] wrote: snip Net::SSH::Perl still stops its install at the same spot it did before!!! : t/02-buffer..Can't locate Math/GMP.pm in @INC (@INC contains: snip can you say perl -MMath::GMP -le 'print ok' If not then you need to add the directory you

Re: unable to install Math::GMP

2007-09-05 Thread Chas Owens
On 9/5/07, Louis-Philippe [EMAIL PROTECTED] wrote: here is what it does: -bash-2.05b$ perl -MMath::GMP -e 'print ok' ok-bash-2.05b$ If you had included the -l along with the -e it would have made more sense, but that means perl can find Math::GMP (it would have thrown an error otherwise).

Re: unable to install Math::GMP

2007-09-05 Thread Chas Owens
On 9/5/07, Louis-Philippe [EMAIL PROTECTED] wrote: I tried both fink macports in the past... but I don't use any right now, and they left lots of trace in my system... how would I know if my thing is wrecked? snip Not quite sure, the first thing I would do is say which perl to see which one

Re: Re: Leopard Perl version... @ 1192462023

2007-10-15 Thread Chas. Owens
On 10/15/07, Johan Meskens CS3 jmcs3 snip I *wish* it was 5.10 as that has some very nice features that I am excited about. like what for example ? snip Here are some of the things that are coming in Perl 5.10. * a switch statement: given($string) { when (/^abc/)

Re: Is there a True Boolean type in Perl?

2007-10-15 Thread Chas. Owens
On 10/15/07, Michael Barto [EMAIL PROTECTED] wrote: As both Java and Javascript both have a 'true' and 'false' or Boolean data type, is there any interest in evolution of Perl to have a true Boolean. Or what is the preferred method to do this in Perl. The C programmers want me to use 0's

Re: Is there a True Boolean type in Perl?

2007-10-16 Thread Chas. Owens
On 10/15/07, Michael Barto [EMAIL PROTECTED] wrote: I think in the more newer languages, they have implemented true booleans. Perl is kind of old school. Pascal defines them as a grandfather of languages. Therefore as one migrates the languages to a higher levels (e.g. Perl[n]), they

Re: Is there a True Boolean type in Perl?

2007-10-16 Thread Chas. Owens
On 10/15/07, Doug McNutt [EMAIL PROTECTED] wrote: At 18:20 -0700 10/15/07, Michael Barto wrote: I think in the more newer languages, they have implemented true booleans. Perl is kind of old school. use constant TRUE = 1; use constant FALSE = 0; Is a complete solution in perl 5. There

Re: tr question (probably wrong list to ask, but ...)

2007-11-30 Thread Chas. Owens
On Nov 30, 2007 9:43 PM, Joel Rees [EMAIL PROTECTED] wrote: I guess it would help if I posted my code and what it puts out. snip Whoa, way to much information. Try to reproduce your issue with the least amount of code and data. Off hand I would say your problem is probably with the encoding of

Re: tr question (probably wrong list to ask, but ...)

2007-11-30 Thread Chas. Owens
On Nov 30, 2007 7:33 PM, Joel Rees [EMAIL PROTECTED] wrote: This is probably the wrong list for this question, but is anyone willing to give me a clue why $line =~ tr/+/ /; would clip out the lead bytes of a shift-JIS string in a cgi script? snip The only thing that should do is replace

Re: tr question (probably wrong list to ask, but ...)

2007-11-30 Thread Chas. Owens
On Nov 30, 2007 9:19 PM, Doug McNutt [EMAIL PROTECTED] wrote: At 01:56 + 12/1/07, Andy Holyer wrote: On 1 Dec 2007, at 00:33, Joel Rees wrote: This is probably the wrong list for this question, but is anyone willing to give me a clue why $line =~ tr/+/ /; would clip out the lead

Re: problem with @INC

2008-01-18 Thread Chas. Owens
On Jan 17, 2008 2:33 PM, ANJAN PURKAYASTHA [EMAIL PROTECTED] wrote: Hi, a use PGPLOT command in the PDL turns up this error: snip However PGPLOT.pm seems to be present in 1. /Users/anjan/.cpan/build/PDL-2.4.3/Graphics/PGPLOT/PGPLOT.pm and 2.

Re: Proposed Mac::Pasteboard

2008-01-27 Thread Chas. Owens
On Jan 26, 2008 10:46 PM, [EMAIL PROTECTED] wrote: On Jan 22, 2:31 am, [EMAIL PROTECTED] (Brian D Foy) wrote: [[ This message was both posted and mailed: see the To, Cc, and Newsgroups headers for details. ]] In article

Re: Proposed Mac::Pasteboard

2008-01-28 Thread Chas. Owens
On Jan 28, 2008 1:45 PM, [EMAIL PROTECTED] wrote: snip That seems to argue that I publish Mac::Pasteboard pretty much as is, then follow with Mac::Clipboard. It's lazy, but is it lazy _enough_? Would it expedite discussion if I put out a pre-release of the code? If so, how should it be done?

Re: How to run Perl script at Mac OS (Darwin) Release?

2008-03-07 Thread Chas. Owens
or absolute name: ./test1.pl /home/username/test1.pl -- Chas. Owens wonkden.net The most important skill a programmer can have is the ability to read.

Re: Res: Res: Res: Parsing of undecoded UTF-8 will give garbage when decoding entities

2008-09-27 Thread Chas. Owens
On Sep 27, 2008, at 10:00, Bianca Shibuya [EMAIL PROTECTED] wrote: Thank you for your help. But the content of @$row[7] is a string (I have printed out it). If it is not a string, I cannot identify other variable to apply this function. =( Because the rest of the program is a sequence of

Re: Adding to @INC

2009-01-07 Thread Chas. Owens
overrides to the default profile (/etc/bashrc). If this is a multiuser machine and you want the other users to see the modules as well you can set it in the default profile instead of your own. -- Chas. Owens wonkden.net The most important skill a programmer can have is the ability to read.

Re: Adding to @INC

2009-01-07 Thread Chas. Owens
correctly. Check .bash_profile, there is probably a line like . ~/.profile in it. I don't think it was Fink that added that, Fink has always just added test -r /sw/bin/init.sh . /sw/bin/init.sh to my ~/.bash_profile. -- Chas. Owens wonkden.net The most important skill a programmer can have

Re: Adding to @INC

2009-01-07 Thread Chas. Owens
On Wed, Jan 7, 2009 at 11:21, Adam Witney awit...@sgul.ac.uk wrote: On 7 Jan 2009, at 16:19, Chas. Owens wrote: On Wed, Jan 7, 2009 at 11:13, Adam Witney awit...@sgul.ac.uk wrote: Try adding this to your ~/.profile export PERL5LIB=${PERL5LIB}:/opt/local/lib/perl5/site_perl/5.8.8 OS X

Re: What does ord mean?

2009-03-04 Thread Chas. Owens
-nle 'print ord' I assume the problem has to do with UNICODE vs UTF-8. -- Chas. Owens wonkden.net The most important skill a programmer can have is the ability to read.

Re: New to Mac - need help compiling a package

2009-04-27 Thread Chas. Owens
, or .bashrc (whichever you use). * close terminal * open terminal 1. http://search.cpan.org/CPAN/authors/id/A/AP/APEIRON/local-lib-1.003003.tar.gz -- Chas. Owens wonkden.net The most important skill a programmer can have is the ability to read.

Re: New to Mac - need help compiling a package

2009-04-27 Thread Chas. Owens
In addition I have earlier tried option 2 but the make command fails with the following error: bash: make: command not found Thanks again, Shai On 4/27/09 1:48 PM, Chas. Owens chas.ow...@gmail.com wrote: tar xvfz local-lib-1.003003.tar.gz Hmm, you may need to install xcode[1

Re: New to Mac - need help compiling a package

2009-04-28 Thread Chas. Owens
Perl, well, that is the sort of thing that can happen when you install modules as root. I find it much better to install as a normal user, that way my modules are safe from OS updates screwing with them. -- Chas. Owens wonkden.net The most important skill a programmer can have is the ability

Re: MacOSX-File-0.71

2011-01-16 Thread Chas. Owens
on the right under the CPAN logo (the link is the author's name). -- Chas. Owens wonkden.net The most important skill a programmer can have is the ability to read.

Re: Need some help on installing modules...

2011-01-17 Thread Chas. Owens
/App-cpanminus/lib/App/cpanminus.pm [3]: http://stackoverflow.com/questions/3718153/how-can-i-install-perl-version-under-my-home-using-perlbrew [4]: http://www.theregister.co.uk/2009/02/16/apple_update_perl_breakage/ -- Chas. Owens wonkden.net The most important skill a programmer can have

Re: New Perl-Installation on new OS X

2011-06-09 Thread Chas. Owens
the POD), it will allow you to build older versions of perl that break on newer machines. That is about all it does, but that can be incredibly useful. -- Chas. Owens wonkden.net The most important skill a programmer can have is the ability to read.

Re: Clean Install

2011-06-17 Thread Chas. Owens
line is not used to find the perl interpreter in that case (but I believe some of the switches still have an effect). This is the solution I tend to use these days. -- Chas. Owens wonkden.net The most important skill a programmer can have is the ability to read.

Re: SQLite over MySQL?

2011-06-19 Thread Chas. Owens
, there is nothing to stop you from storing a string in it (this is a simplification of its dynamic typing, but an integer column can contain fred). [1]: http://www.sqlite.org/serverless.html -- Chas. Owens wonkden.net The most important skill a programmer can have is the ability to read.