RE: Make errors for Image::Magick

2005-03-21 Thread Chris Devers
On Mon, 21 Mar 2005, Tham, Philip wrote: > I am using Perl 5.8.6 which was built on a sparc Solaris 2.8. Okay, so why not start here? There's a binary release for Solaris -- won't that work? If you prefer to go to Sun for this, try here

RE: Make errors for Image::Magick

2005-03-21 Thread Tham, Philip
>-Original Message- >From: Chris Devers [mailto:[EMAIL PROTECTED] >Sent: Monday, March 21, 2005 5:06 PM >To: Tham, Philip >Cc: Perl Beginners List >Subject: Re: Make errors for Image::Magick >On Mon, 21 Mar 2005, Tham, Philip wrote: >> Need some advice. The installed version of perl i

Re: Make errors for Image::Magick

2005-03-21 Thread Chris Devers
On Mon, 21 Mar 2005, Tham, Philip wrote: > Need some advice. The installed version of perl is not currently > supporting multithreading. You seem to be using a custom Perl build in /usr/local/bin. What happens if you try the stock Perl in /usr/bin ? What operating system is this? If it's Linux,

Make errors for Image::Magick

2005-03-21 Thread Tham, Philip
After the command perl -MCPAN -e shell I run the following commands get Image::Magick The source files were downloaded properly. On Running the command make I get the following errors: Need some advice. The installed version of perl is not currently supporting multithreading. Thanks in advanc

Re: Regex to remove non printable characters

2005-03-21 Thread John W. Krahn
Ramprasad A Padmanabhan wrote: Hello All Hello, I want to remove all characters with ascii values > 127 from a string By definition ASCII only includes the characters in the range 0 to 127 so those are non-ASCII characters. Can someone show me a efficient way of doing this. Currently what I am doi

Re: Make error for Tk::JPEG

2005-03-21 Thread Chris Devers
On Mon, 21 Mar 2005 [EMAIL PROTECTED] wrote: > I have downloaded the Tk-JPEG-2.014 source from cpan. I have it unpacked. I > ran "perl Makefile.PL". When I exec "make" it runs for a little bit and then > errors out: > > *snip* > gcc -c -I/opt/perl/lib/site_perl/5.8.0/PA-RISC1.1-thread-multi/Tk

RE: Perl Analyzing Maillog

2005-03-21 Thread Wagner, David --- Senior Programmer Analyst --- WGO
Nick Chettle wrote: > Wagner, David --- Senior Programmer Analyst --- WGO wrote: > >> Then concatenate in something like: >> $msgids{"$1"} .= $msgarray[$_]; >> Wags ;) > > Thanks for the speedy response. > > Sorry, but I don't understand how to use that. Surely that would be >

Make error for Tk::JPEG

2005-03-21 Thread brian . barto
Hi. I am having a heck of a time installing Tk::JPEG on hpux 11.0. I know this isn't directly perl related but I'm hoping someone has seen this before and could lead me in the right direction. I have downloaded the Tk-JPEG-2.014 source from cpan. I have it unpacked. I ran "perl Makefile.PL". When

Re: Perl Analyzing Maillog

2005-03-21 Thread Nick Chettle
Wagner, David --- Senior Programmer Analyst --- WGO wrote: Then concatenate in something like: $msgids{"$1"} .= $msgarray[$_]; Wags ;) Thanks for the speedy response. Sorry, but I don't understand how to use that. Surely that would be trying to index an array but a great l

RE: Perl Analyzing Maillog

2005-03-21 Thread Wagner, David --- Senior Programmer Analyst --- WGO
Nick Chettle wrote: > Charles K. Clarkson wrote: >>> I've been thinking about it an wondering if it needs to be this >>> complex. Can't I just create a hash (With the message ID as the key) >>> and the line as data? I tried: >> >> Only if the message ids are unique. I have no idea what a mail

Re: Perl Analyzing Maillog

2005-03-21 Thread Nick Chettle
Charles K. Clarkson wrote: : I've been thinking about it an wondering if it needs to be this : complex. Can't I just create a hash (With the message ID as the key) : and the line as data? I tried: Only if the message ids are unique. I have no idea what a mail log looks like, so I don't know if

