[26468] in Perl-Users-Digest

home help back first fref pref prev next nref lref last post

Perl-Users Digest, Issue: 8634 Volume: 10

daemon@ATHENA.MIT.EDU (Perl-Users Digest)
Sat Nov 5 14:05:30 2005

Date: Sat, 5 Nov 2005 11:05:05 -0800 (PST)
From: Perl-Users Digest <Perl-Users-Request@ruby.OCE.ORST.EDU>
To: Perl-Users@ruby.OCE.ORST.EDU (Perl-Users Digest)

Perl-Users Digest           Sat, 5 Nov 2005     Volume: 10 Number: 8634

Today's topics:
    Re: /usr/lib/python2.4/posixfile.py error <see@reply.to.field>
        ActivePerl 5.8 build 508: some installation queries <VSRawat@Invalid.none>
    Re: ActivePerl 5.8 build 508: some installation queries <nobull@mail.com>
    Re: How to get html help of ActivePerl <VSRawat@Invalid.none>
    Re: How to get html help of ActivePerl <VSRawat@Invalid.none>
    Re: How to get html help of ActivePerl <1usa@llenroc.ude.invalid>
    Re: How to get html help of ActivePerl <matthew.garrish@sympatico.ca>
        Digest Administrivia (Last modified: 6 Apr 01) (Perl-Users-Digest Admin)

----------------------------------------------------------------------

Date: Sat, 5 Nov 2005 17:45:31 -0000
From: Chris <see@reply.to.field>
Subject: Re: /usr/lib/python2.4/posixfile.py error
Message-Id: <MPG.1dd7001550a0ec909896ed@news.clara.net>

In article <436afbc2$0$14200$9b622d9e@news.freenet.de>, 
martin@v.loewis.de says...
> Chris wrote:
> > Wonder if anyone can help me?
> 
> I very much doubt that, with as little information you gave us.
> 
> > I am trying to run a perl script but I keep getting this error:
> > 
> > /usr/lib/python2.4/posixfile.py:59: DeprecationWarning: The posixfile 
> > module is obsolete and will disappear in the future
> >   DeprecationWarning)
> 
> It's very strange that you get a Python error when running a Perl
> script.

So I thought ;)

However, it's a perl script that invokes python.  

http://search.cpan.org/~rprice/Nokia-File-NFB-0.01/lib/Nokia/File/NFB.pm

> > Any ideas on why it's failing on that python module?
> 
> It's not failing. It's a warning, not an error. The warning is
> that the Python code you are running uses the posixfile module,
> and it should be rewritten to stop doing so, as the posixfile
> module will go away eventually.
> 

Ok, many thanks.  I got it working in the end, appears that the nfb.py 
script requires the file it is processing to be in the same directory.  
Which is quite annoying, but at least I know how to sort it now.

