After fedora update, problem with CPAN install Compress::Zlib::gzopen

2007-09-14 Thread patmarbidon
Hello, I use fedora 7 and yesterday I updated perl with perl-5.8.8-23.fc7 After this update I want to install new modules with CPAN and I got this message : Catching error: 'Undefined subroutine &Compress::Zlib::gzopen called at /usr/lib/perl5/5.8.8/CPAN/Tarzip.pm line 103. ' at /usr/lib/perl5

HTTP Filtering and Threads...

2007-09-14 Thread Dan
Hi, That's my first program and my first question in perl programming.. lolll! Any kind of help is appreciated. :) 1) I have a code in perl which is doing a HTTP request and getting a response and saving in a variable, so I want to filter a specific value of a field. My code is more or less like

Displaying utf8 text in perl -d

2007-09-14 Thread lbova99
I work with utf8 non-English text frequently, using perl 5.8.8 on Solaris-10. I can include the following lines in my code and work successfully ( I'm writing these from memory, so please forgive my syntax.): binmode STDIN, ':utf8'; binmode STDOUT, ':utf8'; binmode STDERR, ':utf8'; use utf8; Th

Re: Text::Aspell

2007-09-14 Thread Beginner
On 11 Sep 2007 at 12:38, Chas Owens wrote: > On 9/11/07, Beginner <[EMAIL PROTECTED]> wrote: > snip I think my installation might be broken some how. > Would > > you agree? > snip > > At this point, yes, there is something other than the Perl code > you/I > wrote that is at fault. My versions a

Re: After fedora update, problem with CPAN install Compress::Zlib::gzopen

2007-09-14 Thread Peter Scott
On Fri, 14 Sep 2007 11:23:57 +0200, patmarbidon wrote: > Hello, > I use fedora 7 and yesterday I updated perl with perl-5.8.8-23.fc7 > > After this update I want to install new modules with CPAN and I got this > message : > Catching error: 'Undefined subroutine &Compress::Zlib::gzopen called at

Re: adding data to a file before it gets regexed

2007-09-14 Thread Pat Rice
Thanks all for the help I'm havng a go wrighting it at the moment Pat On 9/13/07, Moon, John <[EMAIL PROTECTED]> wrote: > > From: John W. Krahn [mailto:[EMAIL PROTECTED] > Sent: Thursday, September 13, 2007 2:01 PM > To: Perl beginners > Subject: Re: adding data to a file before it gets regexed >

Using Perl Win 32 AS 5.8.x - Anyway to find the File Create Date/Time

2007-09-14 Thread Wagner, David --- Senior Programmer Analyst --- WGO
stat will give me the mod time, but does not have the create time. From Windows Explorer, I notice that I can get the Create Date. Anyway to accomplish this in Perl? I did a search against CPAN and also AS, but what I put in ( Perl create time file ) did not seem to give me what I

Debugg in PERL

2007-09-14 Thread Santana
Hei aill, i'am new in PERL and i would like to ask what are development envirment that you use ? And if is possible to make a debugg in PERL like JAVA or Visual Basic ? Thanks, Santana [EMAIL PROTECTED] -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PR

Re: Debugg in PERL

2007-09-14 Thread Chas Owens
On 9/14/07, Santana <[EMAIL PROTECTED]> wrote: > Hei aill, > i'am new in PERL and i would like to ask what are development > envirment that you use ? > And if is possible to make a debugg in PERL like JAVA or Visual > Basic ? snip The Perl interpreter provides commandline style debugging. Ther

Re: working with 3-dimensional array

2007-09-14 Thread Tim McGeary
Thank you all who replied. I took some of these ideas and worked with a knowledgeable Perl expert on campus. We used Data Dumper which found a logic error that was easily correctable. The array referencing was actually pretty good, but we found some problems in the conditionals within the fo

Re: Linked lists

2007-09-14 Thread Somu
Well, now i know something more. Can't we treat references as pointers? We use link list in C for the reason that an array needs continuous memory locations like 1 2 3 4 5 6 .. And when the size is big, it may fail. So, we use link list. And pushing things into a C array is not allowed. So we do th

Re: HTTP Filtering and Threads...

2007-09-14 Thread Somu
you can store all the data in an array first and then apply regex on all lines, if the response come in lines. Else, get all the data in a scalar and apply the regex. I think this may get you the silva my ($name,$type,$mname) =~ /name=(.*) type=(.*) value=(.*)/i; i'm not sure though how we may ca

Re: Linked lists

2007-09-14 Thread John W. Krahn
Somu wrote: Well, now i know something more. Can't we treat references as pointers? In some cases yes. Pointers point to a memory location, references point to a variable. You can do arithmetic with pointers but not with references. We use link list in C for the reason that an array needs

how to make use of $content in LWP

2007-09-14 Thread wudenspoon
I am looking for one particular line in an HTML page. How can I find this in a perl program. Basically, I want to grep this one line containing what I know. Thanks. RJ -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/

Re: Win32::OLE help for saving file.

2007-09-14 Thread Narthring
On Sep 13, 4:21 pm, [EMAIL PROTECTED] (Ash) wrote: > Hello fellow scripters!! > > What stumps me is pretty straight forward. I need to save a Word file > using Win32::OLE, but I need to replace an existing file if there is > any. > What properties do I have to set before calling SaveAs() to do that

Re: After fedora update, problem with CPAN install Compress::Zlib::gzopen

2007-09-14 Thread Peter Scott
On Fri, 14 Sep 2007 05:44:53 -0700, Peter Scott wrote: > I suggest you reinstall Scalar::Util manually: > > wget http://search.cpan.org/CPAN/authors/id/G/GB/GBARR/ Oops, should have been wget http://search.cpan.org/CPAN/authors/id/G/GB/GBARR/Scalar-List-Utils-1.19.tar.gz > tar xzvf Scalar-List-

Re: Linked lists

2007-09-14 Thread Chas Owens
On 9/14/07, John W. Krahn <[EMAIL PROTECTED]> wrote: snip > > Does perl compiler > > use this link list concept and keeps it hidden from us? > > I haven't read the source code but it probably does somewhere. snip I just took a quick look and it appears as if AVs (the implementation of Perl's array

Re: how to make use of $content in LWP

2007-09-14 Thread Chas Owens
On 9/14/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > I am looking for one particular line in an HTML page. How can I find > this in a perl program. > > Basically, I want to grep this one line containing what I know. snip A lot depends on how you can identify that line. The best solution is

Can not end subscription to beginners at perl.org

2007-09-14 Thread Mumia W.
[EMAIL PROTECTED] sends me an confirmation request, but when I send the message back, I don't get a confirmation, and I keep getting list messages. When I send to [EMAIL PROTECTED], I get a help message back, but it says that the message I sent wasn't sent to any of ezmlm's command addresses.