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 ?
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
e
> 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 mswindows-on
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
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 or sound cards
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
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 logic and
bitwise
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-
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 write
> 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
>> 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 manual
> 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
> 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
>
> On Dec 7, 2017, at 1:40 PM, Shlomi Fish <shlo...@shlomifish.org> 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 c
> On Dec 7, 2017, at 1:40 PM, Shlomi Fish <shlo...@shlomifish.org> 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 i
/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 directory with "use lib" but I still get the 500 error.
>
you should make sure th
/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 directory in /home/user where all the modules are
being installed. Could that have an
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
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
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
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
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,
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
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
::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 dependencies for module. like yum in centos
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
centos
to install packages.
Is there any tool or something like yum for perl module
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
Hi Benjamin,
On Thu, 9 Oct 2014 22:11:41 +1300
Benjamin Fernandis benjo11...@gmail.com 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
--
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
.
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 those
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
modules are not there so then i tried to first install
On 7 October 2014 16:07, Benjamin Fernandis benjo11...@gmail.com 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 )
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
Use cpanminus.
To install:
sudo curl -L http://cpanmin.us | perl - --sudo App::cpanminus
To use: sudo cpanm module to install
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,
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 there , I
, 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 fetch require
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
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 generated on Tue, 08 Jul 2014 07:29:02 GMT
Hi there,
Im 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
Running install
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 generated on Tue
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 there a way to do this?
You want use lib - in particular, to say look
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 lib
unless it's
Hi Octavian,
Thanks for the suggestions.
Mike
On Wed, Feb 19, 2014 at 02:22:41PM +0200, Octavian Rasnita wrote:
snip
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:
, 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 desserts
for.
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
sort of task easier.
Thanks,
Mike
Which
Hi Jim,
thanks for replying to Ray. See below for my comments.
On Mon, 3 Jun 2013 16:18:53 -0700
Jim Gibson jimsgib...@gmail.com 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 install modules
Hi Michael,
On Mon, 3 Jun 2013 16:38:25 -0700
Michael Rasmussen mich...@jamhome.us 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.
I know how
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
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 modules.
Each
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, how-to run the modules
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.
Hi Dariusz,
On Thu, 9 May 2013 10:08:38 -0500
Dariusz Dolecki dariusz.dole...@gmail.com 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 ]
rindolf perlbot: @INC
perlbot
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; }
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
.
---
From: Nathan Hilterbrand noset...@cotse.net
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
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
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.
From: chenlin rao rao.chen...@gmail.com
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
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
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.
Hi Mark,
let me try to tackle your questions incrementally.
On Thu, 02 Aug 2012 09:17:00 -0400
Mark Haney ma...@abemblem.com 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
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
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/
. 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 this help?
Including code
On Thu, 2 Aug 2012 08:34:48 -0700
Jim Gibson jimsgib...@gmail.com 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
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
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
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
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 install DBD::mysql
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 to the internet. Also
to
cpan.strawberryperl.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,
check your firewall and ensure your
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 install DBD::mysql
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
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
On 18 Feb, 2012, at 22:55, Shawn H Corey shawnhco...@gmail.com 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 regular expressions
= 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
if $@;
die ERROR: Couldn't 'do' test
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 \$test_suite_list_file
/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 verbose in the compilation
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 perl is taking for compiling each
of the modules
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?
I think the module you need is Benchmark.
Please do on CLI: perldoc Benchmark. Am sure you get want to want!
How do I enable more
the 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 snem...@sonusnet.com
wrote:
Hi Rob
All I got from this exercise
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. It
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
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
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
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 during compilations of my
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
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)
my .sh
? (please
without using any modules)
my .sh...
ssh -T $LOGIN EOI
cd /x02/oracle/downloads
find ./ -type d | sed -e 's/[^-][^\/]*\//--/g;s/--/ |-/'
DirectoryStructure.txt
cat DirectoryStructure.txt
exit
EOI
thanks
The simplest way to do this is to use
Date: Fri, 23 Dec 2011 15:56:33 -0800 (PST)
To: Phil Dobbin phildob...@gmail.com
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
--- On Fri, 12/23/11, Phil Dobbin phildob...@gmail.com wrote:
From: Phil Dobbin phildob...@gmail.com
Subject: FW: can only install cpan modules as sudo
To: perl beginners@perl.org
Cc: fudmer rieley southofmex...@yahoo.com
Date: Friday, December 23, 2011, 7:13 PM
in response to the question
Hi all,
I can only install cpan modules as sudo. I installed ActiveState Perl
v.5.14.2 and cpanm without a problem.
$ cpanm Net::SMTP
-bash: /usr/local/bin/cpanm: /usr/bin/perl: bad interpreter: No such file or
directory
However, with sudo
$ sudo cpanm Net::SMTP
Net::SMTP is up to date. (2.31
/build.log for details.
6 distributions installed
Ryan
From: Chankey Pathak chankey...@gmail.com
Date: Wed, 21 Dec 2011 22:00:15 +0530
To: Ryan Munson ryan.barrac...@elboardo.com
Subject: Re: can only install cpan modules as sudo
Dude you have already installed that.
What's wrong now
On 21/12/11 16:27, Ryan.Barracuda ryan.barrac...@elboardo.com wrote:
I can only install cpan modules as sudo. I installed ActiveState Perl
v.5.14.2 and cpanm without a problem.
$ cpanm Net::SMTP
-bash: /usr/local/bin/cpanm: /usr/bin/perl: bad interpreter: No such file or
directory
Thanks! Would you recommend I uninstall ActiveState and install Perlbrew
first?
Ryan
On 12/21/11 12:52 PM, Phil Dobbin phildob...@gmail.com wrote:
On 21/12/11 16:27, Ryan.Barracuda ryan.barrac...@elboardo.com wrote:
I can only install cpan modules as sudo. I installed ActiveState Perl
v
On 21/12/11 17:59, Ryan.Barracuda ryan.barrac...@elboardo.com 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
Does anybody know of any modules to create console applications for windows?
I don't want a GUI like tk does. I want it to be text based and run in a DOS
window.
I saw the below example but couldn't get the curses module to work in
Windows.
This is a good example of what I'd like to do.
http
Hi Steven,
On Sat, 05 Nov 2011 11:58:37 -0500
Steven Perry spe...@sprynet.com wrote:
Does anybody know of any modules to create console applications for windows?
I don't want a GUI like tk does. I want it to be text based and run in a DOS
window.
I saw the below example but couldn't get
DBI and DBD::ODBC modules.
*my *$dbh = DBI-*connect*(DBI:ODBC:Driver={SQL
Server};Server=$db_instance;Database=$db_name;UID=$db_user;PWD=$db_pass) or
*die*(\n\nCONNECT ERROR:\n\n$DBI::errstr);
Using ODBC I am getting the following error.
DBI
connect('Driver={Teradata};Server=edwdevcop1;Database
://downloads.teradata.com/download
Regards,
Shlomi Fish
On Wed, Sep 21, 2011 at 11:23 AM, Shlomi Fish shlo...@shlomifish.orgwrote:
On Wed, 21 Sep 2011 09:31:01 -0400
Perl developer perldevelopm...@gmail.com wrote:
All,
I need help regarding install of CPAN modules
1 - 100 of 1282 matches
Mail list logo