Many thanks for your quick reply and apologies for my late one :(

Cheers,
Chris


------------------------------

Date: 5 Nov 2005 16:06:05 +0100
From: "V S Rawat" <VSRawat@Invalid.none>
Subject: ActivePerl 5.8 build 508: some installation queries
Message-Id: <xn0e9ds9w1u4hy000@xananews>

Have installed it, and been working with it for last one week.

Exploring the manuals, I noticed the following things:

Giving "perl -V" on command prompt (capital V), shows some
entries, out of which the following are peculiar:

  Linker and Libraries:
    ld='link', ldflags ='-nologo -nodefaultlib -release
-libpath:"D:\p4\Apps\Gecko\MSI\data\ActivePerl\Perl\lib\CORE"
-machine:x86'
    libpth=C:\PROGRA~1\MICROS~3\VC98\lib

Now, my winxpsp2 is in E: on which I am using perl (C: has
win98se, thus it is a dual boot).

1. There is no "D:\p4\" in my box
2. There is no "\VC98\" on my entire box.

So, what happens to the above options? How do I remedy those?

Same about:

  Dynamic Linking:
    dlsrc=dl_win32.xs, dlext=dll, d_dlsymun=undef, ccdlflags=' '
    cccdlflags=' ', lddlflags='-dll -nologo -nodefaultlib
-release
-libpath:"D:\p4\Apps\Gecko\MSI\data\ActivePerl\Perl\lib\CORE"
-machine:x86'

The following are ok:

  Locally applied patches:
  	ActivePerl Build 804
  Built under MSWin32
  Compiled at Dec  1 2002 23:15:13
  @INC:
    D:/install/Perl/lib
    D:/install/Perl/site/lib

The above two folders are the ones in which I have unzipped perl.

"D:/install/Perl/bin" is there in my PATH:. But, there is no
other perl related env variable set (PerlPath, Perlpth, libpath).

Which env variables I need to set to optimize it when Perl is
already running my programs.

TIA
-- 
Rawat


------------------------------

Date: Sat, 05 Nov 2005 17:51:42 +0000
From: Brian McCauley <nobull@mail.com>
Subject: Re: ActivePerl 5.8 build 508: some installation queries
Message-Id: <dkirfg$guq$1@slavica.ukpost.com>

V S Rawat wrote:

> Have installed it, and been working with it for last one week.
> 
> Exploring the manuals, I noticed the following things:
> 
> Giving "perl -V" on command prompt (capital V), shows some
> entries, out of which the following are peculiar:
> 
>   Linker and Libraries:
>     ld='link', ldflags ='-nologo -nodefaultlib -release
> -libpath:"D:\p4\Apps\Gecko\MSI\data\ActivePerl\Perl\lib\CORE"
> -machine:x86'
>     libpth=C:\PROGRA~1\MICROS~3\VC98\lib

This is telling you the compiler options that were used to build Perl.

> Now, my winxpsp2 is in E: on which I am using perl (C: has
> win98se, thus it is a dual boot).
> 
> 1. There is no "D:\p4\" in my box
> 2. There is no "\VC98\" on my entire box.

Your box is not relevant.  The relevant one is the one that Sophos used 
to build the binary.

> "D:/install/Perl/bin" is there in my PATH:. But, there is no
> other perl related env variable set (PerlPath, Perlpth, libpath).

libpath is a C compiler variable and I've never heard of the other two. 
  Do you perhaps mean PERL5LIB?

> Which env variables I need to set to optimize it when Perl is
> already running my programs.

If there's no need to set PERL5LIB unless you want to add non-default 
directories to @INC.


------------------------------

Date: 5 Nov 2005 16:06:08 +0100
From: "V S Rawat" <VSRawat@Invalid.none>
Subject: Re: How to get html help of ActivePerl
Message-Id: <xn0e9drivw7gf001@xananews>

John Bokma wrote:

> "V S Rawat" <VSRawat@Invalid.none> wrote:
> 
> > 
> > I have downloaded and installed 5.8 Activeperl.
> > 
> > My previous Perl for Win32 had beautiful html based help
> > documentations of commands and functions of Perl that I could
> > fetch anything by clicking at links and finding in browser.
> 
> file:///C:/Perl/html/index.html

That is what I am checking.

But, it only displays a two frame display in which first frame
has perltoc.html, and second frame is having perlmain.html.

Its "documentation" link on the same right page leads to the
following:
----START
Documentation
ActivePerl includes the core Perl documentation, the Perl FAQ,
and the ActivePerl User Guide (which contains information
specific to ActivePerl, such as the Release Notes and ActivePerl
component documentation).

The ActivePerl User Guide is provided in HTML format; using a
web browser, load the file html/index.html to view the document
set. The ActivePerl User Guide includes the following
information:

information specific to ActivePerl (such as the Release Notes) 
documentation for ActivePerl components (such as the Perl
Package Manager)
documentation for the Perl core, Perl pragmas, and Perl modules
that are included with ActivePerl
When you add packages to your Perl installation using the Perl
Package Manager, the ActivePerl User Guide is updated with the
documentation contained in the new modules.

Perl documentation can also be accessed from the command line,
using the perldoc command. For example:

perldoc module.pm 
 ...will display the embedded documentation for the specified
module.
---END

There is no documentation of individual datastructures,
commands, functions, syntax, etc.

And, I am at 5.8.0 build 804. The one I downloaded last week.

> 
> > It seems that ActivePerl does not have that feature. I need
> > to go to command prompt and type perldoc and then cribble
> > through "more".
> 
> Which in many cases might give you way faster the answer.
> 
> > Is there any free add-on for ActivePerl that would give me
> > html based documentation for it?
> 
> See above. Sadly ActiveState has cluttered it with badly
> thought out JavaScript (e.g. <a href="javascript:..." instead
> of <a href="..." onclick="..."> (reported))

if I get the files, I can manually modify html for my use.

-- 
Rawat


------------------------------

Date: 5 Nov 2005 16:06:12 +0100
From: "V S Rawat" <VSRawat@Invalid.none>
Subject: Re: How to get html help of ActivePerl
Message-Id: <xn0e9drd2nsps000@xananews>

A. Sinan Unur wrote:

> "V S Rawat" <VSRawat@Invalid.none> wrote in
> news:xn0e9csox1kgbf001 @xananews:
> 
> > It seems that ActivePerl does not have that feature. 
> 
> Start -> All Programs -> ActivePerl 5.8.7 Build 813 ->
> Documentation
> 

There is no " ActivePerl 5.8.7 Build 813 -> Documentation" on my
winxpsp2 " Start -> All Programs ".

I unzipped the downloaded ActivePerl zip file to a folder, set
the env variables, and, voila, I was done.

How do you get the above links?

In any case, I have only a2p.exe, perl.exe perl5.8.0.exe,
perlglob.exe and wperl.exe files in my entire Activeperl folder
which are .exe files so which are executable.

And yeah, the latest build downloadable from ActivePerl is 5.8.0
build 804, that I downloaded and installed last week. I am in no
mood to go for another 12MB+ download on my dialup for 5.8.7
Build 813, though I am curious where do you get it from.

Why the heck all links don't give latest build for download?

> You might want to ponder whether programming is your thing.
> 
> Sinan

You might rethink about your above view.

-- 
Rawat


------------------------------

Date: Sat, 05 Nov 2005 15:21:42 GMT
From: "A. Sinan Unur" <1usa@llenroc.ude.invalid>
Subject: Re: How to get html help of ActivePerl
Message-Id: <Xns9705696913D6Fasu1cornelledu@127.0.0.1>

"V S Rawat" <VSRawat@Invalid.none> wrote in news:xn0e9drd2nsps000
@xananews:

> A. Sinan Unur wrote:
> 
>> "V S Rawat" <VSRawat@Invalid.none> wrote in
>> news:xn0e9csox1kgbf001 @xananews:
>> 
>> > It seems that ActivePerl does not have that feature. 
>> 
>> Start -> All Programs -> ActivePerl 5.8.7 Build 813 ->
>> Documentation
>> 
> 
> There is no " ActivePerl 5.8.7 Build 813 -> Documentation" on my
> winxpsp2 " Start -> All Programs ".
> 
> I unzipped the downloaded ActivePerl zip file to a folder, set
> the env variables, and, voila, I was done.
> 
> How do you get the above links?

Use the MSI file provided by ActiveState.

> In any case, I have only a2p.exe, perl.exe perl5.8.0.exe,
> perlglob.exe and wperl.exe files in my entire Activeperl folder
> which are .exe files so which are executable.

That sounds more than a little weird. I just downloaded the zip file and 
verify that it contains everything in the MSI file.
 
> And yeah, the latest build downloadable from ActivePerl is 5.8.0
> build 804, 

I would call that a bold-faced lie. Anyone can easily check that:

http://www.google.com/search?q=active+perl+version

You can also go to:

http://www.activestate.com/

Under the list of languages, follow the link to ActivePerl to arrive at:

http://www.activestate.com/Products/ActivePerl/?mp=1

Current releases: ActivePerl 5.8.7.813, ActivePerl 5.6.1.638

> mood to go for another 12MB+ download on my dialup for 5.8.7
> Build 813, though I am curious where do you get it from.

See above. I think I downloaded my copy some time in June or July of 
this year.

> Why the heck all links don't give latest build for download?

What links?

>> You might want to ponder whether programming is your thing.

 ...

> You might rethink about your above view.

Not yet.

Sinan

-- 
A. Sinan Unur <1usa@llenroc.ude.invalid>
(reverse each component and remove .invalid for email address)

comp.lang.perl.misc guidelines on the WWW:
http://mail.augustmail.com/~tadmc/clpmisc/clpmisc_guidelines.html



------------------------------

Date: Sat, 5 Nov 2005 13:02:14 -0500
From: "Matt Garrish" <matthew.garrish@sympatico.ca>
Subject: Re: How to get html help of ActivePerl
Message-Id: <Fs6bf.19938$LF3.1078879@news20.bellglobal.com>


"A. Sinan Unur" <1usa@llenroc.ude.invalid> wrote in message 
news:Xns97048FB4B3B41asu1cornelledu@127.0.0.1...
> "V S Rawat" <VSRawat@Invalid.none> wrote in news:xn0e9csox1kgbf001
> @xananews:
>
>> It seems that ActivePerl does not have that feature.
>
> Start -> All Programs -> ActivePerl 5.8.7 Build 813 -> Documentation
>

Their new documentation interface is crap. It looks nice, and renders the 
documentation for the core modules, but as soon as you start adding new 
modules using ppm you get blank pages when you click on the new menu links. 
Another brilliant creation from the people at AS...

Matt 




------------------------------

Date: 6 Apr 2001 21:33:47 GMT (Last modified)
From: Perl-Users-Request@ruby.oce.orst.edu (Perl-Users-Digest Admin) 
Subject: Digest Administrivia (Last modified: 6 Apr 01)
Message-Id: <null>


Administrivia:

#The Perl-Users Digest is a retransmission of the USENET newsgroup
#comp.lang.perl.misc.  For subscription or unsubscription requests, send
#the single line:
#
#	subscribe perl-users
#or:
#	unsubscribe perl-users
#
#to almanac@ruby.oce.orst.edu.  

NOTE: due to the current flood of worm email banging on ruby, the smtp
server on ruby has been shut off until further notice. 

To submit articles to comp.lang.perl.announce, send your article to
clpa@perl.com.

#To request back copies (available for a week or so), send your request
#to almanac@ruby.oce.orst.edu with the command "send perl-users x.y",
#where x is the volume number and y is the issue number.

#For other requests pertaining to the digest, send mail to
#perl-users-request@ruby.oce.orst.edu. Do not waste your time or mine
#sending perl questions to the -request address, I don't have time to
#answer them even if I did know the answer.


------------------------------
End of Perl-Users Digest V10 Issue 8634
***************************************


home help back first fref pref prev next nref lref last post