problems buiding perl 5.8.8

2006-02-17 Thread Mike Stevenson
Hi, i'm trying to build perl 5.8.8 using djgpp on my winxp box. I have everything that readme.dos says i need, but i'm still getting a number of errors at various points. sometimes i get a lot of segmentation faults in grep.exe; i can provide some specifics if it would help. it seems like i get

Re: bless $self, $class;

2006-02-17 Thread David Kaufman
Hi Ken! Ken Perl <[EMAIL PROTECTED]> wrote: > > what does the statement mean? > > bless $self, $class; Thar is what a perl monk says to a his students when he sneezes during a lesson and no one says "Gazunteit". -dave -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e

RE: bless $self, $class;

2006-02-17 Thread Timothy Johnson
Also check out perldoc perltoot perldoc perltooc -Original Message- From: Kirill Ponomarew [mailto:[EMAIL PROTECTED] Sent: Friday, February 17, 2006 12:30 AM To: Ken Perl Cc: Perl Beginners List Subject: Re: bless $self, $class; On Fri, Feb 17, 2006 at 04:26:33PM +0800, Ken Perl wrote

Re: bless $self, $class;

2006-02-17 Thread Chas Owens
On 2/17/06, Ken Perl <[EMAIL PROTECTED]> wrote: > what does the statement mean? > > bless $self, $class; snip This is how you make objects in Perl. The bless function adds some meta data to the variable that is blessed telling it that it is now of class $class. You will usually see this at the e

Re: Reading unicode (UTF-16)

2006-02-17 Thread Jay Savage
I wish somebody'd set the reply-to field on this list... On 2/17/06, Jay Savage <[EMAIL PROTECTED]> wrote: > please don't top post. > > On 2/17/06, Tommy Nordgren <[EMAIL PROTECTED]> wrote: > > This won't work. I have no idea at all what happens when the input is > > UTF-16, but Perl > > expects i

Making Image::Magick against a specific ImageMagick installation path

2006-02-17 Thread JupiterHost.Net
Howdy list, When installign Image::Magick you do this: perl Makefile.PL make make install How do I tell it the path that ImageMagick is installed in sot hat its get built agianst them specifically? The docs and comments in Makefile.PL are pretty slim :) Would this do what I'm looking for ab

Re: purpose of /? at the end of a link

2006-02-17 Thread Peter Cornelius
The slash is the beginning of the file portion of the request, in this case it's asking for the web root default which is usually index.html but can be specified through server configuration. The '?' signals the beginning of the GET parameter list, which is empty in this case. If you do a

Crypt:Twofish

2006-02-17 Thread Chico
Because Of export laws activestate doesnt have the TwoFish ppm... Can anyone provide a URL where I can install the Twofish ppm from? -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: property definition

2006-02-17 Thread JupiterHost.Net
Kenneth Moeng wrote: Hello there, I have a problem with property definition of this code, please have a look. This code will never run without errors, you only declare two out of several variables. Why would you send broken code to the list to illustarate a problem it will never be able to

Re: Reading unicode (UTF-16)

2006-02-17 Thread Tommy Nordgren
This won't work. I have no idea at all what happens when the input is UTF-16, but Perl expects input from the back-tick operator to be in another encoding. What I NEED is to tell Perl what character-encoding to read via the back-tick operator. On 17 feb 2006, at 13.40, Jeff Pang wrote: I thi

Re: Build line editing into a script

2006-02-17 Thread Jay Savage
On 2/17/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > I want to learn how to build line editing ability into a homemade perl > script I wrote. > > The script takes in keyboard input and formats it, also adding > specific lines to the beginning and end. Making input into a blerb in > a homemad

Re: Reading unicode (UTF-16)

2006-02-17 Thread Jeff Pang
I think you should write a subroutine using the 'Encode' module to do the translation. Have a look at 'perldoc Encode' please,or search the CPAN to find some solutions for you. -Original Message- >From: Tommy Nordgren <[EMAIL PROTECTED]> >Sent: Feb 17, 2006 7:30 AM >To: beginners perl >

Reading unicode (UTF-16)

2006-02-17 Thread Tommy Nordgren
Is it possible to read the UTF-16 format with the back-tick operator in perl? Also is it possible to set the encoding used by the back-tick operator dynamically from a command line option passed to my perl script? - This sig is dedicated to the advancement of

Re: Problem with with ParseExcel and file input

2006-02-17 Thread Xavier Noria
On Feb 17, 2006, at 11:14, Mike Martin wrote: Done that its fine I have even opened a FH a printed - also fine (apart from bin garbage of course) Just tried my $excel_file='literal file name'; print $excel_file; prints fine Of course it prints fine. What I want you to debug is the *exac

Build line editing into a script

2006-02-17 Thread reader
I want to learn how to build line editing ability into a homemade perl script I wrote. The script takes in keyboard input and formats it, also adding specific lines to the beginning and end. Making input into a blerb in a homemade flat database. Nothing complex just markers fore and aft to make

Re: property definition

2006-02-17 Thread Hans Meier (John Doe)
Kenneth Moeng am Freitag, 17. Februar 2006 07.21: > Hello there, I have a problem with property definition of this code, > please have a look. > > #!/usr/bin/perl -w Hello, What is the property definition in your code and what problems do you have with it? Hans -- To unsubscribe, e-mail: [EMA

Re: :: and ->

2006-02-17 Thread Hans Meier (John Doe)
Ken Perl am Freitag, 17. Februar 2006 02.34: > what is the difference of :: and -> in this statements? > > $authInstance = > Operation::Auth::getInstance($session,$u->authMethod,$u->userId) > > $authInstance = > Operation::Auth->getInstance($session,$u->authMethod,$u->userId) The first '::' is par

Re: Problem with with ParseExcel and file input

2006-02-17 Thread Mike Martin
On 2/16/06, Xavier Noria <[EMAIL PROTECTED]> wrote: > > On Feb 16, 2006, at 18:35, Mike Martin wrote: > > > I have problems with reading in a file variable in > > Spreadsheet::Parsexcel. > > This is the relevant code. > > > > > > > > use strict; > > use warnings; > > > > open (INPUT,"tele1"); > > m

FW: Reading a Unicode text file

2006-02-17 Thread Baskaran Sankaran
Hi group, Opening a file for output is fine. I've also moved the binmode immediately after open, outside the loop. But, the error still shows. Now, here are the sample files and my command would be: > perl number_sent.pl Sample_Eng.txt Sample_Hin.txt Sample_out.txt File: Sample_Eng.tx

bless $self, $class;

2006-02-17 Thread Ken Perl
what does the statement mean? bless $self, $class; -- perl -e 'print unpack(u,"62V5N\"FME;G\!Ehttp://learn.perl.org/>

Re: bless $self, $class;

2006-02-17 Thread Kirill Ponomarew
On Fri, Feb 17, 2006 at 04:26:33PM +0800, Ken Perl wrote: > what does the statement mean? > > bless $self, $class; http://www.perl.com/doc/manual/html/pod/perlfunc/bless.html -Kirill -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: purpose of /? at the end of a link

2006-02-17 Thread Octavian Rasnita
From: "Brent Clark" <[EMAIL PROTECTED]> > Hi all> > I came across a link where there was just a ? at the end of the link. > > e.g. > http://www.gmx.net/? > > Is there a particular reason or purpose for this. > > Just something I was wondering. > "/" is the name of the root directory and the requ