Saving data to %session with Apache::Session::File

2010-03-30 Thread Fabian Gut
Hi I'm using Apache::Session::File for session management. I have a hash in $session{'config'} that saves some config values. I have a script that should change these config values: foreach ( sort keys %newconfig ) { $session{'config'}{$_} = $newconfig{$_}; } this works perfectly for

Re: Saving data to %session with Apache::Session::File

2010-03-30 Thread Brian J. Miller
Fabian Gut wrote: Hi I'm using Apache::Session::File for session management. I have a hash in $session{'config'} that saves some config values. I have a script that should change these config values: foreach ( sort keys %newconfig ) { $session{'config'}{$_} = $newconfig{$_}; } this

How to process with Active Directory in windows from perl

2010-03-30 Thread xufengnju
Hi All, I want to use Active Directory in Windows to authenticate my users from perl in Linux servers. Is there some way to do it? -- xufengnju 2010-03-30 -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail:

error while installing win32::Registry module

2010-03-30 Thread Jyoti
Dear All, I was trying to run my script getip.pl . But when i run this script it gives following error C:\strawberry\perl\Testperl GETIP.pl Can't locate Win32/Registry.pm in @INC (@INC contains: C:/strawberry/perl/lib C: /strawberry/perl/site/lib C:\strawberry\perl\vendor\lib .) at GETIP.pl line

Re: Where is the error

2010-03-30 Thread Shlomi Fish
Hi Harry, On Tuesday 30 Mar 2010 05:36:09 Uri Guttman wrote: HP == Harry Putnam rea...@newsguy.com writes: HP Uri Guttman u...@stemsystems.com writes: HP == Harry Putnam rea...@newsguy.com writes: HP About that module Mail::Mailer. I still have lots of trouble reading HP code or

Re: error while installing win32::Registry module

2010-03-30 Thread Shlomi Fish
Hi Jyoti, On Tuesday 30 Mar 2010 09:50:39 Jyoti wrote: Dear All, I was trying to run my script getip.pl . But when i run this script it gives following error C:\strawberry\perl\Testperl GETIP.pl Can't locate Win32/Registry.pm in @INC (@INC contains: C:/strawberry/perl/lib C:

First LWP::UserAgent and HTML::Form app.

2010-03-30 Thread Gary Stainburn
Hi folks, I'm trying to write my first proper app using the above modules but following the perldocs/cookbooks I've come to a quick dead stop. According to the perldoc $form-click should generate an object I can pass straight to $ua-post, but when I try that I get the following: Code snippet:

Re: error while installing win32::Registry module

2010-03-30 Thread Shlomi Fish
Hi Jyoti! Next time, please hit reply-to-all. You've sent a reply only to me. I'm CCing the list. On Tuesday 30 Mar 2010 11:42:30 Jyoti wrote: hello shlomi, yes...but i'm not able to run script in which I use win32::Registry. Well, as opposed to some languages (BASIC/VB-Classic, Fortran,

Re: How to process with Active Directory in windows from perl

2010-03-30 Thread Shlomi Fish
Hi xufengnju, On Tuesday 30 Mar 2010 09:39:42 xufengnju wrote: Hi All, I want to use Active Directory in Windows to authenticate my users from perl in Linux servers. Is there some way to do it? I don't understand. Where are the users' credentials stored? Where do you need to authenticate

Solved: First LWP::UserAgent and HTML::Form app.

2010-03-30 Thread Gary Stainburn
Sod's law folks. Posted the question then reviewed what I'd done and found the problem. Mixing three examples gave me the wrong code. Lifted the line straight from the HTML::Form perldoc and it worked. $req=$ua-request($form-click); Gary On Tuesday 30 March 2010 09:41:54 Gary Stainburn

Re: error while installing win32::Registry module

2010-03-30 Thread Sisyphus
- 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

Re: $_ substitution Question

