Well, per the INSTALL.txt in this module:
Prerequisites:
--
Perl version 5.000 or higher, and an ANSI C compiler. (!)
^^
If you plan to use the modules "Date::Calendar" or
"Date::Calendar::Year" from this package, you will
also need the module
On Fri, Jun 20, 2003 at 01:16:51PM -0700 Rob Richardson wrote:
> Greetings!
Hi there,
> I think something is corrupted. I am suddently getting error messages
> saying that the undefined subroutine longmess_heavy is used in file
> carp.pm. My search path seems to have gotten screwed up. Any
> s
perl_beginner wrote:
> While the code works fine with Linux, crumbles on XP saying "Can't find
> string terminator "EOM" anywhere before EOF at recordProxy.pl line 317".
> Line 317 in my code is: $response= <<"EOM";
>
To start with, you should lose the quotes around EOM in the opening of the
str
[EMAIL PROTECTED] wrote:
> This works but does anyone have any ideas on the previous question?
> while( )
>{
>$line=$_;
>chomp($line);
>@list=split(/:/,$line);
>$account_key=$list[0];
>$account=join ":",@list;
>$record{$account_key}=$acc
My O.S. is w2k and I put the argument 'C:\\' to run; then a message is
displayed:
C:\Documents and Settings\Administrador\Desktop>perl filefind.pl
Can't opendir(c:\/System Volume Information): Invalid argument
at filefind.pl line 7
Why and how to by pass this situation?
Other thing
Josimar Nunes de Oliveira <[EMAIL PROTECTED]> wrote:
: use File::stat;
:
: listfiles( 'C:' );
:
: #
: for($i=0;$i<$count;$i++){
: print "\n", $allfiles[$i][0], ' => ', $allfiles[$i][1];
: }
: #
:
: sub listfiles{
: my $folder = shift;
: $folder .= '\\';
: opendir ( my $media, $folder );
: m
Eric Walker wrote:
> I have a check I am doing with a hash.
>
> if (exists $deref{$drcrule})
>
>
> This check fails as if the keyvalue is a part of the hash, but when I
> print out the keys like this
> foreach my $item (%{$deref}){
> print "$item\n";
> }
>
> And it is not in the list. I ran
HI Janek,
This doesnt seem to work on my Active perl 5.8.
Mark G
- Original Message -
From: "Janek Schleicher" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, June 20, 2003 3:28 PM
Subject: Re: perldoc - html format ?
> Jeff Westman wrote at Fri, 20 Jun 2003 11:33:59 -0700:
>
Jeff Westman wrote at Fri, 20 Jun 2003 11:33:59 -0700:
> Is it possible to reformat a perldoc in HTML format?
> I don't see this as an option to 'perldoc'.
From
perldoc perldoc
-o output-formatname
This specifies that you want Perldoc to try using a
Pod-formatting c
Anand Babu wrote at Fri, 20 Jun 2003 12:32:22 -0700:
> Warning: prerequisite Bit::Vector failed to load: Can't locate Bit/Vector.pm in
Seeing this warning I would recommend you also to install the module
Bit::Vector
Greetings,
Janek
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
Somewhere in the "perldoc -f exists" i read:
Although the deepest nested array or hash will not
spring into existence just because its existence was
tested, any intervening ones will. Thus
I have a check I am doing with a hash.
if (exists $deref{$drcrule})
This check fails as if the keyvalue is a part of the hash, but when I
print out the keys like this
foreach my $item (%{$deref}){
print "$item\n";
}
And it is not in the list. I ran this on a previous data that had this
in
Greetings!
I think something is corrupted. I am suddently getting error messages
saying that the undefined subroutine longmess_heavy is used in file
carp.pm. My search path seems to have gotten screwed up. Any
suggestions on how to fix it?
Thanks very much!
Rob
__
I downloaded the Date::Calc perl module from cpan web site. The version is
Date-Calc-5.3.tar.gz.
I am having problems with making this module. I am using Cygwin and this application
also contains a gcc compiler as well. I am using make from the bundle that came with
Cygwin.
Here is what I get
O BoY, These are deffinitly Camel girls
Mark
- Original Message -
From: "zentara" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, June 20, 2003 3:08 PM
Subject: Re: Can LWP::Simple tranfer image urls?
> On Fri, 20 Jun 2003 09:09:21 EDT, [EMAIL PROTECTED] wrote:
>
> >Do I
On Fri, 20 Jun 2003 09:09:21 EDT, [EMAIL PROTECTED] wrote:
>Do I need to change the http header for transfering image urls? I get errors
>when I transfer a jpg:
>picture cannot be displayed because it contains errors.
It works well for me on linux.
This is one of my favorite scripts by Merlyn.
I have put together a script using the Perl Expect module to log into multiple hosts
and execute a list of commands. I would like to be able to capture the output from
each host and pattern match against it. The script (login and and issue commands)
works fine, but I need some help on the captur
> > (at
> > least I think so) locations in the file, a random tip is displayed. Once
> > it
> > is, it has to be marked as used. Currently, I'm doing this:
> >
> > # Tip is done; remove it
> > $tips[$tip_num] = $tips[$num_tips - 1];
> > undef $tips[$num_tips - 1];
> >
> my $random_key = ( keys %tips )[ rand keys %tips ];
> Can anyone parse this line for me?
Picking up a random key from the keys of a hash.
see perldoc -f rand
>>One more thing - I don't seem to have perldoc installed, I simply look up
>>the functions in the info node `perlfunc'. Am I missing
just yesterday i used:
pod2html.
Seems to work good.
-Sharad
-Original Message-
From: Jeff Westman [mailto:[EMAIL PROTECTED]
Sent: Friday, June 20, 2003 11:34 AM
To: beginners
Subject: perldoc - html format ?
Hi,
Is it possible to reformat a perldoc in HTML format?
I don't see this a
Hi,
Is it possible to reformat a perldoc in HTML format?
I don't see this as an option to 'perldoc'.
Thanks
Jeff
__
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional command
> Well you could actually put them in a hash with a number as the key and
> the tip as th evalue then undefine the value of a key once it's used.
Won't that be an unnecesary waste of memory and clock cycles? How efficient
are the Perl hashing routines anyway?
> my $random_key = ( keys %tips )[ r
Hello,
I'm troubleshooting a control panel product called Vishwakarma. One of
the use statements is...
use Net::LDAP qw(:all) ;
...which looks ok to me. However, I'm getting the following error...
LDAP.pm: ":all" is not exported by the Net::LDAP::Constant module
This error isn't too explanato
I'm still working on the well-name matching program that I've brought up
here before. I've received invaluable help to solve the toughest questions
in its development, for which I'm very grateful.
Now I'm trying to automate some steps which were previously manual in the
process, to make it more e
Ahh...that's it! I didn't realize that. Now it makes sense! Thanks for clearing
this up! Any other advice on getting through this book? Thanks again!
-Original Message-
From: Jeff 'japhy' Pinyan [mailto:[EMAIL PROTECTED]
Sent: Frid
Anthony Beaman wrote:
>
> But what's the "-1" for? Why not just "$b[$a]" instead? That's what I'm confused
> about.
Suppose that you want the first line so you enter "1". Because indexing
starts at zero using $b[$a] will print out the second line. If you
enter "4" for the fourth line $b[$a] wi
On Jun 20, Anthony Beaman said:
>But what's the "-1" for? Why not just "$b[$a]" instead? That's what I'm
>confused about.
Arrays start at 0. Thus, the first element of an array is $array[0].
Line numbers (as far as human think of them) start at 1. The first line
is considered line 1. Therefor
> On Fri, Jun 20, 2003 at 02:44:43PM BRT , John W. Krahn wrote:
|
|This will work:
|
|# have to declare @fields here so format can see it.
|my @fields;
|
|format STDOUT =
|@ @#.## @#.## @#.##
|@fields
|.
|
|while ( ) {
|# get the fields
Ataualpa Albert Carmo Braga wrote:
>
> Hi,
Hello,
> this is my first message to list, than sorry for so basic question e
> for so bad english. I will try improve both.
>
> I did a small script with perl and I'd like to format the output:
>
> C -3.7975162.078833-0.
According to the Perl Programming book, the $? is the status word returned by the
wait(2) system call so the exit
value of the subprocess is actually ($? >> 8). The >> operator is a binary shift
right, where the left argument is
shifted right the number of bits of the right argument.
Hope this h
But what's the "-1" for? Why not just "$b[$a]" instead? That's what I'm confused
about.
-Original Message-
From: Jenda Krynicky [mailto:[EMAIL PROTECTED]
Sent: Friday, June 20, 2003 12:19 PM
To: [EMAIL PROTECTED]
Jenda Krynicky said:
> From: "Paul Johnson" <[EMAIL PROTECTED]>
>> AustinTanney said:
>>
>> > I'm a total novice and just teaching myself perl. I'm going thru the
>> > "beginning perl" book. One thing about it is that it recommends
>> > using the extension *.plx rather than *.pl. I am using active
From: "Anthony Beaman" <[EMAIL PROTECTED]>
> 2. Write a program that reads a number and then a list of strings (all
> on separate lines), and then prints one of the lines from the list as
> selected by the number.
>
> One way to do this is:
> print "Enter the line number: "; chomp($a = );
> print
From: "Paul Johnson" <[EMAIL PROTECTED]>
> AustinTanney said:
>
> > I'm a total novice and just teaching myself perl. I'm going thru the
> > "beginning perl" book. One thing about it is that it recommends
> > using the extension *.plx rather than *.pl. I am using active state
> > 5.8 and it doesnt
On Thu, 19 Jun 2003 23:24:04 +0200, [EMAIL PROTECTED]
(Tassilo Von Parseval) wrote:
>And finally the same in XS. It's not the slightest bit harder than with
>Inline::C. The only difference with the XS code below is that I changed
>the return values in that the functions now return false when somet
Already discussed in previuos mails.
Google the archive at
http://groups.google.com/advanced_group_search?group=perl.beginners
Search word plx for instance.
Result is
http://groups.google.com/groups?as_q=plx&safe=images&ie=UTF-8&oe=UTF-8&as_ugroup=perl.beginners&lr=&hl=en
This one is interesting
- Original Message -
From: "AustinTanney" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, June 20, 2003 4:43 AM
Subject: Probably a stupid question
Hi folks,
I'm a total novice and just teaching myself perl. I'm going thru the
"beginning perl" book. One thing about it is that
Hi! Arrays are confusing me and I don't know why. I feel that I understand it but the
test questions in Learning Perl for Win32 is tripping me up. For example, here's #2
below with the answer and explanation:
2. Write a program that reads a number and then a list of strings (all on separate
lin
AustinTanney said:
> I'm a total novice and just teaching myself perl. I'm going thru the
> "beginning perl" book. One thing about it is that it recommends using the
> extension *.plx rather than *.pl. I am using active state 5.8 and it
> doesnt seem to recognise the extension. Now realistically
Hi everybody,
How to sort the array of two columns by the first?
Would anybody enhance this code? Any sugestion?
Thanks,
Josimar
use File::stat;
listfiles( 'C:' );
#
for($i=0;$i<$count;$i++){
print "\n", $allfiles[$i][0], ' => ', $allfiles[$i][1];
}
#
sub listfiles{
my $folder = shift;
$fo
Yeah that is the book I am using and it is that which recommend using the plx extension
Austin
- Original Message -
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, June 20, 2003 3:47 PM
Subject: Re: Probably a stupid question
Here is the e-book on the web.
ht
Hi folks,
I'm a total novice and just teaching myself perl. I'm going thru the "beginning perl"
book. One thing about it is that it recommends using the extension *.plx rather than
*.pl. I am using active state 5.8 and it doesnt seem to recognise the extension. Now
realistically this doesnt mat
In article <[EMAIL PROTECTED]>,
[EMAIL PROTECTED] (Jeff Westman) writes:
>Peter-
>
>When I tried the 'y' command I got:
>
>DB<3> y @a
>adWalker module not found - please install
>
>
>What's that about?!
There's a letter missing; it should have said
PadWalker module not found - please in
No worries ;) I'll just install it and to hell with
windows :)
__
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
- Original Message -
From: "Paul Kraus" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, June 19, 2003 10:20 AM
Subject: Getopt::Simple
> What does env, and order do when using this module?
well who knows what it does, since you only send in a hash declaring it.
if -- is pass
I want to install mason on my xp pro laptop as a development machine.
I am using activestates perl 5.8
All I can find for 5.8 is mod_perl 2 for apache 2 which I have read is
still in development and mason is not supported on apache 2 or with
mod_perl 2.
How should I install?
I have tried to us
Do I need to change the http header for transfering image urls? I get errors
when I transfer a jpg:
picture cannot be displayed because it contains errors.
I just started using Mail::Mailer--in testing what happens to misaddressed,
inactive or otherwise unaddressable mail, the program doesn't seem to know
about this type of error---the mailer seems to be fine just sending a
properly formatted message and only complains if the smtp server is not
access
Yes. But you can code a more customized interface
using XS or Inline::C.
Aloha => Beau;
- Original Message -
From: "NYIMI Jose (BMB)" <[EMAIL PROTECTED]>
To: "Beau E. Cox" <[EMAIL PROTECTED]>; "Jenda Krynicky" <[EMAIL PROTECTED]>;
<[EMAIL PROTECTED]>
Sent: Friday, June 20, 2003 1:27 AM
S
Beau,
Wouldn't Win32::API be much easier to use than Inline::C ?
José.
-Original Message-
From: Beau E. Cox [mailto:[EMAIL PROTECTED]
Sent: Friday, June 20, 2003 1:14 PM
To: Jenda Krynicky; [EMAIL PROTECTED]
Subject: Re: Accessing C/C++ Dlls using perl
- Original Message -
F
- Original Message -
From: "Jenda Krynicky" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, June 20, 2003 12:35 AM
Subject: Re: Accessing C/C++ Dlls using perl
> From: Ben Crane <[EMAIL PROTECTED]>
> > I'm almost exclusively going to go with inline::c
> > since it adds the pow
Abhijit,
http://www.perldoc.com/
As an experienced programmer, you will already
know what you want to do most of the time. You
might want to look at the Perl Functions by Category
section of perlfunc. Perldoc.com allows you to
search for this file by version.
Perl version 5.8.0:
ht
From: Ben Crane <[EMAIL PROTECTED]>
> I'm almost exclusively going to go with inline::c
> since it adds the power of c and perl together (just
> the combination I need!) :)
>
> Problem is, getting the inline.pm module to work. I
> don't have nmake and have never needed it. I've always
> put the mo
- Original Message -
From: "Ben Crane" <[EMAIL PROTECTED]>
To: "zentara" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Thursday, June 19, 2003 10:43 PM
Subject: Re: Accessing C/C++ Dlls using perl
> zentara,
>
> I'm almost exclusively going to go with inline::c
> since it adds the
Hi kenneth,
you may try win32::AdminMisc ! It has a module logon where you can specify
uid/passwd. Then you will have the users mappings.
Being myself a perl beginner, I encountered problems to run it.
Possibly you do better and succeed in installing it?
Best regards
Manfred Beilfuss
Hi kenneth,
you may try win32::AdminMisc ( from which has a module logon
Mit freundlichen Grüßen
Manfred Beilfuss
Deutsche Vermögensberatung AG
IT-Systemmanagement / DBA
Münchener Straße 1
60329 Frankfurt
Tel.: +49 (69) 2384 - 639
Mailto:[EMAIL PROTECTED]
Intern bitte Notes-Kürzel
Hi,
The following line gives me an "Internal Server Error":
use MD5;
I also tried:
use Digest::MD5;
with the same result.
When I check the syntax locally through perl -c filename everything is ok.
File is properly uploaded, etc.. basically it works without that line.
thanks for suggestions
Ataualpa Albert Carmo Braga wrote at Fri, 20 Jun 2003 02:28:11 -0300:
> I did a small script with perl and I'd like to format the output:
>
> C -3.7975162.078833-0.795507
> C 4.0463240.905644-0.106181
> C 4.0372860.8874121.283492
>
Abhijit Shylanath said:
> Greets, all. This is my first post here... I'm a seasoned C/C++
> programmer,
> and recently started learning perl... it's going along well, and as an
> exercise, I've completely Perl'ed my webpage. I'm still a little dizzy
> because of the different directions it's pull
zentara,
I'm almost exclusively going to go with inline::c
since it adds the power of c and perl together (just
the combination I need!) :)
Problem is, getting the inline.pm module to work. I
don't have nmake and have never needed it. I've always
put the modules into the correct dir structure und
Hi,
disregards
I see what you mean now.
Anthony
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hi,
What has changed? from both sets?
to me they are identical
Anthony
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
62 matches
Mail list logo