Re: question about eval usage

2009-06-23 Thread Jenda Krynicky
From: Paul Johnson > On Tue, Jun 23, 2009 at 06:35:26PM +0200, Jenda Krynicky wrote: > > From: Roman Makurin > > > On Tue, Jun 23, 2009 at 12:46:33PM +0200, Jenda Krynicky wrote: > > > > From: Roman Makurin > > > > > Just looked throught some standart perl modules and found > > > > > something c

Re: question about eval usage

2009-06-23 Thread Roman Makurin
On Tue, Jun 23, 2009 at 07:54:54PM +0200, Paul Johnson wrote: > > >From the docs: http://perldoc.perl.org/perlmodstyle.html#Version-numbering > Big thanks. -- If you think of MS-DOS as mono, and Windows as stereo, then Linux is Dolby Digital and all the music is free... -- To unsubscribe, e

Re: question about eval usage

2009-06-23 Thread Paul Johnson
On Tue, Jun 23, 2009 at 06:35:26PM +0200, Jenda Krynicky wrote: > From: Roman Makurin > > On Tue, Jun 23, 2009 at 12:46:33PM +0200, Jenda Krynicky wrote: > > > From: Roman Makurin > > > > Just looked throught some standart perl modules and found > > > > something cryptic to myself: > > > > > > >

Re: question about eval usage

2009-06-23 Thread Jenda Krynicky
From: Roman Makurin > On Tue, Jun 23, 2009 at 12:46:33PM +0200, Jenda Krynicky wrote: > > From: Roman Makurin > > > Just looked throught some standart perl modules and found > > > something cryptic to myself: > > > > > > package Module; > > > > > > $Module::VERSION = '1.0'; > > > $Module::VERSI

Re: question about eval usage

2009-06-23 Thread Roman Makurin
On Tue, Jun 23, 2009 at 12:46:33PM +0200, Jenda Krynicky wrote: > From: Roman Makurin > > Just looked throught some standart perl modules and found > > something cryptic to myself: > > > > package Module; > > > > $Module::VERSION = '1.0'; > > $Module::VERSION = eval $Module::VERSION; > > > > Wh

Re: question about eval usage

2009-06-23 Thread Jenda Krynicky
From: Roman Makurin > Just looked throught some standart perl modules and found > something cryptic to myself: > > package Module; > > $Module::VERSION = '1.0'; > $Module::VERSION = eval $Module::VERSION; > > Why eval part is needed here ? It's not. What module was that? Maybe you skipped some

question about eval usage

2009-06-23 Thread Roman Makurin
Hi all! Just looked throught some standart perl modules and found something cryptic to myself: package Module; $Module::VERSION = '1.0'; $Module::VERSION = eval $Module::VERSION; Why eval part is needed here ? Thanks PS: sorry for my english -- If you think of MS-DOS as mono, and Windows as