Re: [OT cpan] How to paginate cpan output when inside cpan shell

2009-10-21 Thread Octavian Râsnita
From: "Harry Putnam" I'm sorry to bring this here.. I suppose there may be a more appropriate group... I don't know it if there it. When inside the cpan shell: How can I force the output of cpan cmds to run thru some kind of pager so that I can see page by page what the content is? Don't k

Re: Perl projects for beginners

2009-09-10 Thread Octavian Râsnita
From: "Gabor Szabo" To: "Octavian Râsnita" Cc: Sent: Thursday, September 10, 2009 8:59 PM Subject: Re: Perl projects for beginners On Thu, Sep 10, 2009 at 8:08 PM, Octavian Râsnita wrote: From: "Gabor Szabo" Could you please tell us what does PDK give

Re: Perl projects for beginners

2009-09-10 Thread Octavian Râsnita
From: "Gabor Szabo" Could you please tell us what does PDK give you? PDK doesn't extract the files with the perl source code and for most cases this protection is enough. It creates smaller files than PAR and it gives less errors. Octavian -- To unsubscribe, e-mail: beginners-unsubscr...@

Re: Perl projects for beginners

2009-09-08 Thread Octavian Râsnita
From: "Gabor Szabo" On Tue, Sep 8, 2009 at 10:24 AM, Octavian Râsnita wrote: From: "Gabor Szabo" As in many of the project the core developers are usually more Linux/OSX people and the beginners will tend to be more Windows people, one will have to go the extra miles

Re: Perl projects for beginners

2009-09-08 Thread Octavian Râsnita
From: "Gabor Szabo" As in many of the project the core developers are usually more Linux/OSX people and the beginners will tend to be more Windows people, one will have to go the extra miles and explain in terms that make sense on windows. If done correctly and documents are generated from these

Re: Need some advice on learning perl

2009-08-09 Thread Octavian Râsnita
Xu Peter wrote: I am a newbie of perl. I have got through some classic perl books, such as and , ... I want to get deeper in learning perl. You are probably interested in perl for some specific tasks, like creating web apps, or desktop aps with a GUI, or other things. Most features offered b

Re: misunderstanding

2009-07-19 Thread Octavian Râsnita
From: "Jim Gibson" PHP is just hiding the inaccuracies of representing decimal fractions using binary numbers, because the inaccuracy is insignificant in most applications. Well, if it wouldn't be significant, why would PHP hide that inaccuracy as a default? Why doesn't Perl do the same thin

Re: bug in perl

2009-07-18 Thread Octavian Râsnita
From: "Telemachus" On Fri Jul 17 2009 @ 3:18, Octavian Rasnita wrote: From: "Shawn H. Corey" Octavian Rasnita wrote: Well, in PHP that calculation is made well, so I think there is a bug in perl. No, it's not. PHP rounds off the number before printing. In Perl: printf "%.2f", $x; or

Re: What's up with NNTP?

2009-03-14 Thread Octavian Râsnita
From: "Randal L. Schwartz" "Gunnar" == Gunnar Hjalmarsson writes: Gunnar> The NNTP interface to this list (and possibly other @perl.org lists) seems not Gunnar> to work any longer. Does anybody know what the problem is? Is it a temporary Gunnar> thing, or has the service been permanently d

Re: Stopping variable interpolation/evaluation

2009-03-01 Thread Octavian Râsnita
From: Hi, I have a line read in perl from a file that itself is a source code for languages like c/sv etc. The variable containing this line contains special characters like %d. When i print this line to another file, the %d is evaluated and a 0 is getting printed. How do i overcome this and te

Re: Is there any function like perlinfo()

2009-03-01 Thread Octavian Râsnita
From: "prasath_linux" Hi, I need to find the location of perl.ini configuration file, is there any function like perlinfo() to find. Eg. phpinfo() is the function which can used to display all the configuration settings in php. Likewise any function to display the configuration function

Re: Is there function to separate print associative array

2009-03-01 Thread Octavian Râsnita
From: "prasath_linux" Hi, Is there any possible function to print the associative array. We have print_r() function in PHP to display the associative array. Likwise is there any function in perl to print associative array. Thanks in advance. You can use: use Data::Dump qw(pp); my %hash

