Re: Perl module Digest::SHA256 and Debian package libdigest-sha-perl

2025-04-03 Thread Michael Paoli
(response bits in-line): On Wed, Apr 2, 2025 at 4:08 PM David Christensen wrote: > I would like to use the Perl module Digest::SHA256 on Debian: > # cat /etc/debian_version ; uname -a > 11.11 > Linux laalaa 5.10.0-34-amd64 #1 SMP Debian 5.10.234-1 (2025-02-24) > x86_64 GNU/Linux > # perl -e 'use

Re: Perl module Digest::SHA256 and Debian package libdigest-sha-perl

2025-04-03 Thread Nicholas Geovanis
On Thu, Apr 3, 2025, 6:38 AM wrote: > Greg Wooledge wrote: > > On Wed, Apr 02, 2025 at 16:07:36 -0700, David Christensen wrote: > > FWIW, it seems that the author of the older package has died. :( > You know I can't help it, every time I see something like that I think of Ian Murdock.

Re: Perl module Digest::SHA256 and Debian package libdigest-sha-perl

2025-04-03 Thread debian-user
Greg Wooledge wrote: > On Wed, Apr 02, 2025 at 16:07:36 -0700, David Christensen wrote: > > But installing libdigest-sha-perl does not provide Digest::SHA256: > > They are different modules. > > https://metacpan.org/pod/Digest::SHA256 > https://metacpan.org/pod/Digest::SHA > > Digest::SHA256

Re: Perl module Digest::SHA256 and Debian package libdigest-sha-perl

2025-04-02 Thread Greg Wooledge
On Wed, Apr 02, 2025 at 16:07:36 -0700, David Christensen wrote: > But installing libdigest-sha-perl does not provide Digest::SHA256: They are different modules. https://metacpan.org/pod/Digest::SHA256 https://metacpan.org/pod/Digest::SHA Digest::SHA256 appears to be much, much older and probabl

Re: Perl module Digest::SHA256 and Debian package libdigest-sha-perl

2025-04-02 Thread David Christensen
On 4/2/25 16:18, Greg Wooledge wrote: On Wed, Apr 02, 2025 at 16:07:36 -0700, David Christensen wrote: But installing libdigest-sha-perl does not provide Digest::SHA256: They are different modules. https://metacpan.org/pod/Digest::SHA256 https://metacpan.org/pod/Digest::SHA Digest::SHA256 ap

Re: Perl module installation via CPAN and signature error

2024-01-11 Thread Vincent Lefevre
With strace, I could see the command that was executed: gpg --verify --batch --no-tty -q --logger-fd=1 --keyserver=hkp://pool.sks-keyservers.net:11371 on a temporary file, but almost equivalent to the CHECKSUMS file. Now, I can try that directly: qaa:~> gpg --verify --batch --no-tty -q --log

Re: Feeds aren't yet dead (Was: Re: perl module listgarden)

2023-08-03 Thread Celejar
On Thu, 03 Aug 2023 21:33:24 +0100 Steve McIntyre wrote: > Andy Smith wrote: > >On Thu, Aug 03, 2023 at 06:23:15PM +, Russell L. Harris wrote: > >> On Thu, Aug 03, 2023 at 05:29:33PM +, Andy Smith wrote: > >> > On Thu, Aug 03, 2023 at 03:07:47AM +, Russell L. Harris wrote: > >> > > Fo

Re: Feeds aren't yet dead (Was: Re: perl module listgarden)

2023-08-03 Thread Steve McIntyre
Andy Smith wrote: >On Thu, Aug 03, 2023 at 06:23:15PM +, Russell L. Harris wrote: >> On Thu, Aug 03, 2023 at 05:29:33PM +, Andy Smith wrote: >> > On Thu, Aug 03, 2023 at 03:07:47AM +, Russell L. Harris wrote: >> > > For that matter, is RSS still in use? >> > >> > $ r2e list | wc -l >>

Re: Feeds aren't yet dead (Was: Re: perl module listgarden)

2023-08-03 Thread Andy Smith
Hi Russell, On Thu, Aug 03, 2023 at 06:23:15PM +, Russell L. Harris wrote: > On Thu, Aug 03, 2023 at 05:29:33PM +, Andy Smith wrote: > > On Thu, Aug 03, 2023 at 03:07:47AM +, Russell L. Harris wrote: > > > For that matter, is RSS still in use? > > > > $ r2e list | wc -l > > 72 > > An

Re: Feeds aren't yet dead (Was: Re: perl module listgarden)

2023-08-03 Thread Russell L. Harris
On Thu, Aug 03, 2023 at 05:29:33PM +, Andy Smith wrote: Hello, On Thu, Aug 03, 2023 at 03:07:47AM +, Russell L. Harris wrote: For that matter, is RSS still in use? $ r2e list | wc -l 72 Andy, I don't understand; kindly explain. I have a blog and a web site, both of which I create w

Feeds aren't yet dead (Was: Re: perl module listgarden)

2023-08-03 Thread Andy Smith
Hello, On Thu, Aug 03, 2023 at 03:07:47AM +, Russell L. Harris wrote: > For that matter, is RSS still in use? $ r2e list | wc -l 72 Cheers, Andy -- https://bitfolk.com/ -- No-nonsense VPS hosting

Re: perl module listgarden

2023-08-03 Thread debian-user
"Russell L. Harris" wrote: > On Wed, Aug 02, 2023 at 03:18:12PM -0700, David Christensen wrote: > >On 8/2/23 14:03, Russell L. Harris wrote: > >>I have not used Perl for several years, and I do not know how to > >>proceed. > >>I am trying to install Dan Bricklin's RSS feed generator, > >>ListGar

Re: perl module listgarden

2023-08-02 Thread Russell L. Harris
On Wed, Aug 02, 2023 at 03:18:12PM -0700, David Christensen wrote: On 8/2/23 14:03, Russell L. Harris wrote: I have not used Perl for several years, and I do not know how to proceed. I am trying to install Dan Bricklin's RSS feed generator, ListGarden. metacpan.org cannot find the listgarden mo

Re: perl module listgarden

2023-08-02 Thread David Christensen
On 8/2/23 14:03, Russell L. Harris wrote: I have not used Perl for several years, and I do not know how to proceed. I am trying to install Dan Bricklin's RSS feed generator, ListGarden. metacpan.org cannot find the listgarden module. Here is the output: perl listgarden.pl Can't locate ListGard

Re: Perl, cpan Path problems

2023-01-28 Thread Andy Smith
Hello, On Sat, Jan 28, 2023 at 05:17:51PM -0500, Greg Wooledge wrote: > Debian provides many perl packages, so you have two paths to choose > from here: you can try to find the package in Debian, and use that, > or you can try to build it yourself. > > On a Debian 11 system, I get this result: >

Re: Perl, cpan Path problems

2023-01-28 Thread Greg Wooledge
On Sat, Jan 28, 2023 at 10:47:01PM +0100, Maurizio Caloro wrote: > also > > root: ~/.cpan/build/Perl-Critic-1.148-2# perl -e "use XML::Simple " I'm only going to focus on this ONE part of your mail, because the whole thing is just too much for me. Let's suppose that your goal is to write (or us

Re: Perl, cpan Path problems

2023-01-28 Thread Andy Smith
Hi, On Sat, Jan 28, 2023 at 10:47:01PM +0100, Maurizio Caloro wrote: > root ~/.cpan/build/Perl-Critic-1.148-2# cpan Perl::OSType Firstly, v1.010 of Perl::OSType is already included in default Debian perl installs on Debian 10 (buster) and in fact that is the latest version oif that module, so why

Re: perl listgarden module

2022-06-01 Thread Russell L. Harris
On Wed, Jun 01, 2022 at 01:08:50PM +, Andy Smith wrote: Hi Russell, On Mon, May 30, 2022 at 02:39:21AM +, Russell L. Harris wrote: I am attempting to run the ListGarden RSS generator on Debian 11. Perl 5 (version 32) needs the ListGarden module. There is no such published module that

Re: perl listgarden module

2022-06-01 Thread Andy Smith
Hi Russell, On Mon, May 30, 2022 at 02:39:21AM +, Russell L. Harris wrote: > I am attempting to run the ListGarden RSS generator on Debian 11. > Perl 5 (version 32) needs the ListGarden module. There is no such published module that I can find, so it seems likely that this is part of ListGard

Re: Perl displayed as text, Not HTML

2019-09-30 Thread Nicolas George
Dan Ritter (12019-09-30): > Anyway: you need a perl module to run perl CGI: > libapache2-mod-perl2 This is not true at all. To run a CGI, the web server does not need anything specific. CGI are external programs following a specific convention (environment variables and output). Running a CGI wri

Re: Perl displayed as text, Not HTML

2019-09-30 Thread Dan Ritter
Dave wrote: > hello > > when a .pl file or .cgi file is clicked on  to our server, apache is > serving back a text code page, not html > > all of our sites were working under the old service Deb 4, our new > Server Deb 9.x has a setting off. > > we have included a link to our http.conf file. >

Re: Perl does not support utime with nanosecond resolution

2019-05-17 Thread Sven Joachim
On 2019-05-17 15:44 +0200, Steve Keller wrote: > The Perl module Time::HiRes in Debian stretch does support nanosecond > resolution for stat() but not for utime(), although Linux has the > utimensat() system call providing that function. > > $ cat /etc/debian_version > 9.9 > $ perl -e

Re: perl; Trying to get File::stat to work

2018-10-20 Thread David Christensen
On 10/19/18 7:47 PM, Martin McCormick wrote: #!/usr/bin/perl -w use strict; use warnings::unused; use File::stat; use File::Spec; my $last_update_time; $last_update_time = ( stat("testfile") )[9]; printf("%d\n",$last_update_time); My system: 2018-10-20 20:59:53 dpchrist@vstretch ~/sandbox/pe

Re: perl; Trying to get File::stat to work

2018-10-20 Thread Martin McCormick
Bob McGowan writes: > It looks like this has to do with mixing the usage of the "native" stat of > Perl with the "object" version from File::stat. > > > > The 'stat' from File::stat returns a reference to an object, which has the > stuff you're wanting, tucked away internally as object variable

Re: perl; Trying to get File::stat to work

2018-10-20 Thread Dave Sherohman
On Fri, Oct 19, 2018 at 09:47:11PM -0500, Martin McCormick wrote: > I am a member of a perl discussion list but it seems to have gone > away Your actual question has already been answered, but, for future reference, PerlMonks (https://www.perlmonks.org/) is still around and there are also several

Re: perl; Trying to get File::stat to work

2018-10-19 Thread Bob McGowan
It looks like this has to do with mixing the usage of the "native" stat of Perl with the "object" version from File::stat. The 'stat' from File::stat returns a reference to an object, which has the stuff you're wanting, tucked away internally as object variables.  You need to do:     use Fil

Re: perl system integrity?

2017-07-18 Thread Joel Roth
Miles Fidelman wrote: > On 7/18/17 12:52 PM, Jude DaShiell wrote: > > >Does any means exist within perl to detect that a perl base installed on a > >system is completely intact? Perl base is perl binary and all support > >packages that binary uses before cpan or cpanp is run. The perl base is >

Re: perl system integrity?

2017-07-18 Thread David Wright
On Tue 18 Jul 2017 at 12:52:15 (-0400), Jude DaShiell wrote: > Does any means exist within perl to detect that a perl base > installed on a system is completely intact? Perl base is perl > binary and all support packages that binary uses before cpan or > cpanp is run. The perl base is put on newl

Re: perl system integrity?

2017-07-18 Thread Miles Fidelman
On 7/18/17 12:52 PM, Jude DaShiell wrote: Does any means exist within perl to detect that a perl base installed on a system is completely intact? Perl base is perl binary and all support packages that binary uses before cpan or cpanp is run. The perl base is put on newly installed systems. I

Re: perl system integrity?

2017-07-18 Thread Dan Ritter
On Tue, Jul 18, 2017 at 12:52:15PM -0400, Jude DaShiell wrote: > Does any means exist within perl to detect that a perl base installed on a > system is completely intact? Perl base is perl binary and all support > packages that binary uses before cpan or cpanp is run. The perl base is put > on ne

Re: perl system integrity?

2017-07-18 Thread Cindy-Sue Causey
On 7/18/17, Jude DaShiell wrote: > Does any means exist within perl to detect that a perl base installed on a > system is completely intact? Perl base is perl binary and all support > packages that binary uses before cpan or cpanp is run. The perl base is > put on newly installed systems. > I am

Re: Perl Transition

2015-12-25 Thread kamaraju kusumanchi
On Thu, Dec 24, 2015 at 5:26 AM, David Baron wrote: > Is this done, ready to play? > https://release.debian.org/transitions/ shows the progress on transitions. It says Perl transition to 5.22 is 98% complete. hope that helps raju -- Kamaraju S Kusumanchi | http://raju.shoutwiki.com/wiki/Blog

Re: Perl scripts: line by line parsing vs accumulating (was: the correct way to read a big directory? Mutt?)

2015-05-26 Thread Vincent Lefevre
On 2015-05-25 20:14:50 -0500, David Wright wrote: > Well, the discussion in these threads has ranged widely over trying to > speed up the reading of directories and large numbers of files. Every > so often, I think about what you're doing with that huge directory of > emails, all 145k of them. Wel

Re: Perl scripts: line by line parsing vs accumulating (was: the correct way to read a big directory? Mutt?)

2015-05-25 Thread David Wright
Quoting Vincent Lefevre (vinc...@vinc17.net): > On 2015-05-22 21:01:01 -0500, David Wright wrote: > > However, in https://lists.debian.org/debian-user/2015/04/msg01265.html > > I was perhaps less ambiguous (point 2): > > > > "In which case, if you want to know how come mutt is so fast, take a > >

Re: Perl scripts: line by line parsing vs accumulating (was: the correct way to read a big directory? Mutt?)

2015-05-24 Thread Vincent Lefevre
On 2015-05-25 03:22:36 +0200, Vincent Lefevre wrote: > One can do better. The code I used in the second test was: > > $header =~ /^\S+:/ || $header =~ /^From / or die; > $header =~ /\n[^:\s]+\s/ and die; > $header =~ /^Message-ID:.*^Message-ID:/ims and die; > $header =~ /^Message-I

Re: Perl scripts: line by line parsing vs accumulating (was: the correct way to read a big directory? Mutt?)

2015-05-24 Thread Vincent Lefevre
On 2015-05-22 21:01:01 -0500, David Wright wrote: > However, in https://lists.debian.org/debian-user/2015/04/msg01265.html > I was perhaps less ambiguous (point 2): > > "In which case, if you want to know how come mutt is so fast, take a > look at the source. Just to mention one optimisation I wo

Re: Perl scripts: line by line parsing vs accumulating (was: the correct way to read a big directory? Mutt?)

2015-05-22 Thread David Wright
Quoting Vincent Lefevre (vinc...@vinc17.net): > [The context: *very basic* header validation of e-mail messages] > > On 2015-04-28 10:27:40 +0200, Nicolas George wrote: > > L'octidi 8 floréal, an CCXXIII, Vincent Lefevre a écrit : > > > I don't understand the point. Accumulating in strings (which

Re: perl boot scripts

2012-12-22 Thread Glenn English
On Dec 22, 2012, at 1:20 PM, Andrei POPESCU wrote: > On Sb, 22 dec 12, 13:03:41, Glenn English wrote: >> >> So do I need to go to C? With a starter shell script in /etc/init.d? >> What *is* available at boot? A link with the proper magic words would >> do fine. > > When at boot? As an init s

Re: perl boot scripts

2012-12-22 Thread Andrei POPESCU
On Sb, 22 dec 12, 13:03:41, Glenn English wrote: > > So do I need to go to C? With a starter shell script in /etc/init.d? > What *is* available at boot? A link with the proper magic words would > do fine. When at boot? I would guess that /usr/bin/perl is available as soon as /usr is available

Re: Perl: where is the command in system("command -v wget") documented?

2012-10-09 Thread Mat Kovach
Regid Ichira writes: > I am a perl beginner. I stambled upon a perl line > >if (system("command -v wget >/dev/null 2>&1") == 0) > >I was able to find perl's documentation for system. But where is >the documentation for command? The command, command is a shell builtin. On Debian you can fin

Re: Perl: where is the command in system("command -v wget") documented?

2012-10-09 Thread Jon Dowland
On Mon, Oct 08, 2012 at 10:58:27PM +0100, Karl E. Jorgensen wrote: > "command" is a shell built-in command - so you should find it in the > documentation for your shell - e.g. "man sh" should get you to the > right manual page. Exactly *which* shell this is, depends on your > system, but it is most

Re: Perl: where is the command in system("command -v wget") documented?

2012-10-08 Thread Mike McClain
Howdy, On Mon, Oct 08, 2012 at 10:29:42PM +0200, Regid Ichira wrote: > I am a perl beginner. I stambled upon a perl line A) subscribe to beginn...@perl.org. > if (system("command -v wget >/dev/null 2>&1") == 0) > > I was able to find perl's documentation for system. But where is > the doc

Re: Perl: where is the command in system("command -v wget") documented?

2012-10-08 Thread Karl E. Jorgensen
Hi On Mon, Oct 08, 2012 at 09:29:42PM +0100, Regid Ichira wrote: > I am a perl beginner. I stambled upon a perl line > > if (system("command -v wget >/dev/null 2>&1") == 0) > > I was able to find perl's documentation for system. But where is > the documentation for command? "command" is

Re: perl versioning problem, how to get beyond for @world

2012-05-14 Thread Harry Putnam
Harry Putnam writes: Please disregard the Original post... it was inadvertently posted to the wrong group. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/87likupdx4

Re: Perl 5.12 transition in progress -> Perl packages are not installable currently

2011-05-11 Thread Leonardo Ruoso
2011/5/10 Arnt Karlsen > On Fri, 6 May 2011 11:06:51 -0300, Leonardo wrote in message > : > > > 2011/5/5 Dominique Dumont > > > > > Le jeudi 5 mai 2011 17:29:54, vous avez écrit : > > > > What should I verify before updating/upgrading a sid/experimental > > > > system? > > > if aptitude wants to

Re: Perl 5.12 transition in progress -> Perl packages are not installable currently

2011-05-10 Thread Arnt Karlsen
On Fri, 6 May 2011 11:06:51 -0300, Leonardo wrote in message : > 2011/5/5 Dominique Dumont > > > Le jeudi 5 mai 2011 17:29:54, vous avez écrit : > > > What should I verify before updating/upgrading a sid/experimental > > > system? > > if aptitude wants to remove a lot of perl package, just put

Re: Perl 5.12 transition in progress -> Perl packages are not installable currently

2011-05-06 Thread Leonardo Ruoso
2011/5/5 Dominique Dumont > Le jeudi 5 mai 2011 17:29:54, vous avez écrit : > > What should I verify before updating/upgrading a sid/experimental system? > if aptitude wants to remove a lot of perl package, just put on hold all > perl-5.12 packages. This will enable you to update non-Perl package

Re: Perl 5.12 transition in progress -> Perl packages are not installable currently

2011-05-04 Thread Arnt Karlsen
On Tue, 3 May 2011 12:02:02 +0200, Dominique wrote in message <201105031202.03081.domi.dum...@free.fr>: > Hi all, > > On Sunday, in collaboration with the release team, Dominic uploaded > perl 5.12-6 to unstable. This necessarily causes around 400 packages > to be uninstallable with the new perl

Re: perl/bash question - html link out of text

2010-03-07 Thread Boyd Stephen Smith Jr.
On Sunday 07 March 2010 11:07:56 Vadkan Jozsef wrote: > I don't know how to modify the: > > sed -r 's,.*(http://[^ \"$]+).*,\1,' > > command, to not just: > $ echo "test string http://somewhere.uk/ test" | sed -r 's,.*(http://[^ > \"$]+).*,\1,' > http://somewhere.uk/";>http://somewhere.uk/ > > r

Re: perl/bash question - html link out of text

2010-03-07 Thread Kumar Appaiah
On Sun, Mar 07, 2010 at 11:12:39AM -0600, Kumar Appaiah wrote: > On Sun, Mar 07, 2010 at 06:07:56PM +0100, Vadkan Jozsef wrote: > > I don't know how to modify the: > > > > sed -r 's,.*(http://[^ \"$]+).*,\1,' > > > > command, to not just: > > $ echo "test string http://somewhere.uk/ test" | sed -

Re: perl/bash question - html link out of text

2010-03-07 Thread Kumar Appaiah
On Sun, Mar 07, 2010 at 06:07:56PM +0100, Vadkan Jozsef wrote: > I don't know how to modify the: > > sed -r 's,.*(http://[^ \"$]+).*,\1,' > > command, to not just: > $ echo "test string http://somewhere.uk/ test" | sed -r 's,.*(http://[^ > \"$]+).*,\1,' > http://somewhere.uk/";>http://somewhere.u

Re: perl or bash question ["convert strings in a txt to html links"]

2010-02-28 Thread Jari Fredriksson
On 27.2.2010 19:12, Vadkan Jozsef wrote: > How can I do that in bash or perl, that I have a txt file, e.g.: > > $cat file.txt > Hi, this is the content of the txt file, that contains links like this: > http://www.somewhere.it/, and it could contain: http://somewhere.com, > etc.. > This is the seco

Re: perl or bash question ["convert strings in a txt to html links"]

2010-02-27 Thread Tony van der Hoff
On 27/02/10 17:12, Vadkan Jozsef wrote: How can I do that in bash or perl, that I have a txt file, e.g.: $cat file.txt Hi, this is the content of the txt file, that contains links like this: http://www.somewhere.it/, and it could contain: http://somewhere.com, etc.. This is the second line, that

Re: perl or bash question ["convert strings in a txt to html links"]

2010-02-27 Thread Kelly Clowers
On Sat, Feb 27, 2010 at 09:12, Vadkan Jozsef wrote: > How can I do that in bash or perl, that I have a txt file, e.g.: > > $cat file.txt > Hi, this is the content of the txt file, that contains links like this: > http://www.somewhere.it/, and it could contain: http://somewhere.com, > etc.. > This

Re: perl question

2009-12-19 Thread Alex Samad
On Sat, Dec 19, 2009 at 11:00:07AM -0500, Chris Dale wrote: > On Sat, 19 Dec 2009, Alex Samad wrote: > > I have a set of constants setup in my script > > > > RC_OK > > ... > > ... > > > > I use LWP::Simple which also uses RC_OK, and I get a main::RC_OK > > redifinition > > > > is there some wa

Re: perl question

2009-12-19 Thread Chris Dale
On Sat, 19 Dec 2009, Alex Samad wrote: > I have a set of constants setup in my script > > RC_OK > ... > ... > > I use LWP::Simple which also uses RC_OK, and I get a main::RC_OK > redifinition > > is there some way around this with out renaming my constants. You can suppress symbol importing,

Re: perl question

2009-12-19 Thread Niu Kun
How about setting it a "local" variable? And I think that you'd better send such a question to a perl mailing list. Alex Samad wrote: > Hi > > I have a set of constants setup in my script > > RC_OK > ... > ... > > I use LWP::Simple which also uses RC_OK, and I get a main::RC_OK > redifinition >

Re: perl question

2009-12-19 Thread Gabor Urban
Hi, did you check this issue on Perl sites? Try to start with www.cpan.org. BTW this is a very great site. Good luck, Gabor 2009/12/19 Alex Samad : > Hi > > I have a set of constants setup in my script > > RC_OK > ... > ... > > I use LWP::Simple  which also uses RC_OK, and I get a main::RC_OK >

Re: perl install paths

2009-11-26 Thread Tzafrir Cohen
On Wed, Nov 25, 2009 at 05:29:12PM -0800, Kelly Clowers wrote: > On Wed, Nov 25, 2009 at 13:54, Tyler MacDonald wrote: > > Hi, > > > >  Background here: > > > >  https://rt.cpan.org/Ticket/Display.html?id=52072 > > > >  Essentially, I had two copies of TAP::Harness installed -- one from CPAN > > a

Re: perl install paths

2009-11-25 Thread Kelly Clowers
On Wed, Nov 25, 2009 at 13:54, Tyler MacDonald wrote: > Hi, > >  Background here: > >  https://rt.cpan.org/Ticket/Display.html?id=52072 > >  Essentially, I had two copies of TAP::Harness installed -- one from CPAN > and one from the "libtest-harness-perl" package. > >  Debian's went to /usr/share/

Re: perl package environment problems

2009-05-17 Thread Boyd Stephen Smith Jr.
In , Jude DaShiell wrote: >perl: warning: Setting locale failed. >perl: warning: Please check that your locale settings: > LANGUAGE = (unset), > LC_ALL = (unset), > LANG = ""en_US.UTF-8"" This shows that you LANG variable actually contains double-quote characters. Check /

Re: Perl upgrade dilemma.

2009-03-08 Thread David L. Anselmi
David L. Anselmi wrote: I'm getting set to attempt recovery by using the Debian Live rescue CD. I'll use its tools to finish installing packages (dpkg --root or Dir::RootDir for aptitude). So dpkg and aptitude don't work so well from a rescue disk for this. They chroot before running the post-

Re: Perl upgrade dilemma.

2009-03-08 Thread David L. Anselmi
Tzafrir Cohen wrote: On Sun, Mar 08, 2009 at 01:21:07AM -0700, David L. Anselmi wrote: Here is the output from aptitude around the first failure: Preparing to replace perl 5.10.0-18 (using .../perl_5.10.0-19_i386.deb) ... Unpacking replacement perl ... Preparing to replace perl-base 5.10.0-18

Re: Perl upgrade dilemma.

2009-03-08 Thread Tzafrir Cohen
On Sun, Mar 08, 2009 at 01:21:07AM -0700, David L. Anselmi wrote: > I'm trying to upgrade a testing machine but the upgrade failed around > perl-base. Now any dpkg commands I try seem to fail because > /usr/bin/perl segfaults. > > How can I fix perl if I can't use dpkg? > > Here is the output

Re: Perl modules

2008-12-08 Thread M.Lewis
Tzafrir Cohen wrote: On Mon, Dec 08, 2008 at 06:37:53PM -0900, Ken Irving wrote: On Mon, Dec 08, 2008 at 09:04:28PM -0600, M.Lewis wrote: Recently, I needed to install a perl module that I was not able to find with synaptic or aptitude using the 'normal' repositories. I believe the module w

Re: Perl modules

2008-12-08 Thread Tzafrir Cohen
On Mon, Dec 08, 2008 at 06:37:53PM -0900, Ken Irving wrote: > On Mon, Dec 08, 2008 at 09:04:28PM -0600, M.Lewis wrote: > > > > Recently, I needed to install a perl module that I was not able to find > > with synaptic or aptitude using the 'normal' repositories. I believe the > > module was File

Re: Perl modules

2008-12-08 Thread M.Lewis
Kelly Clowers wrote: On Mon, Dec 8, 2008 at 19:15, Celejar <[EMAIL PROTECTED]> wrote: On Mon, 08 Dec 2008 21:04:28 -0600 "M.Lewis" <[EMAIL PROTECTED]> wrote: Recently, I needed to install a perl module that I was not able to find with synaptic or aptitude using the 'normal' repositories. I be

Re: Perl modules

2008-12-08 Thread Kelly Clowers
On Mon, Dec 8, 2008 at 19:15, Celejar <[EMAIL PROTECTED]> wrote: > On Mon, 08 Dec 2008 21:04:28 -0600 > "M.Lewis" <[EMAIL PROTECTED]> wrote: > >> >> Recently, I needed to install a perl module that I was not able to find >> with synaptic or aptitude using the 'normal' repositories. I believe the >>

Re: Perl modules

2008-12-08 Thread Ken Irving
On Mon, Dec 08, 2008 at 09:04:28PM -0600, M.Lewis wrote: > > Recently, I needed to install a perl module that I was not able to find > with synaptic or aptitude using the 'normal' repositories. I believe the > module was File::Find::Path. > > I know I can install this module via CPAN. Is this t

Re: Perl modules

2008-12-08 Thread Celejar
On Mon, 08 Dec 2008 21:04:28 -0600 "M.Lewis" <[EMAIL PROTECTED]> wrote: > > Recently, I needed to install a perl module that I was not able to find > with synaptic or aptitude using the 'normal' repositories. I believe the > module was File::Find::Path. > > I know I can install this module via

Re: Perl realted question..

2008-01-12 Thread Celejar
On Thu, 10 Jan 2008 13:47:41 -0900 Ken Irving <[EMAIL PROTECTED]> wrote: > On Wed, Jan 09, 2008 at 10:04:19PM -0500, ISHWAR RATTAN wrote: > > > > Is there a way to place the last line read > > when reading from a file? My suspicion is there > > is no such thing but i do want to confirm.. > > Just

[OT] Re: Perl realted..?

2008-01-11 Thread s. keeling
pedxing <[EMAIL PROTECTED]>: > On Jan 11, 4:20 am, "s. keeling" <[EMAIL PROTECTED]> wrote: > > > >       - > >            #!/usr/bin/perl > >            # this just re-implements tail -1 > >            # > >            # usage: > >            #   /this/file < /some/text

Re: Perl realted..?

2008-01-11 Thread Dave Sherohman
On Fri, Jan 11, 2008 at 01:51:44AM -0800, pedxing wrote: > But the point is that scope doesn't change in a loop, but it > does in a subroutine. You are incorrect. Every set of { braces } is its own (sub)scope, regardless of whether they are separated out into a sub or not. ~$ perl -w -e ' { my $

Re: Perl realted..?

2008-01-11 Thread Nelson Castillo
On Jan 10, 2008 1:23 PM, Chris Howie <[EMAIL PROTECTED]> wrote: > On Jan 10, 2008 1:11 PM, ISHWAR RATTAN <[EMAIL PROTECTED]> wrote: > > > I am coming back to perl after a long time. > > > > The sample code these days also uses variable attribute my as: > > > > my $inst = Extutils::Installed->new(

Re: Perl realted..?

2008-01-11 Thread Chris Howie
On Jan 11, 2008 4:01 AM, pedxing <[EMAIL PROTECTED]> wrote: > > #!/usr/bin/perl > > # this just re-implements tail -1 > > # > > # usage: > > # /this/file < /some/text/file.txt > > # > > > > my $last; > > > > while( <> ) { > > $last = $_; > > } > > > > print $last; > > -

Re: Perl realted..?

2008-01-11 Thread pedxing
On Jan 11, 4:20 am, "s. keeling" <[EMAIL PROTECTED]> wrote: > ISHWAR RATTAN <[EMAIL PROTECTED]>: > > >  I am coming back to perl after a long time. > > >  The sample code these days also uses variable attribute my as: > > >     my $inst = Extutils::Installed->new(); > >     my @modules = $inst->mod

Re: Perl realted..?

2008-01-11 Thread pedxing
On Jan 11, 4:20 am, "s. keeling" <[EMAIL PROTECTED]> wrote: > ISHWAR RATTAN <[EMAIL PROTECTED]>: > > >  I am coming back toperlafter a long time. > > >  The sample code these days also uses variable attribute my as: > > >     my $inst = Extutils::Installed->new(); > >     my @modules = $inst->modul

Re: Perl realted..?

2008-01-10 Thread s. keeling
ISHWAR RATTAN <[EMAIL PROTECTED]>: > I am coming back to perl after a long time. > > The sample code these days also uses variable attribute my as: > > my $inst = Extutils::Installed->new(); > my @modules = $inst->modules(); > > Can any demistify 'my' for me?? -

Re: Perl realted question..

2008-01-10 Thread Ken Irving
On Wed, Jan 09, 2008 at 10:04:19PM -0500, ISHWAR RATTAN wrote: > > Is there a way to place the last line read > when reading from a file? My suspicion is there > is no such thing but i do want to confirm.. Just another guess at what you're asking about; perhaps the word "placed" was intended to be

Re: Perl realted question..

2008-01-10 Thread Scott Gifford
Dave Sherohman <[EMAIL PROTECTED]> writes: > On Wed, Jan 09, 2008 at 09:45:15PM -0800, Sam wrote: >> if i read you correctly, you can read the file into an array and use pop, >> which will return the last element read.Or you could use @array[-1] > > That's rather wasteful of memory, which becomes

Re: Perl realted..?

2008-01-10 Thread Arthur Furlan
ISHWAR RATTAN escreveu: I am coming back to perl after a long time. The sample code these days also uses variable attribute my as: my $inst = Extutils::Installed->new(); my @modules = $inst->modules(); Can any demistify 'my' for me?? http://perldoc.perl.org/functions/my.html -- Atencios

Re: Perl realted..?

2008-01-10 Thread Chris Howie
On Jan 10, 2008 1:11 PM, ISHWAR RATTAN <[EMAIL PROTECTED]> wrote: > I am coming back to perl after a long time. > > The sample code these days also uses variable attribute my as: > > my $inst = Extutils::Installed->new(); > my @modules = $inst->modules(); > > Can any demistify 'my' for me?? >

Re: Perl realted question..

2008-01-09 Thread Dave Sherohman
On Wed, Jan 09, 2008 at 09:45:15PM -0800, Sam wrote: > if i read you correctly, you can read the file into an array and use pop, > which will return the last element read.Or you could use @array[-1] That's rather wasteful of memory, which becomes a concern with larger files. If the objective is i

Re: Perl realted question..

2008-01-09 Thread Sam
if i read you correctly, you can read the file into an array and use pop, which will return the last element read.Or you could use @array[-1] On 1/9/08, Chris Howie <[EMAIL PROTECTED]> wrote: > > On Jan 9, 2008 10:04 PM, ISHWAR RATTAN <[EMAIL PROTECTED]> wrote: > > > Is there a way to place the

Re: Perl realted question..

2008-01-09 Thread Chris Howie
On Jan 9, 2008 10:04 PM, ISHWAR RATTAN <[EMAIL PROTECTED]> wrote: > Is there a way to place the last line read > when reading from a file? My suspicion is there > is no such thing but i do want to confirm.. > What do you mean by "place?" -- Chris Howie http://www.chrishowie.com http://en.wikipe

Re: perl Time::HiRes debian package?

2007-12-01 Thread Shams Fantar
Patter wrote: On Fri, 30 Nov 2007 10:00:12 +0100, Mark Quitoriano wrote: is there a deb package for perl Time::HiRes? Its in the core perl package. It doesn't exist a debian package for that module because perl modules are generally in the perl package. To use Time::HiRes, read

Re: perl Time::HiRes debian package?

2007-11-30 Thread Patter
On Fri, 30 Nov 2007 10:00:12 +0100, Mark Quitoriano wrote: > is there a deb package for perl Time::HiRes? Its in the core perl package. -- Stephen Patterson :: [EMAIL PROTECTED] :: http://patter.mine.nu/ GPG: B416F0DE :: Jabber: [EMAIL PROTECTED] "Don't be silly, Minnie. Who'd be walking round

Re: perl Time::HiRes debian package?

2007-11-30 Thread Gerard Robin
On Fri, Nov 30, 2007 at 04:56:34PM +0800, Mark Quitoriano wrote: From: Mark Quitoriano <[EMAIL PROTECTED]> To: debian-user@lists.debian.org Subject: perl Time::HiRes debian package? X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on liszt.debian.org X-Spam-Level: X-Spam-Status: No, score

Re: perl modules

2007-10-01 Thread Richard
On Mon, 1 Oct 2007 09:29:26 -0400 Kevin Mark <[EMAIL PROTECTED]> wrote: > On Mon, Oct 01, 2007 at 02:23:51PM +0100, Richard wrote: > > > > Where do I find the perl modules, Net-Telnet,TimeDate and a few > > others. Are they on a debian repository, or do I have to download > > from cpan ? > > > >

Re: perl modules

2007-10-01 Thread David Paleino
Il giorno Mon, 1 Oct 2007 14:23:51 +0100 Richard <[EMAIL PROTECTED]> ha scritto: > > Where do I find the perl modules, Net-Telnet,TimeDate and a few others. > Are they on a debian repository, or do I have to download from cpan ? > > apt-get doesn't find anything Maybe they're not packaged. As a

Re: perl modules

2007-10-01 Thread Kevin Mark
On Mon, Oct 01, 2007 at 02:23:51PM +0100, Richard wrote: > > Where do I find the perl modules, Net-Telnet,TimeDate and a few others. > Are they on a debian repository, or do I have to download from cpan ? > > apt-get doesn't find anything > -- > apt-cache search perl|grep -i timedate This wil

Re: Perl LibZip problem

2007-03-26 Thread Ron Johnson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 03/26/07 16:17, Rob Wright wrote: > On Monday 26 March 2007 15:48, Ron Johnson wrote: >> Is the Debian freeradius package too out of date? >> > Nope, I'm neither saying nor implying anything of the sort. OK. I was just curious why you aren't using

Re: Perl LibZip problem

2007-03-26 Thread Rob Wright
On Monday 26 March 2007 15:48, Ron Johnson wrote: > > Is the Debian freeradius package too out of date? > Nope, I'm neither saying nor implying anything of the sort. > > If there's a Perl zip library that might solve my problem I'm certainly > > open to suggestions. I have already installed libarc

Re: Perl LibZip problem

2007-03-26 Thread Ron Johnson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 03/26/07 15:17, Rob Wright wrote: > On Monday 26 March 2007 13:31, Roberto C. Sánchez wrote: > >>> Cpan goes through the process of downloading and unzipping the file, >>> starts the make and then errors out with the information I've included >>> b

Re: Perl LibZip problem

2007-03-26 Thread Rob Wright
On Monday 26 March 2007 13:31, Roberto C. Sánchez wrote: > > Cpan goes through the process of downloading and unzipping the file, > > starts the make and then errors out with the information I've included > > below. Any ideas what I'm missing? I've tried using both 'force' and > > 'notest', but ei

Re: Perl LibZip problem

2007-03-26 Thread Roberto C . Sánchez
On Mon, Mar 26, 2007 at 12:32:57PM -0500, Rob Wright wrote: > Greetings, > > I'm trying to install the LibZip module into perl on Debian Etch. Perl 5.8 > was > installed via apt with just the basic install, no changes made. > > When I run CPAN and do: > > install LibZip > > Cpan goes through

Re: perl cpan cc: command not found

2007-03-17 Thread Jeff Chimene
Jeff Chimene wrote: Hi, While running cpan certain modules don't get built. sh: cc: command not found I know this isn't true: ls /usr/bin/gcc -lat lrwxrwxrwx 1 root root 21 May 22 2006 /usr/bin/gcc -> /etc/alternatives/gcc I'm wondering if the debian-alternatives system is interfering h

Re: perl cpan cc: command not found

2007-03-17 Thread Roberto C. Sanchez
On Sat, Mar 17, 2007 at 10:37:47AM -0700, Jeff Chimene wrote: > Hi, > > While running cpan certain modules don't get built. >sh: cc: command not found > > I know this isn't true: > > ls /usr/bin/gcc -lat > lrwxrwxrwx 1 root root 21 May 22 2006 /usr/bin/gcc -> /etc/alternatives/gcc > > I'm

Re: perl: how to suppress system()'s output or quiet down `tar`

2007-01-14 Thread Douglas Tutty
On Sat, Jan 13, 2007 at 01:07:28PM +0100, LeVA wrote: > Hi! > > From a perl script I call 'tar' with system(). But with every system() > call I get the output from tar to my console: "tar: Removing leading / > from absolute path names in the archive" and it messes up my perl > script's output.

Re: perl: how to suppress system()'s output or quiet down `tar`

2007-01-13 Thread Kevin Mark
On Sat, Jan 13, 2007 at 01:07:28PM +0100, LeVA wrote: > Hi! > > From a perl script I call 'tar' with system(). But with every system() > call I get the output from tar to my console: "tar: Removing leading / > from absolute path names in the archive" and it messes up my perl > script's output.

  1   2   3   4   5   >