At the command prompt, run:
perl -le 'use Net::SMTPS; print for keys %INC;'
That will tell you the names of all of the modules that get loaded when you
load Net::SMTP.
Cheers,
Rob
On Thu, May 16, 2024 at 11:07 PM Netwinds wrote:
> greetings everybody,
>
> How do I know which other modules are
On Fri, Mar 15, 2024 at 10:27 PM Maxim Abalenkov
wrote:
> Dear all,
>
> How are you? I hope all is well with you. I’m wondering, do we have some
> kind of an announcements mailing list, that would highlight, what happened
> in the Perl world over the past week, month, quarter? What are the new
>
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 ?
Using the B module to access a variable's flags is annoyingly clunky.
It's much simpler using Inline::C (or XS), which is my usual (and
preferred) method:
# Filename: try_inline.pl
use strict;
use warnings;
use Inline C => Config =>
BUILD_NOISY => 1,
;
use
On Sat, Dec 10, 2022 at 2:19 PM Henry R wrote:
> Hello list,
>
> I have written a C library which encrypts the data stored in object
> storage like S3.
> If I want to provide it with a perl OO interface what's the right way?
> such methods like:
>
> $data->encrypt("input.sth");
>
Hi,
This is a question that would be better asked on the p5p mailing list (
perl5-port...@perl.org), or raised as an Issue at
https://github.com/Perl/perl5/issues .
And I encourage you to ask about this on either one of those 2 forums.
Having someone who is involved in the development of
On Mon, Nov 30, 2020 at 5:08 AM Andrew Solomon wrote:
> Hi Stefano,
>
> From a Google search on "LabFrame" I assume that you're using this module?
>
> https://metacpan.org/pod/distribution/Tk/pod/LabFrame.pod
> and also this (undocumented) module
>
Hi stefano,
You'll need to install Tk.
Normally, to do that, you would simply run:
cpan -i Tk
Unfortunately that won't work because the current Tk-804.035 source needs a
small amendment.
One thing that does work is to download and unpack the source, make the
needed alteration to encGlue.c, and
Perhaps:
perl -le 'print $ENV{SHELL}'
Cheers,
Rob
On Sun, Nov 22, 2020 at 8:00 AM wagsworld48 via beginners <
beginners@perl.org> wrote:
> Mind is blank, but want to know if started with say BBEdit or bash or ?
>
> Probably very simple, but at this point, no idea... ;)
>
> WagsWorld
> World of
It would seem that the perl into which Win32::GUI was installed is a
different perl than the one that is executed when you run "perl window.pl".
I can verify that, on Strawberry Perl-5.32.0, having run "cpan -i
Win32::GUI", "perl window.pl" runs fine for me.
Cheers,
Rob
On Sun, Aug 30, 2020
Hi,
See if there's anything helpful in
https://www.perlmonks.org/?node_id=1229476
If not, try posting your question at
https://www.perlmonks.org/?node=Seekers%20of%20Perl%20Wisdom
(Just scroll down to the bottom of the page and you'll find the box you can
fill in to ask your question.)
Or try
ll wrote:
> Ah, so if the node has perl 5.8.4 and I use a code construct that came in
> 5.10, my code will fail?
>
> I thought the "use" precluded me from using later code constructs. Drat,
> now I have to figure out how to enforce that.
>
> Thanks!
>
>
>
"use 5.008_004" ensures that perl is at version 5.8.4 or later.
Try to run that script using perl-5.8.3 or earlier and it will croak with a
message that you need to be running version 5.8.4 or later.
Cheers,
Rob
On Sat, Dec 22, 2018 at 8:44 PM Leam Hall wrote:
> I've seen code that has "use
On Thu, Nov 15, 2018 at 1:49 AM Tetsuo Handa <
penguin-ker...@i-love.sakura.ne.jp> wrote:
> 32bits userspace on 64bits kernel:
> # truncate -s 9223372036854775807 test
> # perl -e 'use File::stat; my $sb = lstat("test"); printf("%s\n",
$sb->size);'
> 9.22337203685478e+18
> # perl -e 'use
On Wed, Nov 14, 2018 at 10:20 PM Tetsuo Handa <
penguin-ker...@i-love.sakura.ne.jp> wrote:
> Even on 32bit environments (at least for Linux), lstat() calls 64bit
version
When I check on Windows, I find that the value is actually an NV (not an IV
as I had expected).
I expect it's the same for
On Wed, Nov 14, 2018 at 9:08 PM Tetsuo Handa <
penguin-ker...@i-love.sakura.ne.jp> wrote
> how can I pass $sb->size to Math::BigInt->new() as a string (assuming
that $sb->size is an integer) ?
To answer the question, you can do:
my $x = $sb->size;
$value = Math::BigInt->new("$x");
But doing
On 11/13/2018 8:07 AM, Tetsuo Handa wrote:
> Hello.
>
> I want to represent up to a few hundreds gigabytes for file size.
>
> On 32bits platform, I noticed that
>
>my $value = ...;
>printf("%u\n", $value);
>
> prints 4294967295 if $value >= 4294967295 whereas
>
>my $value = ...;
>
- Original Message -
From: Skirv
Apache web log reports this error.
Can't locate loadable object for module Image::Magick in @INC (@INC
contains: C:/Perl64/site/lib C:/Perl64/lib .)
The loadable object is the file auto/Image/Magick/Magick.dll, and it will
look for that file under
- Original Message -
From: Wagner, David --- Sr Programmer Analyst --- CFS
I need to make changes from FTP processing to SFTP processing.
Has anyone tried to do this? If so, what did you try?
Initially I used Net::SSH2, but the coding required to get the job done is
much simpler
- Original Message -
From: Bob McConnell
I am using Strawberry on WinXP. I need to test some IPv6 connectivity
but can't get Socket6 to install. It all boils down to two errors during
the compile stage.
Socket6.o:Socket6.c:(.text+0xa47): undefined reference to `inet_pton'
- Original Message -
From: Octavian Rasnita
Do you know if Perl works fine under Windows 7 also?
Yes, no problems with perl on Windows 7.
Cheers,
Rob
--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
- Original Message -
From: Rob Dixon
I need to convert the result of an aritmetic operation on 2
bignum into a normal float (ie double)
I suggest you convert the values to strings, which will force them to be
converted to normal floats before the arithmetic is done.
no bignum ;
- Original Message -
From: Sean Murphy mhysnm1...@gmail.com
To: beginners@perl.org
Sent: Tuesday, January 18, 2011 9:23 PM
Subject: Windows 7 64 bit Make.exe file
Hi all.
I cannot install any CPAN libraries because CPAN complains that I don't have
a 64 bit Make executible. I have
- Original Message -
From: David Christensen dpchr...@holgerdanske.com
$ cat trap-print-errors.pl
#!/usr/bin/perl
use strict;
use warnings;
$| = 1;
sub myprint($@)
{
my $s = shift;
eval {
### circumvent Can't use string (*STDOUT) as a symbol ref...
no strict 'refs';
print
- Original Message -
From: jyang
Hi all :
I watch a function that is package Test::More ,which is that segment
such as :
sub ok ($;$) { } and sub is ($$;$) { }
please tell me what means ($;$) , or give me some reference manual let
me know it; thank you!
- Original Message -
From: Randal L. Schwartz mer...@stonehenge.com
To: beginners@perl.org
Sent: Monday, December 27, 2010 1:57 PM
Subject: Re: Syntax Errors
Bill == Bill Casey wtca...@wtcasey.com writes:
Bill Syntax error at import_track.pl line 11, near ) {
Bill Syntax error
- Original Message -
From: Ron Bergin
You could also install the MinGW module which is in ActiveStates
repository and which provides the needed compiler so you can build/install
modules using cpan.
Yes - more explicitly:
ppm install MinGW
I think that gives you both the MinGW
- Original Message -
From: Mariano Loza Coll malozac...@gmail.com
To: beginners@perl.org
Sent: Sunday, November 28, 2010 5:35 PM
Subject: trying to install a cpan module
Hi all,
I'm new to programming, and only recently did I start playing around with
command prompts, etc, so it's
- Original Message -
From: Bob McConnell r...@cbord.com
Has ActiveState produced a 64 bit package yet?
Yes, x64 packages have been available for a couple of years (give or take).
That is, ActiveState currently provide an msi package for both x86 (32-bit
build of perl) and x64
- Original Message -
From: CHAN, KENNETH 1 [AG/7721] kenneth.1.c...@monsanto.com
To: beginners@perl.org
I tried to Google it but couldn't find a solution. Do you have any
idea how to fix it and install ActivePerl properly? Thanks in advance.
===
- Original Message -
From: 彭勇华 pen...@nsbeta.info
To: beginners@perl.org
Sent: Saturday, April 10, 2010 12:35 PM
Subject: snmpwalk with perl
Hi,
Is there any perl module can implement snmpwalk function?
I found SNMP::Util on cpan, but it seems too out of date, and can't
specify
- Original Message -
From: Jyoti jyoti.bans...@gmail.com
To: beginners@perl.org
Sent: Tuesday, March 30, 2010 5:50 PM
Subject: error while installing win32::Registry module
Dear All,
I was trying to run my script getip.pl . But when i run this script it
gives following error
- Original Message -
From: Marilyn Sander marilyn-san...@earthlink.net
perl tryperl.pl E:\test_downloads H:\no_such_directory D:/whatever
argument 0 is E:/test_downloads
argument 1 is H:/no_such_directory
argument 2 is D:/whatever
I can't reproduce this behaviour with any of my
- Original Message -
From: perl_haxor 123 perl.ha...@gmail.com
To: Sisyphus sisyph...@optusnet.com.au
Cc: beginners@perl.org
Sent: Thursday, March 11, 2010 10:16 PM
Subject: Re: stripped output from Net::SSH2
Hi Rob,
Thanks a lot for looking into thisi can't execute cat
- Original Message -
From: perl_haxor 123 perl.ha...@gmail.com
To: Sisyphus sisyph...@optusnet.com.au
Cc: beginners@perl.org
Sent: Thursday, March 11, 2010 6:38 AM
Subject: Re: stripped output from Net::SSH2
find the script below:
#!/usr/bin/perl -w
use strict;
use Term::ReadKey
- Original Message -
From: perl_haxor 123 perl.ha...@gmail.com
To: beginners@perl.org
Sent: Thursday, March 11, 2010 6:07 AM
Subject: stripped output from Net::SSH2
Hi All,
I'm using Net::SSH2 module on windows machine, the purpose of
this
script is to login to multiple
- Original Message -
From: Jyoti jyoti.bans...@gmail.com
To: beginners@perl.org
Sent: Wednesday, March 10, 2010 3:46 PM
Subject: module installation
i want to install libwin32-0.191 on my windows XP...
That's a fairly old version (July 2002). Is there a reason that you wish to
- Original Message -
From: Bryan R Harris bryan_r_har...@raytheon.com
Is there any way to keep perl's eval from interpreting numbers starting
with
0 as octal?
Stringify them ?
2 * '012' is 24.
Cheers,
Rob
--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional
- Original Message -
From: electr0n wizard elitepapill...@gmail.com
To: beginners@perl.org
Sent: Saturday, January 23, 2010 11:45 AM
Subject: Need help with Net::SSH::Perl
I am new to Perl and am running ActiveStatePerl on a Windows 7
machine. I am trying to get SSH to work but get
- Original Message -
From: Jane D. janedun...@gmail.com
To: beginners@perl.org
Sent: Friday, January 22, 2010 7:52 AM
Subject: Win32 version 0.27 required
Win32 version 0.27 required--this is only version 0.24 at D:/Perl/lib/
Cwd.pm line 663.
Try:
ppm install
- Original Message -
2010/1/18 Shan shanmugasundara...@tessolve.com:
I'm using ActiveState.May I use CPAN module for that.If so how it would
be.
First:
ppm install MinGW
Then:
cpan -i Convert::Binary::C
It's the same with Strawberry Perl, except that with Strawberry Perl you
- Original Message -
From: rea...@newsguy.com
To: beginners@perl.org
Sent: Monday, October 12, 2009 10:00 AM
Subject: about the AT sign (@) WAS: make perl see number as string
rea...@newsguy.com writes:
What is the proper way to escape or protect an `at sign' (@) inside a
perl
- Original Message -
From: Soham Das soham...@yahoo.co.in
To: beginners@perl.org
Sent: Tuesday, September 29, 2009 4:51 AM
Subject: Installing Tie::CSV_File in PPM
I am trying to install Tie::CSV_File through the ActivePerl PPM. But try as
I might, I am not able to spot it. It also
- Original Message -
From: Ashley Cooper ashley.coo...@salmat.com.au
To: beginners@perl.org
Sent: Thursday, August 27, 2009 12:13 PM
Subject: SFTP from Perl for Windows
I need to be able to do file transfers via SFTP from Perl (ActiveState)
in a Windows environment but I am having
- Original Message -
From: Sisyphus sisyph...@optusnet.com.au
Adapted (and untested) from an actual script I use:
##
use warnings;
use strict;
use Net::SSH2;
my $server = 'server.nameer';
my $ssh2 = Net::SSH2-new;
die can't connect unless $ssh2-connect
- Original Message -
From: Ashley Cooper ashley.coo...@salmat.com.au
To: Sisyphus sisyph...@optusnet.com.au; beginners@perl.org
Sent: Thursday, August 27, 2009 1:37 PM
Subject: RE: SFTP from Perl for Windows
I can see a Net::SSH on ActiveState, but not Net::SSH2. Is this the same
- Original Message -
From: perl pra perl...@gmail.com
To: Beginners List beginners@perl.org
Sent: Saturday, August 15, 2009 6:08 PM
Subject: installing perl modules on 64-bit Os
Hi Gurus,
I have installed ActivePerl-5.10.0.1004-MSWin32-x86-287188.msi on
WindowsServer 2008 64-bit
On Fri, Jun 12, 2009 at 10:49 PM, Patrick Dupre pd...@york.ac.uk wrote:
To pass an integer, I use to make a newSViv.
How do I do to pass a int* ?
Perhaps not exactly what you're after ... hope it helps:
##
use warnings;
use Inline C = Config =
On Wed, May 20, 2009 at 5:48 PM, Dermot paik...@googlemail.com wrote:
Other releases (including zip) can be found here:
http://strawberryperl.com/releases.html
but I imagine the exe would be best in this case.
The problem is that the exe will only install into C:/strawberry. With the
zip
Monnappa Appaiah wrote:
.
.
1)
#!/usr/bin/perl -w
use strict;
use Net::SSH2;
my $ssh2 = Net::SSH2-new();
$ssh2-connect('sys5') or die Unable to connect host $@ \n;
$ssh2-auth_password('xyz','mypass');
my
On Oct 29, 8:49 am, [EMAIL PROTECTED] (Tony Esposito) wrote:
.
.
The CPAN.pm method to install the Spreadsheet::WriteExcel module just plainly
'times out' from what I would guess is a firewall issue. And when I download
the .tar.gz file for Spreadsheet::WriteExcel and try to unzip I get an
On Oct 17, 3:04 am, [EMAIL PROTECTED] (Sharan Basappa) wrote:
.
.
#!/usr/bin/perl
use warnings;
use Algorithm::Permute;
my @array = (1..4);
Algorithm::Permute::permute { print @array\n } @array;
use warnings;
use strict;
use Algorithm::Permute;
my @array = (1..9);
my $p = new
On Sep 17, 1:28 am, [EMAIL PROTECTED] (Cancer) wrote:
Hi,
I am using Perl on Linux server. I m writing a code which will tell
us the Linux distro with version. For this the command is
cat /etc/issue
which is common for all the distributions of linux. But the output
varies for different
On Sep 11, 1:15 am, [EMAIL PROTECTED] (Sebastian Cabrera) wrote:
.
.
I need some help with the GnuPG::Interfaces Module. I want
to use the recv-keys option
You mean GnuPG::Interface ? (Perl is quantity-sensitive :-)
I've just searched the GnuPG-Interface-0.36 documentation on CPAN, and
there's
On Sep 5, 5:49 am, [EMAIL PROTECTED] (Frazzmata) wrote:
I have a machine in my office without internet access.
That doesn't mean you can't use ppm to install perl modules.
It just means you have to get the ppm packages onto this machine so
that you can do a local ppm install. The ppm packages
On Aug 30, 3:01 am, [EMAIL PROTECTED] (Patrick Dupre) wrote:
.
.
I do:
AV* av ;
then av = (AV*) svRV (retval) ;
Looks ok to me. Install Inline::C so that you can quickly and easily
test things out:
use warnings;
use strict;
use Inline C = Config =
On Aug 25, 10:08 pm, [EMAIL PROTECTED] (Patrick Dupre) wrote:
Hello,
I need to make a XPUSHs of a referene on an array, but XPUSHs takes only
scalar
I find no problem in XPUSHs'ing an AV on perl 5.10. Here's a simple
Inline::C demo:
--
use warnings;
On Aug 8, 8:52 am, [EMAIL PROTECTED] (Pablo Zea Aranibar) wrote:
.
.
If you can give some directions, just a path to follow, it would be
appreciated.
Usually, a module that uses a C library assumes that the C library has
already been built. And it links to that existing library. (This is
the
On Jul 25, 8:35 pm, [EMAIL PROTECTED] (Rajnikant)
wrote:
Hello All,
I'm trying to call C routine from Perl using XS but some how my 'make test'
is failing. Following are the steps I did :
file: hypotenuse.h
double hypotenuse(double x, double y); /* Func Declaration */
file:
On Jun 29, 1:18 am, [EMAIL PROTECTED] (Luca Villa) wrote:
I have a long text file like this:
324yellow
34house
black
54532
15m21red56
44dfdsf8sfd23
How can I obtain (Perl - Windows/commandline/singleline) the
following?
1) only the numbers at the beginning before some alpha text, like
On Jun 29, 1:18 am, [EMAIL PROTECTED] (Rob Dixon) wrote:
.
.
All of the keys of %ENV are capitalized for Windows as the environment
variable
names aren't case-sensitive.
However, I'm finding that system() honours case-preservation. From my
reply to the same thread in comp.lang.perl.misc:
On Jun 25, 11:20 am, [EMAIL PROTECTED] (Tim Bowden) wrote:
Hi,
I'm trying to isolate text in a string. My string is typically of the
form:
sometext[moretext,
I would like to isolate moretext.
I tried:
#!/usr/bin/perl -w
my $string = 'sometext[moretext,';
print $string;
my $snippet;
On Jun 20, 4:13 am, [EMAIL PROTECTED] (Xue Li) wrote:
Hello all,
I am trying to install SOAP::lite on my windows using
perl -MCPAN -e install SOAP::Lite
But it stuck at
t/SOAP/Transport/HTTP/CGI
I get the same (also on Win32).
By installing some 'print Got here\n;'
On Jun 15, 10:09 pm, [EMAIL PROTECTED] (William) wrote:
Hello, if I use the sprintf function it would give me a number STRING, but
not number, so I have to trick the string to become number by adding and
subtracting the number with 1. Is there a better way than this ? I want it to
be a
On Jun 10, 7:46 pm, [EMAIL PROTECTED] (Sivasakthi) wrote:
.
.
I need rpm or source of ByteLoder module
You'll find both ByteLoader.pm and ByteLoader.xs in the ext/ByteLoader
directory in the perl 5.8.8 source distribution.
Just copy those 2 files to some build location, create a Makefile.PL,
and
On May 30, 2:53 am, [EMAIL PROTECTED] (Rajnikant)
wrote:
.
.
I have configured Inline params link (LIBS,INC etc) and my perl script
compiles fine.
But when I call library function from perl script, it says 'Undefined
subroutine func_name'.
In addition to what Chas recommended, it's a good
On May 11, 3:09 pm, [EMAIL PROTECTED] (Johnson Lau) wrote:
Dear all,
I need to compare two binary numbers and need perl to return the
number of matching bits.
For example:
$aaa = 1000;
$bbb = 00101100;
In this case, the number of matching bits is 6.
use strict;
use warnings;
use
I did the following:
perl Makefile.PL PREFIX=/u/basappas/local/perl/Algorithm-Permute-0.06
That's probably where you've got the Algorithm-Permute source - I'm
not so sure it's a good idea to install the module into the source
folder, but if you want to do that then next run 'make test',
On Mar 25, 2:52 am, [EMAIL PROTECTED] (Sharan Basappa) wrote:
Hi,
I am trying to use permute call from the above module and I get the
following error.
I believe this is due to either missing lib or incorrect path setting.
Can you tell
me how to install this package quickly in my home path
On Feb 19, 11:45 pm, [EMAIL PROTECTED] (David Blundell)
wrote:
Hi All,
I am trying to build Encode-Detect (I am using Solaris Express 1/08,
Sunfreeware perl 5.8.8 and
Sunfreeware gcc 3.4.6).
When I run make I get the following error:
In file included from
On Jan 12, 6:06 am, [EMAIL PROTECTED] (Anjan Purkayastha)
wrote:
i too am having problems installing the Math::Complex module.
Math::Complex (and Math::Trig) has been part of core perl for quite
some time.
I would expect that you already have it.
Cheers,
Rob
--
To unsubscribe, e-mail: [EMAIL
On Oct 23, 1:15 am, [EMAIL PROTECTED] (Kilaru Rajeev) wrote:
Hi All,
I am getting the following error in the *make test* part while istalling the
*Crypt::DSA* module. Please give me an advice how to procede.
t/03-keygen.*Math::BigInt: couldn't load specified math lib(s), fallback
to
- Original Message -
From: sam joseph [EMAIL PROTECTED]
To: [EMAIL PROTECTED]; beginners@perl.org;
[EMAIL PROTECTED]
Sent: Monday, October 03, 2005 12:58 AM
Subject: Re: Urgent help in h2xs
Hi All
I appreciate your help
I have MSVC++ version 6.0
Ok - did you get it set up
73 matches
Mail list logo