Re: Sending email w/Mail::Builder::Simple -- need help

2009-02-25 Thread Octavian Râsnita
From: "Gunnar Hjalmarsson" I have tried to use the same code but I've changed the charset to UTF-8 (also tried utf8) and the subject to: subject => 'Östra Vägen astâîASTÂÎ', If you change the charset to UTF-8, you'd better also pass UTF-8 encoded strings to the module. That's not a UTF-8

Re: Sending email w/Mail::Builder::Simple -- need help

2009-02-24 Thread Octavian Râsnita
From: "Dennis G. Wicks" [Cleaned out previous stuff] Greetings; Well, I tried to attach the port to the server address, Host => 'smtpout.secureserver.net:3535', but that doesn't work either. Maybe there is something else setup wrong that I'm not seeing. I see the word "secure" in the

Re: Sending email w/Mail::Builder::Simple -- need help

2009-02-24 Thread Octavian Râsnita
From: "Gunnar Hjalmarsson" Well, if I understand it correctly, Mail::Builder::Simple *enforces* the use of UTF-8, which is something I don't like. Well, I like that, because it is more simple to send special chars from more languages, but without needing to know nor to specify the charset exp

Re: Sending email w/Mail::Builder::Simple -- need help

2009-02-24 Thread Octavian Râsnita
From: "Gunnar Hjalmarsson" however until that new module will be ready... I need to use Email::Send, because it allows sending in many ways, using SMTP, Sendmail, Qmail, Google and a few others. Why is it important to have a mail sending module hunt for various mailer programs? It is impor

Re: Sending email w/Mail::Builder::Simple -- need help

2009-02-24 Thread Octavian Râsnita
From: "Dennis G. Wicks" But I think I have discovered the problem. The SMTP server requires a non-standard port. I have searched the doc and I don't find anything that tells me how to pass a port # to the module. Anybody know how to do that? (BTW: Everything else is set up exactly as in Tbird.

Re: Sending email w/Mail::Builder::Simple -- need help

2009-02-24 Thread Octavian Râsnita
From: "Gunnar Hjalmarsson" Octavian Râsnita wrote: From: "Dennis G. Wicks" > Greetings; Lacking any problems with the code, does anybody have any ideas about what may be stopping this from working? The code looks fine. There could be the following problems: - If y

Re: Sending email w/Mail::Builder::Simple -- need help

2009-02-24 Thread Octavian Râsnita
From: "Dennis G. Wicks" > Greetings; #!/usr/bin/perl use strict; use warnings; use Mail::Builder::Simple; my $mail = Mail::Builder::Simple->new; # Send the email with an SMTP server: $mail->send( mail_client => { mailer => 'SMTP', mailer_args => [ Host => '

Re: Looking for mailer program

2009-02-22 Thread Octavian Râsnita
From: "Dennis G. Wicks" Greetings; I have a couple of directories full of tips, photos, quotes, etc. that I want to send to a yahoo group that I have. What I want to do is compose the email, pick an item or two from the directory, put it in the email & move it/them to a "used" directory and

Re: free perl editor wanted

2009-02-18 Thread Octavian Râsnita
From: "Alexander Koenig" David Shere wrote on 02/18/2009 02:26 PM: If you want an editor that will also allow you to put in breakpoints, and step through code line by line while examining variables, you could use Komodo. I haven't used it for a while but it was a very nice tool when I was firs

Re: perl deprecated functions and alike

2009-02-15 Thread Octavian Râsnita
From: "Telemachus" On Sun Feb 15 2009 @ 9:45, Octavian Râsnita wrote: From: "John W. Krahn" Kevin wrote: Could someone please direct me to some web pages where I can go through all deprecated perl functions and/or ways of writing perl script? It is not easy for me to f

Re: perl deprecated functions and alike

2009-02-14 Thread Octavian Râsnita
From: "John W. Krahn" Kevin wrote: Could someone please direct me to some web pages where I can go through all deprecated perl functions and/or ways of writing perl script? It is not easy for me to figure out whether an on-line example is deprecated or not. I once saw: @files = <$path_to_