Re: Linux Directory Copy Modules that Won't

2025-02-01 Thread Martin McCormick
Many thanks to all 3 who replied. You've given me more things to try. For one brief shining moment, I thought the very first suggestion had fixed the problem but I neglected to put the "or die!;" clause at the end of the line and it's still the same silent failure. For now, I will use t

Re: Linux Directory Copy Modules that Won't

2025-02-01 Thread Jesus Lozano Mosterin
am which is 137 lines > > long and nothing else is failing except for the directory copies: > > > > #!/usr/bin/perl -w > > use strict; > > use warnings::unused; > > use IO::Handle; > > use File::HomeDir; > > use Cwd qw(getcwd); > > > > #use Fil

Re: Linux Directory Copy Modules that Won't

2025-02-01 Thread Jim Gibson via beginners
> On Feb 1, 2025, at 6:34 AM, Martin McCormick wrote: > > This is perl 5, version 36, subversion 0 (v5.36.0) built for > x86_64-linux-gnu-thread-multi > (with 53 registered patches, see perl -V for more detail) > > Copyright 1987-2022, Larry Wall > > The issue here is trying to copy directo

Re: Linux Directory Copy Modules that Won't

2025-02-01 Thread Ruprecht Helms (privat)
rmove dirmove); use File::Find; use File::Spec; I suspect several of those modules aren't needed but the program does exactly what I need it to do until the copy occurs. The directories are their and populated with other directories which should all be copied to selected thumb drives

Linux Directory Copy Modules that Won't

2025-02-01 Thread Martin McCormick
t;; use File::Copy::Recursive qw(fcopy rcopy dircopy fmove rmove dirmove); use File::Find; use File::Spec; I suspect several of those modules aren't needed but the program does exactly what I need it to do until the copy occurs. The directories are their and populated with other direc

Re: iterate over the use-d modules

2024-10-01 Thread Levi Nystad-Johansen via beginners
@INC contains all locations modules can be loaded from. %INC contains all modules that have been loaded. See https://perldoc.perl.org/perlvar#%INC say for keys %INC; -Levi Opprinnelig melding Den 01.10.2024 17:31, Andy Bach skrev: > Look at perldoc for "requir

iterate over the use-d modules

2024-10-01 Thread Luca Ferrari
Hi all, is there a way to iterate over the used modules, I mean every symbol loaded with use? I would like to do something like: use Foo; use Bar; say ${ $_ }::VERSION for ( @used ); and get something like say $Foo::VERSION; say $Bar::VERSION; Thanks, Luca -- To unsubscribe, e-mail

Re: iterate over the use-d modules

2024-10-01 Thread Andy Bach
a way to iterate over the used modules, I mean every symbol > loaded with use? > I would like to do something like: > > use Foo; > use Bar; > > say ${ $_ }::VERSION for ( @used ); > > and get something like > > say $Foo::VERSION; > say $Bar::VERSION; > >

Re: Are there any ALSA Perl Modules?