RE: XML Generator DBI

2005-03-21 Thread Graeme St. Clair
-w is kind of pan-galactic and influences modules you're calling, regardless of their own 'warnings' settings. Try 'use warnings' without -w. See p861 in the camel 3rd edition. HTH, GStC. -Original Message- From: Mike Lesser [mailto:[EMAIL PROTECTED] Sent: Saturday, March 19, 2005 11:

Re: Dump running source code?

2005-03-21 Thread Chris
> And more than that: > > my %sources; > local *ARGV; local $/; > @ARGV = ($0, values %INC); > while (<>) { > $sources{$ARGV} = $_; > } > > There. The entire source code for the application is now in %sources. > Every .pm, every require, and the top-level application. > > Enjoy. Thanks for the

Re: Upgraded perl to 5.8.0, can I reuse old modules?

2005-03-21 Thread Wiggins d'Anconia
[EMAIL PROTECTED] wrote: Hi! I just upgraded perl on one of my UNIX machines to 5.8.0 (was 5.6.1). Of course there is no great surprise that the new perl is telling me it can't find any of my modules I install under the old version. So my question is, can I add an extra path to perl @INC array to

perl.beginners Weekly list FAQ posting

2005-03-21 Thread casey
NAME beginners-faq - FAQ for the beginners mailing list 1 - Administriva 1.1 - I'm not subscribed - how do I subscribe? Send mail to <[EMAIL PROTECTED]> You can also specify your subscription email address by sending email to (assuming [EMAIL PROTECTED] is your email address):

Upgraded perl to 5.8.0, can I reuse old modules?

2005-03-21 Thread brian . barto
Hi! I just upgraded perl on one of my UNIX machines to 5.8.0 (was 5.6.1). Of course there is no great surprise that the new perl is telling me it can't find any of my modules I install under the old version. So my question is, can I add an extra path to perl @INC array to point to the location of

Re: Dump running source code?

2005-03-21 Thread Wiggins d'Anconia
Randal L. Schwartz wrote: "JupiterHost" == JupiterHost Net <[EMAIL PROTECTED]> writes: JupiterHost> Hello, Is there any possible way that somebody writing a "plug-in" would be able to some how dump the code from the require'ing script? The people writing the plug-ins do not have access to any of t

Re: Dump running source code?

2005-03-21 Thread JupiterHost.Net
And more than that: my %sources; local *ARGV; local $/; @ARGV = ($0, values %INC); while (<>) { $sources{$ARGV} = $_; } There. The entire source code for the application is now in %sources. Every .pm, every require, and the top-level application. Nice and slick :) -- To unsubscribe, e-mail: [EMA

Re: Dump running source code?

2005-03-21 Thread Randal L. Schwartz
> "JupiterHost" == JupiterHost Net <[EMAIL PROTECTED]> writes: JupiterHost> Hello, >> Is there any possible way that somebody writing a "plug-in" would be >> able to some how dump the code from the require'ing script? The >> people writing the plug-ins do not have access to any of the code, >>

Re: Regex to remove non printable characters

2005-03-21 Thread Offer Kaye
On Mon, 21 Mar 2005 18:44:52 +0530, Ramprasad A Padmanabhan wrote: > Hello All > I want to remove all characters with ascii values > 127 from a string > > Can someone show me a efficient way of doing this. > Currently what I am doing is reading the string char-by-char and check > its ascii value.

Re: Dump running source code?

2005-03-21 Thread JupiterHost.Net
Hello, Is there any possible way that somebody writing a "plug-in" would be able to some how dump the code from the require'ing script? The people writing the plug-ins do not have access to any of the code, so im trying to make sure they can't access it in any other way. If I was trying to see t

Regex to remove non printable characters

2005-03-21 Thread Ramprasad A Padmanabhan
Hello All I want to remove all characters with ascii values > 127 from a string Can someone show me a efficient way of doing this. Currently what I am doing is reading the string char-by-char and check its ascii value. I think there must be a better way. Thanks Ram