2010-03-30 Thread Shlomi Fish
Hi Sarath, I'm CCing to the list. On Monday 29 Mar 2010 08:55:55 KKde wrote: HI Shlomi, system(/usr/bin/find \$_\ -mtime 3 -print -exec ls '{}' \;); I got confused. Can you plz explain me why $_ is surrounded by another double quotes? Why it isn't interpolated in the outer double

Compress a PNG File using PerlMagick

2010-03-30 Thread Christoph Friedrich
Hello there, I currently try to write an image to a png file with compression. But it seems not to compress the image after all. The original filesize of the image is 132,2 kb and when I try to save it as a png file its filesize grows to 512,5 kb. I use the following statement to save the

XS and link

2010-03-30 Thread Patrick Dupre
Hello, I have a perl application calling c soubroutines. I use XS and makemaker to compile the code. Every thing OK. Now, let say that I have 2 c libraries (dynamics) created by XS and the makemaker, and I would like that one of the 2 c subroutines calls one of the subroubtine of the other

Hi all!

2010-03-30 Thread chew23
Hi all guys, I'm new to PERL, I'm now to the list. This is just for a presentation... See you soon. chew23 -- go ahead... be a heretic! -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/

Re: Hi all!

2010-03-30 Thread Shlomi Fish
On Tuesday 30 Mar 2010 13:38:12 chew23 wrote: Hi all guys, I'm new to PERL, I'm now to the list. This is just for a presentation... Hi chew23! Welcome to the Perl world , Perl community and this list. You can find many resources and links to resources for Perl beginners on the Perl

Get result of a https page with SSL after login.

2010-03-30 Thread chew23
Hi all, just my first technical post on this list. To automate my work i have to get a html page by my company site after a login in an secure area. After a long googling job, I decided to use WWW:Selenium to do this. It seems to be bugged and i would ask to you if there is e clear method to

RE: Get result of a https page with SSL after login.

2010-03-30 Thread Bob McConnell
From: chew23 To automate my work i have to get a html page by my company site after a login in an secure area. After a long googling job, I decided to use WWW:Selenium to do this. It seems to be bugged and i would ask to you if there is e clear method to do this. I believe the first step

Re: Hi all!

2010-03-30 Thread chew23
Welcome to the Perl world , Perl community and this list. You can find many resources and links to resources for Perl beginners on the Perl Beginners' Site: http://perl-begin.org/ Many thanks for this! I hope you're going to like Perl 5 and will use it for years to come. [P6] Just a note

Re: Hi all!

2010-03-30 Thread Shawn H Corey
On Tue, 30 Mar 2010 18:20:02 +0200 chew23 johnvoo...@hotmail.it wrote: I hope you're going to like Perl 5 and will use it for years to come. [P6] Just a note - it's either Perl or perl but never PERL: http://perl.org.il/misc.html#pl_vs_pl I apologize to the list, but I was not aware

Re: Hi all!

2010-03-30 Thread Shlomi Fish
On Tuesday 30 Mar 2010 20:02:54 Shawn H Corey wrote: On Tue, 30 Mar 2010 18:20:02 +0200 chew23 johnvoo...@hotmail.it wrote: I hope you're going to like Perl 5 and will use it for years to come. [P6] Just a note - it's either Perl or perl but never PERL:

Perl appears to be introducing whitespace when reading .txt files

2010-03-30 Thread Doug Cacialli
I'm completely baffled by this and not entirely sure where to start. I have a plain text file, testfile.txt, which contains a single line: Very truly yours, It is written exactly how you see it above, with a newline at the end. I'm trying to write a script that will determine the number of

Syntax of Foreach loop

2010-03-30 Thread Jon Forsyth
I am truly a beginner. Could someone help me understand this syntax out of a code example from Learning Perl? On line 5 I'm confused as to why my $number is between foreach and the ()? is my $number part of the loop? sub running_sum { state $sum = 0; state @numbers; foreach my $number