about serialization

2006-11-07 Thread Practical Perl
I saw a paper about DB_File, Three serialization wrappers are currently supported: Data::Dumper, Storable, and FreezeThaw. Additional serializers can be supported by writing a wrapper that implements the interface required by MLDBM::Serializer. See the supported wrappers

RE: about serialization

2006-11-07 Thread Krishnakumar K P
storing of an object for later use is called serialization. -Original Message- From: Practical Perl [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 07, 2006 3:29 PM To: beginners perl Subject: about serialization I saw a paper about DB_File, Three serialization wrappers are

Problem with installing PAR module

2006-11-07 Thread DJ Gruby
Hi people! I wanted to install "PAR" module, but at "make" step during the installation, I'm getting the following error: my_par_pl.c(3) : error C2026: string too big, trailing characters truncated my_par_pl.c(3) : error C2026: string too big, trailing characters truncated my_par_pl.c(3) : error

Re: Installation troubles

2006-11-07 Thread Wan Chaowei
change your mirror list, it's in CPAN/Config.pm. You can re-initialise the CPAN #mv /your/pathto/CPAN/Config.pm /your/pathto/CPAN/Config.pm_bak #cpan I have not any experience in Solaris, so I don't know the path to CPAN/Config.pm -- I want a job about Perl, please visit my resume at http:

Re: about serialization

2006-11-07 Thread victor tsang
http://en.wikipedia.org/wiki/Serialization Serialization here refer to the action of translating a complex data object into a simpler format. For example, translating an array [1,2,3] into a text string "1,2,3". Tor. Practical Perl wrote: I saw a paper about DB_File, Three serializ

Re: Trouble installing module

2006-11-07 Thread C . R .
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] says... > There should be a version of make in /usr/ccs/bin Giggidy! You're right! Thanks. > > I'm guessing I entered the wrong site name for the Perl CPAN module > > config. Can anyone help me? > > Well, here's your Dollars' worth of free ad

Re: Alternate to installing via CPAN?

2006-11-07 Thread C . R .
In article <4ce365ec0611061453u6907625exa49b87a7f21f4e93 @mail.gmail.com>, [EMAIL PROTECTED] says... > And there's the rub, of course: your issue with CPAN--or one of > them--is that you don't have make. CPAN modules aren't distributed as > compiled binaries (insofar as such a thing exists for Perl

Re: Trouble installing module

2006-11-07 Thread C . R .
When I do a "reload index" in CPAN this is what I get. cpan> reload index LWP not available Please check, if the URLs I found in your configuration file (http://141.217.1.55/cpan/ http://216.52.237.135 ftp://69.16.251.60/CPAN/) are valid. The urllist can b

Re: Trouble installing module

2006-11-07 Thread lawrence
> In article <[EMAIL PROTECTED]>, > [EMAIL PROTECTED] says... > > There should be a version of make in /usr/ccs/bin > > Giggidy! You're right! Thanks. > > > > I'm guessing I entered the wrong site name for the Perl CPAN module > > > config. Can anyone help me? > > > > Well, here's your Dolla

Re: about serialization

2006-11-07 Thread Practical Perl
Thanks,zentara and others. 2006/11/7, zentara <[EMAIL PROTECTED]>: On Tue, 7 Nov 2006 17:58:47 +0800, [EMAIL PROTECTED] ("Practical Perl") wrote: >I saw a paper about DB_File, > > Three serialization wrappers are currently supported: Data::Dumper, > Storable, and FreezeThaw. Addit

Re: Trouble installing module

2006-11-07 Thread Adriano Rodrigues
On 11/7/06, C. R. <[EMAIL PROTECTED]> wrote: Thanks for your advice, but why do I need a compiler if I'm just using Perl to process an XML text file? That adds a level of complexity we just don't want to get into. Because XML::Parser has parts written in Perl and C. It is a hybrid module and re

Incorrect TCP checksum when printing to IO::Socket object

2006-11-07 Thread Jen Spinney
Hello. If I run the following code: use strict; use warnings; use IO::Socket; my $sock = IO::Socket::INET->new (PeerAddr => 'www.google.com', PeerPort => 7, Proto=> 'tcp') or die "$!"; print $sock "This is a test\n"; close $sock; __END__ while running ethereal/wireshark, it sh

Re: Problem with installing PAR module

2006-11-07 Thread Jay Savage
On 11/7/06, DJ Gruby <[EMAIL PROTECTED]> wrote: Hi people! I wanted to install "PAR" module, but at "make" step during the installation, I'm getting the following error: my_par_pl.c(3) : error C2026: string too big, trailing characters truncated my_par_pl.c(3) : error C2026: string too big, tra

Re: Problem with installing PAR module

2006-11-07 Thread Todd W
""DJ Gruby"" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hi people! > > I wanted to install "PAR" module, but at "make" step during the > installation, I'm getting the following error: > Is it possible that the CPAN module itself has errors, which its authors > haven't even n

Re: Problem with installing PAR module

2006-11-07 Thread Rob Dixon
DJ Gruby wrote: Hi people! I wanted to install "PAR" module, but at "make" step during the installation, I'm getting the following error: my_par_pl.c(3) : error C2026: string too big, trailing characters truncated my_par_pl.c(3) : error C2026: string too big, trailing characters truncated my_pa

Re: Incorrect TCP checksum when printing to IO::Socket object

2006-11-07 Thread Jeff Pang
> >use strict; >use warnings; > >use IO::Socket; > >my $sock = IO::Socket::INET->new >(PeerAddr => 'www.google.com', > PeerPort => 7, > Proto=> 'tcp') or die "$!"; > >print $sock "This is a test\n"; >close $sock; >__END__ > Hello,your script itself has no problems unless the "\n"

Re: Incorrect TCP checksum when printing to IO::Socket object

2006-11-07 Thread Jen Spinney
On 11/7/06, Jeff Pang <[EMAIL PROTECTED]> wrote: > >use strict; >use warnings; > >use IO::Socket; > >my $sock = IO::Socket::INET->new >(PeerAddr => 'www.google.com', > PeerPort => 7, > Proto=> 'tcp') or die "$!"; > >print $sock "This is a test\n"; >close $sock; >__END__ > Hello,

Re: Incorrect TCP checksum when printing to IO::Socket object

2006-11-07 Thread Jeff Pang
Hi, If your server is Linux kernel 2.6,then it has a already known bug about the uncorrect checksum. If it's not 2.6 kernel,then you maybe want to use tcpdump for a try.I give most trust to tcpdump than other sniffers. > >Nah, I get incorrect checksums without the \n as well. This may be an >