2024-01-29 Thread sisyphus
On Mon, Jan 29, 2024 at 6:28 AM Martin McCormick wrote: [snip] > I may be looking in the wrong places but, so far, I seem > to be batting zeros when looking for perl and alsa together. > I take it that MIDI::ALSA (https://metacpan.org/pod/MIDI::ALSA) has little or nothing to offer ?

Re: Are there any ALSA Perl Modules?

2024-01-29 Thread Olivier
Shlomi Fish writes: >> Anyway, the FFI concept will probably someday come in >> handy for a different project so I will continue with the C I was >> working on. What I did in a project is having the main functionality written in C, but using Perl for things that could be handy like parsing

Re: Are there any ALSA Perl Modules?

2024-01-29 Thread Shlomi Fish
module like > Device::alsa because it would not be portable between Windows and > Linus. The l in alsa is for Linux so basically, I was just > curious to see if anything like Device::ALSA existed and it > apparently does not exist. > Devs *have* written linux-only or mswin

Re: Are there any ALSA Perl Modules?

2024-01-29 Thread Martin McCormick
Shlomi Fish writes: > hi Martin, > you can try using an FFI, eg: > > https://metacpan.org/dist/Inline-C/view/lib/Inline/C.pod > > https://metacpan.org/dist/Inline-Python/view/Python.pod > > https://metacpan.org/pod/FFI::Platypus Many thanks. I am glad I asked the question but it has taken me

Re: Are there any ALSA Perl Modules?

2024-01-28 Thread Shlomi Fish
ints which are usually 32-bits > wide for stereo or 16-bit shorts for mono, the sound processing > can begin which C is really good at but perl is just as good at > so if one could get the same alsa modules which are used by aplay > and arecord for setting up one's audio interfaces

Re: Are there any ALSA Perl Modules?

2024-01-28 Thread hw
On Sun, 2024-01-28 at 13:27 -0600, Martin McCormick wrote: > [...] > I may be looking in the wrong places but, so far, I seem > to be batting zeros when looking for perl and alsa together. > > Any good ideas are greatly appreciated, here. I would think that one nowadays would use (go

Are there any ALSA Perl Modules?

2024-01-28 Thread Martin McCormick
t the same alsa modules which are used by aplay and arecord for setting up one's audio interfaces or sound cards, the manipulation of those data that was done in C could also be done in perl without hardly any modification to it at all. Perl has just the right mix of low-level lo

Re: Modules

2023-10-24 Thread John Harris Gmail
What modules and/or libraries are you using? Before you code do you block diagram and flowchart your programs? On Tue, Oct 24, 2023, 12:06 PM Levi Elias Nystad-Johansen via beginners < beginners@perl.org> wrote: > I use modules for complex things that I might get wrong. To re-

Re: Modules

2023-10-24 Thread Levi Elias Nystad-Johansen via beginners
I use modules for complex things that I might get wrong. To re-use other people's code is often better than to re-invent their solutions. https://metacpan.org/pod/WWW::Mechanize::Examples has some good examples of useful scripts that are short and simple. Imagine how hard it would be to

Re: perlbrew and modules

2017-12-07 Thread SSC_perl
> On Dec 7, 2017, at 3:39 PM, Andy Bach wrote: > > meaning, you added: > use lib q{/home/user/.cpanm/}; Well, no. That one didn't work. I had to be specific about where CGI::Carp was installed to get it to work: use lib '/home/user/.cpanm/work/1512448551.26554/CGI-4.38/lib'; > Right

Re: perlbrew and modules

2017-12-07 Thread Andy Bach
>> I found a .cpanm directory in /home/user where all the modules are >> being installed. Could that have anything to do with it? I tried adding >> that directory with "use lib" but I still get the 500 error. > I ran your script and, when I manually i

Re: perlbrew and modules

2017-12-07 Thread SSC_perl
> On Dec 7, 2017, at 3:09 PM, Andy Bach wrote: > > Can you not look a the web server's error_log? A 500 error would put the > perl error msg in there. Have you tried just "use" a different module? Those errors aren't appearing in the errors log in cPanel. I couldn't find another e

Re: perlbrew and modules

2017-12-07 Thread Andy Bach
> I've run into another strange problem that I don't understand. > Running the script below produces the output "Perl v5.26.1". However, if I > add the line: use CGI::Carp qw(fatalsToBrowser); it produces a 500 error. > > On the shared server, this worked as it should, with > 'fatalsT

Re: perlbrew and modules

2017-12-07 Thread SSC_perl
> On Dec 7, 2017, at 1:40 PM, Shlomi Fish wrote: > > you should make sure that the modules you wish to use are in one of the > dirs in @INC. cpanm should install to the global directories. Another question. How can I check to make sure cpanm was installed properly un

Re: perlbrew and modules

2017-12-07 Thread SSC_perl
> On Dec 7, 2017, at 1:40 PM, Shlomi Fish wrote: > > you should make sure that the modules you wish to use are in one of the > dirs in @INC. cpanm should install to the global directories. That's what I thought. Shouldn't "cpanm install Module::Name"

Re: perlbrew and modules

2017-12-07 Thread Shlomi Fish
rl5/perlbrew/perls/perl-5.26.1/lib/site_perl/5.26.1/x86_64-linux > /home/user/perl5/perlbrew/perls/perl-5.26.1/lib/site_perl/5.26.1 > /home/user/perl5/perlbrew/perls/perl-5.26.1/lib/5.26.1/x86_64-linux > /home/user/perl5/perlbrew/perls/perl-5.26.1/lib/5.26.1 > > I found a .cpanm d

Re: perlbrew and modules

2017-12-07 Thread SSC_perl
lib/site_perl/5.26.1 /home/user/perl5/perlbrew/perls/perl-5.26.1/lib/5.26.1/x86_64-linux /home/user/perl5/perlbrew/perls/perl-5.26.1/lib/5.26.1 I found a .cpanm directory in /home/user where all the modules are being installed. Could that have anything to do with it? I tried adding that

Re: perlbrew and modules

2017-12-07 Thread Shlomi Fish
On Thu, 7 Dec 2017 11:50:17 -0800 SSC_perl wrote: > I've run into another strange problem that I don't understand. > Running the script below produces the output "Perl v5.26.1". However, if I > add the line: use CGI::Carp qw(fatalsToBrowser); it produces a 500 error. > > On the sha

perlbrew and modules

2017-12-07 Thread SSC_perl
I've run into another strange problem that I don't understand. Running the script below produces the output "Perl v5.26.1". However, if I add the line: use CGI::Carp qw(fatalsToBrowser); it produces a 500 error. On the shared server, this worked as it should, with 'fatalsToBro

Re: cannot install modules

2016-12-22 Thread Luca Ferrari
On Thu, Dec 22, 2016 at 3:56 PM, Luca Ferrari wrote: > What am I missing here? I found I had a mess configuration with PERL5_MB_OPT and PERL5_MM_OPT variables set to a different location respect to thos cpanm was installinga packages. Removing/unsetting the variables fixed the problem. Luca --

Re: cannot install modules

2016-12-22 Thread Andrew
Check also this article ( nearing the issue I guess ) 22.12.2016 17:13, Andrew пишет: Not sure but check out or install libssl-dev ( root privs required ) 22.12.2016 16:56, Luca Ferrari пишет: Hi all, running perl 5.25.8 on kubuntu 16.10 via perlbrew I try to install Net::SCP but got this str

Re: cannot install modules

2016-12-22 Thread Andrew
https://srcc.stanford.edu/farmshare2/software-perlbrew 22.12.2016 17:24, Andrew пишет: Check also this article ( nearing the issue I guess ) 22.12.2016 17:13, Andrew пишет: Not sure but check out or install libssl-dev ( root privs required ) 22.12.2016 16:56, Luca Ferrari пишет: Hi all, run

Re: cannot install modules

2016-12-22 Thread Andrew
Not sure but check out or install libssl-dev ( root privs required ) 22.12.2016 16:56, Luca Ferrari пишет: Hi all, running perl 5.25.8 on kubuntu 16.10 via perlbrew I try to install Net::SCP but got this strange stuff: % cpanm Net::SCP ... Successfully installed Net-SSH-0.09 ... Successfully i

cannot install modules

2016-12-22 Thread Luca Ferrari
Hi all, running perl 5.25.8 on kubuntu 16.10 via perlbrew I try to install Net::SCP but got this strange stuff: % cpanm Net::SCP ... Successfully installed Net-SSH-0.09 ... Successfully installed String-ShellQuote-1.04 ! Installing the dependencies failed: Module 'String::ShellQuote' is not instal

Re: Best way to install perl modules

2014-10-09 Thread Shlomi Fish
Hi Benjamin, On Thu, 9 Oct 2014 22:11:41 +1300 Benjamin Fernandis wrote: > Hi Shlomi, > > Thanks. I also feel that centos/rhel perl seems brokern in terms of > dependencies issues and some others. You're welcome. Regards, Shlomi Fish -- -

Re: Best way to install perl modules

2014-10-09 Thread Sam
odule and then i tried to install XML::SAX and it > works. > > It happens many times while installing different modules. I mean cpanm does > not automatically fetch require dependencies for module. like yum in centos > to install packages. > > Is there any

Re: Best way to install perl modules

2014-10-09 Thread Benjamin Fernandis
then i > manually > > first installed that module and then i tried to install XML::SAX and it > > works. > > > > It happens many times while installing different modules. I mean cpanm > does > > not automatically fetch require dependencies for module. like yum in &

Re: Best way to install perl modules

2014-10-09 Thread Shlomi Fish
cpanm XML::SAX -> it failed and said no Fatal.pm module , then i manually > first installed that module and then i tried to install XML::SAX and it > works. > > It happens many times while installing different modules. I mean cpanm does > not automatically fetch require dependenc

Re: Best way to install perl modules

2014-10-06 Thread Kent Fredric
On 7 October 2014 16:07, Benjamin Fernandis wrote: > + Attaching log file. > Lacking Env.pm basically means your vendor's Perl is broken. Env.pm is shipped with Perl itself, and subsequently things may forget to depend on it ( at least, in a way that cpan tools recognise ) and be silently broke

Re: Best way to install perl modules

2014-10-06 Thread Benjamin Fernandis
problem to install package with cpanm. > > This time i have already installed Development Tools as suggested by Sam. > > > For testing it more, i was trying to install dancer by cpanm. First > trial, i got failed and then looked into build log and found some dependent > module

Re: Best way to install perl modules

2014-10-06 Thread Mike
y Sam. For testing it more, i was trying to install dancer by cpanm. First trial, i got failed and then looked into build log and found some dependent modules are not there so then i tried to first install them and those also have some more dependencies and then i have to resolve first from thos

Re: Best way to install perl modules

2014-10-06 Thread Benjamin Fernandis
modules are not there so then i tried to first install them and those also have some more dependencies and then i have to resolve first from those and then step by step do install manually and lastly dancer installation works for me. Below is my manually package installation. Please suggest me to

Re: Best way to install perl modules

2014-10-04 Thread Benjamin Fernandis
all >> cpanm XML::SAX -> it failed and said no Fatal.pm module , then i >> manually first installed that module and then i tried to install >> XML::SAX and it works. >> >> It happens many times while installing different modules. I mean cpanm >> does not automa

Re: Best way to install perl modules

2014-10-04 Thread Sam
dule. For example, when i was trying to install cpanm XML::SAX -> it failed and said no Fatal.pm module , then i manually first installed that module and then i tried to install XML::SAX and it works. It happens many times while installing different modules. I mean cpanm does not automatically

Re: Best way to install perl modules

2014-10-04 Thread Benjamin Fernandis
n i tried to install XML::SAX and it works. It happens many times while installing different modules. I mean cpanm does not automatically fetch require dependencies for module. like yum in centos to install packages. Is there any tool or something like yum for perl module installations. Or Is th

Re: Best way to install perl modules

2014-10-04 Thread Mike
Use cpanminus. To install: sudo curl -L http://cpanmin.us | perl - --sudo App::cpanminus To use: sudo cpanm Here's the official documentation: http://search.cpan.org/~miyagawa/App-cpanminus-1.7012/lib/App/cpanminus.pm On 10/4/14, 8:32 PM, Benjamin Fernandis wrote: Hi, Many times I face p

Best way to install perl modules

2014-10-04 Thread Benjamin Fernandis
Hi, Many times I face problem with module installation and then have to go to google and apply trial and error to resolve this permanently, could u please suggest me best and correct method to get resolved it? i mean if i installed centos 7 freshly then what are pre-requisites from OS side to get

Re: Impossible to install Perl modules

2014-07-08 Thread Sebastien Feugere
auvage wrote: > >> Hi there, >> >> I'm not able to install any perl modules on one of my RedHat 6.5 >> servers. Hereunder the issue: >> >> [root@xxx jmx4perl-1.10]#cpan Config::General >> CPAN: Storable loaded ok (v2.20) >> Going to read '/ro

Re: Impossible to install Perl modules

2014-07-08 Thread Sam
On 07/08/2014 05:07 AM, Bob Sauvage wrote: Hi there, I'm not able to install any perl modules on one of my RedHat 6.5 servers. Hereunder the issue: [root@xxx jmx4perl-1.10]#cpan Config::General CPAN: Storable loaded ok (v2.20) Going to read '/root/.cpan/Metadata' Database was g

Impossible to install Perl modules

2014-07-08 Thread Bob Sauvage
Hi there,  I'm not able to install any perl modules on one of my RedHat 6.5 servers. Hereunder the issue:  [root@xxx jmx4perl-1.10]#cpan Config::General CPAN: Storable loaded ok (v2.20) Going to read '/root/.cpan/Metadata' Database was generated on Tue, 08 Jul 2014 07:29:02 GMT

Re: Teach script to look for modules in the same prefix when using MakeMaker

2014-06-16 Thread David Precious
n any directory by specifying PREFIX=/some/path when > running my Makefile.PL. It won't find the installed modules from lib > unless it's installed in a path where perl already looks for them. So > what I need is a way to make foo tell perl where to look for modules. > > Is t

Teach script to look for modules in the same prefix when using MakeMaker

2014-06-15 Thread drupsspen
defined in EXE_FILES. Most of the application is however located in lib/Foo and is imported by foo. The problem that I have is that I want to allow the user to install the program in any directory by specifying PREFIX=/some/path when running my Makefile.PL. It won't find the installed modules from

Re: web scraper modules

2014-02-23 Thread Mike McClain
Hi Octavian, Thanks for the suggestions. Mike On Wed, Feb 19, 2014 at 02:22:41PM +0200, Octavian Rasnita wrote: > CSS is just a subset of XPath, so it is not as advanced, but it has a nicer > syntax, so if you have a good CSS knowledge, you may use other scrapers like: > WWW::Mechanize::Quer

Re: web scraper modules

2014-02-19 Thread Octavian Rasnita
. >At the time I used LWP::Simple, LWP::UserAgent, HTML::TreeBuilder, > WWW::Mechanize & HTTP::Cookies but many of the sites have modified > their pages so that my program needs to be rewritten. >I'm wondering if anyone has suggestions of modules that make this > so

web scraper modules

2014-02-19 Thread Mike McClain
, HTML::TreeBuilder, WWW::Mechanize & HTTP::Cookies but many of the sites have modified their pages so that my program needs to be rewritten. I'm wondering if anyone has suggestions of modules that make this sort of task easier. Thanks, Mike -- Keep in mind ... stressed spelled backwards is

Re: modules

2013-06-04 Thread Shlomi Fish
Hi Michael, On Mon, 3 Jun 2013 16:38:25 -0700 Michael Rasmussen wrote: > On Tue, Jun 04, 2013 at 12:01:09AM +0100, Rahim Fakir wrote: > > Iam using win 7 64bits, and i downloaded Strawberry, and I use Perl PAckage > > Manager to install modules, insted of Cpan command. > >

Re: modules

2013-06-04 Thread Shlomi Fish
Hi Jim, thanks for replying to Ray. See below for my comments. On Mon, 3 Jun 2013 16:18:53 -0700 Jim Gibson wrote: > > On Jun 3, 2013, at 4:01 PM, Rahim Fakir wrote: > > > Iam using win 7 64bits, and i downloaded Strawberry, and I use Perl PAckage > > Manager to insta

Re: modules

2013-06-03 Thread Michael Rasmussen
On Tue, Jun 04, 2013 at 12:01:09AM +0100, Rahim Fakir wrote: > Iam using win 7 64bits, and i downloaded Strawberry, and I use Perl PAckage > Manager to install modules, insted of Cpan command. > I know how to install them, but I need instrucions how to use them, step by > step, ho

Re: modules

2013-06-03 Thread Jim Gibson
On Jun 3, 2013, at 4:01 PM, Rahim Fakir wrote: > Iam using win 7 64bits, and i downloaded Strawberry, and I use Perl PAckage > Manager to install modules, insted of Cpan command. > I know how to install them, but I need instrucions how to use them, step by > step, how-to run the mo

modules

2013-06-03 Thread Rahim Fakir
Iam using win 7 64bits, and i downloaded Strawberry, and I use Perl PAckage Manager to install modules, insted of Cpan command. I know how to install them, but I need instrucions how to use them, step by step, how-to run the modules. Best regards Ray

Re: Adding perl modules, custom built .pm files

2013-05-09 Thread Shlomi Fish
Hi Dariusz, On Thu, 9 May 2013 10:08:38 -0500 Dariusz Dolecki wrote: > How do I add existing custom built perl modules that were built on a > different system to another one, I have copied over the .pm file. > Put them in the @INC : [ IRC ] perlbot: @INC rindolf: To change @INC

Adding perl modules, custom built .pm files

2013-05-09 Thread Dariusz Dolecki
How do I add existing custom built perl modules that were built on a different system to another one, I have copied over the .pm file. Thanks in advance.

Re: Need clarification in using return value for modules

2013-03-28 Thread *Shaji Kalidasan*
o God. --- From: Nathan Hilterbrand To: beginners@perl.org Sent: Thursday, 28 March 2013 8:54 PM Subject: Re: Need clarification in using return value for modules On 03/28/2013 11:17 AM, *Shaji Kalidasan* wrote: > G

Re: Need clarification in using return value for modules

2013-03-28 Thread Nathan Hilterbrand
On 03/28/2013 11:17 AM, *Shaji Kalidasan* wrote: Greetings, I am using the following module [module] package My::GoldenRock::Utilities; use strict; use warnings; use base 'Exporter'; our @EXPORT_OK = qw(foo bar); our %EXPORT_TAGS = (all => \@EXPORT_OK); our $VERSION = 0.1; sub foo() { print

Need clarification in using return value for modules

2013-03-28 Thread *Shaji Kalidasan*
Greetings, I am using the following module [module] package My::GoldenRock::Utilities; use strict; use warnings; use base 'Exporter'; our @EXPORT_OK = qw(foo bar); our %EXPORT_TAGS = (all => \@EXPORT_OK); our $VERSION = 0.1; sub foo() { print "Inside foo\n"; } sub bar { print "Inside bar\n";

Re: Where can I find the list of modules distributed by perl core?

2013-02-18 Thread Dr.Ruud
On 2013-02-18 08:13, chenlin rao wrote: Or how can I know whether one module like YAML is such a core module? I need to write some perl scripts used for hadoop map/reduce streaming, so I donot want to use extra modules exists in my own computer. Nothing ever stops me from adding code to a

Re: Where can I find the list of modules distributed by perl core?

2013-02-17 Thread *Shaji Kalidasan*
From: chenlin rao To: beginners@perl.org Sent: Monday, 18 February 2013 12:43 PM Subject: Where can I find the list of modules distributed by perl core? Or how can I know whether one module like YAML is such a core module? I need to write some perl scripts used for hadoop map/reduce streaming

Where can I find the list of modules distributed by perl core?

2013-02-17 Thread chenlin rao
Or how can I know whether one module like YAML is such a core module? I need to write some perl scripts used for hadoop map/reduce streaming, so I donot want to use extra modules exists in my own computer.

confusion about modules for email

2013-02-08 Thread Rajeev Prasad
Hello, I want to use an email module on my webserver, which is NOT running any mail server. I am not sure if I have install and configure a mail server first??? how does following modules work? they need a mail server running in the back? Mail::Sendmail Email::Sender pl advice from your

Re: Package modules and EXPORTER use

2012-08-02 Thread Shawn H Corey
On Thu, 2 Aug 2012 08:34:48 -0700 Jim Gibson wrote: > Including code samples always helps! Please copy & paste your code if you're going to include it. Rewritten code almost always has bugs. -- Just my 0.0002 million dollars worth, Shawn Programming is as much about organization and co

Re: Package modules and EXPORTER use

2012-08-02 Thread Jim Gibson
that houses various subroutines for things > like calculating averages or other things specific to the app. There are only > 6 subs in that package and it HAS an EXPORT line exporting the subs in the > package. > > Vaguely, I knew there was a difference in modules and packages, b

Re: Package modules and EXPORTER use

2012-08-02 Thread Lawrence Statton
e was a difference in modules and packages, but nothing I've ever had to write has really required modules and only one or two packages. Does this help? -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/

Re: Package modules and EXPORTER use

2012-08-02 Thread Mark Haney
things specific to the app. There are only 6 subs in that package and it HAS an EXPORT line exporting the subs in the package. Vaguely, I knew there was a difference in modules and packages, but nothing I've ever had to write has really required modules and only one or two packages. Does

Re: Package modules and EXPORTER use

2012-08-02 Thread Shlomi Fish
Hi Mark, let me try to tackle your questions incrementally. On Thu, 02 Aug 2012 09:17:00 -0400 Mark Haney wrote: > I've got an odd situation here and I'm not sure what to think about it. > I've had to pull several subroutines into it's own package since they > all have similar functions (as

Package modules and EXPORTER use

2012-08-02 Thread Mark Haney
I've got an odd situation here and I'm not sure what to think about it. I've had to pull several subroutines into it's own package since they all have similar functions (as far as that goes) and I find that I reuse them more than I thought. My question stems from the EXPORTER directive. I've

Re: moving from ubuntu 10.04 to 12.04. how to have same PERL modules there?

2012-06-05 Thread Rajeev Prasad
thx Shawn,   I guess, it would not check which modules have newer versions available, and will install the same modules whihc were there in old PC.   I install only those modules which come thru ubuntu, so that (I assume) there is some compatibility testing already done. (anD) it does not break

Re: moving from ubuntu 10.04 to 12.04. how to have same PERL modules there?

2012-06-05 Thread Shawn H Corey
On 12-06-05 04:00 PM, Rajeev Prasad wrote: for e.g. on 10.10: perl ver is: v5.10 on 12.04 it is: perl (5.14.2-6ubuntu2) is there a quick method to do that? No, but you can adapt this algorithm: http://onionstand.blogspot.ca/2012/05/moving-modules-across-perlbrew.html Use this command to

moving from ubuntu 10.04 to 12.04. how to have same PERL modules there?

2012-06-05 Thread Rajeev Prasad
Hello,   I am going to move (not upgrade) from my current ubuntu ver 10.10  to ver. 12.04 (fresh install). I will restore my data and scripts there and have them ready.   But, how do i have all the required modules (which i have installed on my current PC over months) installed on target system

Re: install modules from CPAN

2012-03-15 Thread Bisiigwa Godfrey
wberryperl.com:80 <http://cpan.strawberryperl.com/> < > http://cpan.strawberryperl.com/> (connect: > timeout)] > > it looks like LWP is unable to connect to the site to download the modules. > You need to make sure your connected to the internet. Also, if you are, > c

Re: install modules from CPAN

2012-03-14 Thread Jefferson Kirkland
>From the following line: LWP failed with code[500] message[Can't connect to cpan.strawberryperl.com:80 <http://cpan.strawberryperl.com/> (connect: timeout)] it looks like LWP is unable to connect to the site to download the modules. You need to make sure your connected t

Re: install modules from CPAN

2012-03-14 Thread Leo Susanto
rl 5.6 on my laptop > am i want to download some modules from CPAN but all attempts i have made > have failed giving me such errors, > some help. > > C:\>perl -MCPAN -e shell > cpan shell -- CPAN exploration and modules installation (v1.9600) > Enter 'h' for help.

install modules from CPAN

2012-03-14 Thread Bisiigwa Godfrey
Hi there, i have perl 5.6 on my laptop am i want to download some modules from CPAN but all attempts i have made have failed giving me such errors, some help. C:\>perl -MCPAN -e shell cpan shell -- CPAN exploration and modules installation (v1.9600) Enter 'h' for help. cpan> in

Re: some intelligent website/modules

2012-02-18 Thread lina
On 18 Feb, 2012, at 22:55, Shawn H Corey wrote: > On 12-02-18 08:40 AM, lina wrote: >> Hi, >> >> are there some intelligent modules or website, I send it a string, >> it can intelligently analysis the structures and gave me several >> options consisted of those

Re: some intelligent website/modules

2012-02-18 Thread Shawn H Corey
On 12-02-18 08:40 AM, lina wrote: Hi, are there some intelligent modules or website, I send it a string, it can intelligently analysis the structures and gave me several options consisted of those regular expressions, Just curious, Thanks with best regards, Try: http://txt2re.com

some intelligent website/modules

2012-02-18 Thread lina
Hi, are there some intelligent modules or website, I send it a string, it can intelligently analysis the structures and gave me several options consisted of those regular expressions, Just curious, Thanks with best regards, -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For

RE: How to compile just the current perl module, ignoring all the other included modules

2012-01-27 Thread Nemana, Satya
current perl module, ignoring all the other included modules what you want I mean! thanks On Fri, Jan 27, 2012 at 5:45 PM, timothy adigun <2teezp...@gmail.com> wrote: Hi Satya, On Fri, Jan 27, 2012 at 5:29 PM, Nemana, Satya wrote: Hi Rob All I got from this exercise is ./startAuto

Re: How to compile just the current perl module, ignoring all the other included modules

2012-01-27 Thread timothy adigun
/ats/bin/perl >> -w -MO=Deparse ./startAutomation " >> I have >> 92.765u 110.414s 3:24.11 99.5% 0+0k 0+0io 0pf+0w >> >> How do I know module wise, how much time perl is taking for compiling >> each of the modules and where perl is spending time in the compila

Re: How to compile just the current perl module, ignoring all the other included modules

2012-01-27 Thread timothy adigun
ed in the program at the > beginning of the program. > > From the time command output, as used in the command "time /ats/bin/perl > -w -MO=Deparse ./startAutomation " > I have > 92.765u 110.414s 3:24.11 99.5% 0+0k 0+0io 0pf+0w > > How do I know module wise, how much time pe

RE: How to compile just the current perl module, ignoring all the other included modules

2012-01-27 Thread Nemana, Satya
"time /ats/bin/perl -w -MO=Deparse ./startAutomation " I have 92.765u 110.414s 3:24.11 99.5% 0+0k 0+0io 0pf+0w How do I know module wise, how much time perl is taking for compiling each of the modules and where perl is spending time in the compilation? How do I enable more verb

Re: How to compile just the current perl module, ignoring all the other included modules

2012-01-27 Thread Rob Dixon
parse" option at ./startAutomation line 1. BEGIN { $^W = 1; } Then there are a host of other environment variables set before executing the functions in the modules by a call to unless ( my $return_val = do $test_suite_list_file ) { die "ERROR: Couldn't parse test suite file \&q

RE: How to compile just the current perl module, ignoring all the other included modules

2012-01-27 Thread Nemana, Satya
e 1. BEGIN { $^W = 1; } Then there are a host of other environment variables set before executing the functions in the modules by a call to unless ( my $return_val = do $test_suite_list_file ) { die "ERROR: Couldn't parse test suite file \"$test_suite_list_file\": $@\n"

Re: How to compile just the current perl module, ignoring all theother included modules

2012-01-25 Thread Dr.Ruud
On 2012-01-25 15:34, Peter Scott wrote: On Mon, 23 Jan 2012 12:38:44 -0500, Nemana, Satya wrote: I tried perl -c also with the same results. It takes 4-5 minutes to know that I missed a " some where. It is very painful. 4-5 minutes?! Either you have an unbearably slow computer or something

Re: How to compile just the current perl module, ignoring all the other included modules

2012-01-25 Thread Peter Scott
On Mon, 23 Jan 2012 12:38:44 -0500, Nemana, Satya wrote: > > I tried perl -c also with the same results. It takes 4-5 minutes to know > that I missed a " some where. It is very painful. 4-5 minutes?! Either you have an unbearably slow computer or something is not right. Please post details. I

Re: How to compile just the current perl module, ignoring all the other included modules

2012-01-23 Thread Shawn H Corey
On 12-01-23 12:38 PM, Nemana, Satya wrote: I tried perl -c also with the same results. It takes 4-5 minutes to know that I missed a " some where. It is very painful. Is there no other way? That's very unusual, most scripts take only a few seconds to compile. Try: perl -MO=Deparse MyModule.pm

RE: How to compile just the current perl module, ignoring all the other included modules

2012-01-23 Thread Nemana, Satya
38 To: beginners@perl.org Subject: Re: How to compile just the current perl module, ignoring all the other included modules On 12-01-23 11:20 AM, Nemana, Satya wrote: > Hi Gurus > > I have to compile a perl module which includes a lot of other modules. > The other modules will not change du

Re: How to compile just the current perl module, ignoring all the other included modules

2012-01-23 Thread Shawn H Corey
On 12-01-23 11:20 AM, Nemana, Satya wrote: Hi Gurus I have to compile a perl module which includes a lot of other modules. The other modules will not change during compilations of my current module. Only my current module keeps on changing. The compiler however starts compiling from all the

How to compile just the current perl module, ignoring all the other included modules

2012-01-23 Thread Nemana, Satya
Hi Gurus I have to compile a perl module which includes a lot of other modules. The other modules will not change during compilations of my current module. Only my current module keeps on changing. The compiler however starts compiling from all the modules included in the current module with the

Re: Executing remote command without using any modules

2012-01-18 Thread Rob Coops
is using perl ? (please > without using any modules) > > my .sh... > > > > ssh -T $LOGIN < > cd /x02/oracle/downloads > > find ./ -type d | sed -e 's/[^-][^\/]*\//--/g;s/--/ |-/' > >>DirectoryStructure.txt > > cat DirectoryS

Executing remote command without using any modules

2012-01-18 Thread charith
Hi All, I create following bash script to run some block of commands on remote server and get information but I try to do same using Perl but I couldn't make it so any one can suggest way to get done this using perl ? (please without using any modules) m

Re: FW: can only install cpan modules as sudo

2011-12-23 Thread fudmer rieley
--- On Fri, 12/23/11, Phil Dobbin wrote: From: Phil Dobbin Subject: FW: can only install cpan modules as sudo To: "perl" Cc: "fudmer rieley" Date: Friday, December 23, 2011, 7:13 PM in response to the question of writing a perl to python converter i Maybe a better

FW: can only install cpan modules as sudo

2011-12-23 Thread Phil Dobbin
Dec 2011 15:56:33 -0800 (PST) To: Phil Dobbin Subject: Re: can only install cpan modules as sudo in response to the question of writing a perl to python converter i forwarded to the list thisand no one has responded nor has it appeared on the list.. is something wrong with the list? Maybe a be

Re: can only install cpan modules as sudo

2011-12-21 Thread Phil Dobbin
On 21/12/11 17:59, "Ryan.Barracuda" wrote: > Thanks! Would you recommend I uninstall ActiveState and install Perlbrew > first? Depends whereabouts it is on your machine. If ActiveState resides in ~/ then yes, I would. If not, it's entirely optional & you can just go ahead & install perlbrew as p

  1   2   3   4   5   6   7   8   9   10   >