Re: Customizing vi/vim for Perl

2011-11-18 Thread Juan Luis Aranda
2011/11/18 Parag Kalra : > Hi, > > I generally use vi/vim for my day to day Perl scripts. > > What are different packages I can use to make vi/vim extensively customized > for Perl.  For example -  it should be able inform me about the known > syntax errors like - variables not declared, missing br

Re: perl interview questions

2011-04-21 Thread Luis Roca
ers -should- be asking candidates to have. It's worth a look: http://www.modernperlbooks.com/mt/2011/01/how-to-identify-a-good-perl-programmer.html Again, if you provided some more information about the position (the company's job description) I'm sure people can give you more spe

Re: Nature of this list

2011-04-20 Thread Luis Roca
her forums/lists to get that kind of — 'training' — but the people like me that come here are a long way from being called advanced. Luis -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/

Re: beginners Digest 28 Dec 2010 00:58:06 -0000 Issue 4069

2010-12-29 Thread Luis Roca
:: What are some of the best books for newbies to perl? I’ve been learning Perl now for a year and have already amassed quite a collection of books. Before putting money down on any of them I would suggest reading the Perl introduction that comes with your computer’s installation of Perl.

SSL decrypt

2009-04-14 Thread Luis Daniel Lucio Quiroz
Hi Camels, I wonder to know if there is a perl module that let me to decrypt ssl traffic (if I have already private key), like ssldump or tshark does. Best regards, LD -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://lea

Re: Please explain @{$y}

2008-01-23 Thread Juan Luis Belmonte
Chas. Owens wrote: > On Jan 22, 2008 8:45 PM, bootleg86 bootleg86 <[EMAIL PROTECTED]> wrote: I came across this construct foreach $i ( @{$y} ) { #do something } Is @ referring to some default array that doesn't need to be declared? Also it's using the associative version of an array? I al

Re: LWP debug

2006-05-03 Thread luis
Peter Scott wrote: On Tue, 02 May 2006 13:06:56 +0200, luis wrote: the following code is part of a bigger script. I would like to know if there is a way to print out or store into a file all the messages that my script sends to the server, I mean, the full header and data parts sent to the

LWP debug

2006-05-02 Thread luis
uest($request); my $content = $response->content(); if (!$content) { print "Connection to $remote_host failed\n"; } else { print $content; } -- Storing into a file is preferred over printing out to sc

LWP debug

2006-05-02 Thread luis
uest($request); my $content = $response->content(); if (!$content) { print "Connection to $remote_host failed\n"; } else { print $content; } -- Storing into a file is preferred over printing out to screen. Th

Statistics::R

2005-03-27 Thread Luis N
What do you suppose this could be about? This is perl, v5.8.5 built for i386-freebsd-64int main::(-e:1): 42 DB<1> use Statistics::R ; DB<2> $R->startR ; Can't call method "startR" on an undefined value at (eval 10)[/usr/local/lib/perl5/5.8.5/perl5db.pl:620] line 2. -- To unsubscribe, e-m

Re: LM an NT hashes

2004-09-23 Thread Luis Daniel Lucio Quiroz
I has my self, I found Crypt-Smb moduloe por perl, for those that use MDK I buid the SRPM at http://www.linuxchange.com/download/Mandrake%20Official%2010/samba/Perl-Crypt-Smb-0.02-1mdk.src.rpm CU LD Le jeudi 23 Septembre 2004 20:15, Luis Daniel Lucio Quiroz a écrit : > I wonder if some

LM an NT hashes

2004-09-23 Thread Luis Daniel Lucio Quiroz
I wonder if someone has perl functions to make LM and NT hashes that samba uses. Best regards, LD -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: COMPLEX ARRAY STRUCTURE

2004-08-12 Thread Luis Daniel Lucio Quiroz
Thks, Your first solution help me, I do a hash from anonymous array, then I modified and return to a anonymous array and ldapadd works well. thsks. LD El Mar 10 Ago 2004 07:12, Ramprasad A Padmanabhan escribió: > Luis Daniel Lucio Quiroz wrote: > >You are wrong, > > >

Re: COMPLEX ARRAY STRUCTURE

2004-08-09 Thread Luis Daniel Lucio Quiroz
on user commands :-P LD El Lun 09 Ago 2004 10:35, Chris Devers escribió: > On Mon, 9 Aug 2004, Luis Daniel Lucio Quiroz wrote: > > Yes I do, I need array not to be hard-coded > > So don't hard-code it then. > > Just modify the update command the library provides so that

Re: COMPLEX ARRAY STRUCTURE

2004-08-09 Thread Luis Daniel Lucio Quiroz
Yes I do, I need array not to be hard-coded El Lun 09 Ago 2004 10:05, Chris Devers escribió: > On Mon, 9 Aug 2004, Luis Daniel Lucio Quiroz wrote: > > And Ramprasad is write, it's a LDAP-Perl scructure. I need to > > construct this structure on fly when executin a script.

Re: COMPLEX ARRAY STRUCTURE

2004-08-09 Thread Luis Daniel Lucio Quiroz
;person', >'organizationalPerson', > 'inetOrgPerson' ], > }; > > print $a->{objectclass}->[3]."\n"; #inetOrgPerson > print $a->{sn}."\n"; #Jensen > >

COMPLEX ARRAY STRUCTURE

2004-08-09 Thread Luis Daniel Lucio Quiroz
Hi, $a = [ 'cn' => ['Barbara Jensen', 'Barbs Jensen'], 'sn' => 'Jensen', 'mail' => '[EMAIL PROTECTED]', 'objectclass' => ['top', 'person', 'organizationalPerson', 'inetOrgPerson' ],

symbolic references in perl module help

2004-07-16 Thread Luis Pachas
Hi I have a problem, I have a PM i have this A.pm : package A; my %b; $b = { apple => \&foo1, oranges => \&foo2, open => \&foo3 }; sub foo1 { print "apples\n" } sub foo2 { print "oranges\n" } sub foo3 { my ($item) = @_; print $item."\n" } 1; ## End Module MAIN : !#/bin/perl lib "$E

Re: "Hash as object attribute"-Problem with "use strict"

2004-07-08 Thread Luis
Oh no, what a simple mistake. :) I thank you so much! Best regards Luis Jeff 'Japhy' Pinyan schrieb: On Jul 7, Luis said: "Can't use string ("1") as a HASH ref while "strict refs" in use at TestObject.pm line 21." sub insertFriends { my $self

Re: "Hash as object attribute"-Problem with "use strict"

2004-07-07 Thread Luis
explain the problem with the hash. Thanks in advance Luis Luis schrieb: Hi, I have a problem. The following code results a "Can't use string ("1") as a HASH ref while "strict refs" in use at TestObject.pm line 21." Error if I include the "use strict&quo

"Hash as object attribute"-Problem with "use strict"

2004-07-07 Thread Luis
"; $self->{friends}->{'Andi'} = "Birte"; $self->{friends}->{'Philipp'} = "Susi"; $self->{friends}->{'Markus'} = ""; } ## Now the main-program (TestTestObject.

Re: [SLE] Project Management

2003-04-02 Thread Luis Angel Fernández Cuadrado
urn up tons of stuff on all the different Linux projects. > > Thanks > Paul Kraus You cou try leo. It's a Python program. A bit difficult to grasp at the beggining but VERY effective. Find more about it at http://personalpages.tds.net/~edream/front.html Good Luck. -- Dr. L

Re: Using Print -strange behavior

2003-03-24 Thread Jose Luis Martinez
Hello Ovid This is the code that I am trying to run #!/usr/bin/perl my $a="Hello World"; print $a; Thanks, JL "Ovid" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > --- Jose Luis Martinez <[EMAIL PROTECTED]> wrote: > > Hello All >

Using Print -strange behavior

2003-03-22 Thread Jose Luis Martinez
Hello All I installed Linux 8.0(kernel 2.4.18-14) and Perl V5.8.0 and when I try to run a Perl program with the line print "Hello World" it does not work, just perl executed it without an error. I checked it the script using perl -c script_name and it return OK Thanks -- To unsubscribe, e-

Re: Error with perl compilation of GD

2002-05-30 Thread Luis Valencia
r 1 What can it be now? - Original Message - From: "drieux" <[EMAIL PROTECTED]> To: "Luis Valencia" <[EMAIL PROTECTED]> Cc: "begin begin" <[EMAIL PROTECTED]> Sent: Friday, May 24, 2002 3:34 PM Subject: Re: Error with perl compilation us

Error with perl compilation using gcc insted of cc

2002-05-24 Thread Luis Valencia
c and also replace KPIC for fPIC in CCCDLFLAGS = -fPIC what else is wrong? or else, anyone else knows a good squid log analyzer? Luis Valencia

Fw: How I can do logout?

2002-03-25 Thread Luis Guillot
Thank you very much for response. I'm asking about expiring session, and I just know that Perl cann't do it. I imagined that the solution was Javascript. The question is as I can do it. Luis Guillot > - Original Message - > From: "Hanson, Robert" <[E

How I can do logout?

2002-03-25 Thread Luis Guillot
I would like that an user that is connected to my web page it was disconnected when closing the navigator or when visiting another web, without having to press a logout button. Is it possible with Perl? Which module or like I can do it? Thank you very much. Luis Guillot

Re: How I can execute Javascript into Perl?

2002-03-06 Thread Luis Guillot
Where can I learn HEREDOC syntax? Do you Know any URL? Thank you. - Original Message - From: "Jenda Krynicky" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, March 06, 2002 11:40 AM Subject: Re: How I can execute Javascript into Perl? > Fro

How I can execute Javascript into Perl?

2002-03-06 Thread Luis Guillot
k you very much. Luis Guillot

Re: dot-named sub

2001-10-03 Thread José Luis Sancho
dot-named elements and I MUST parse them by means of identically dot-named subroutines. Thank you all for your suggestions, Jose Luis. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

dot-named sub

2001-10-02 Thread José Luis Sancho
Hi: I am in need of a tip to name a sub with a '.' (dot) as sub www.com { bla, bla } Any suggestion? Thanks in advance, Jose Luis Sancho -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Fun With Perl list ???? where is it ? :)

2001-08-03 Thread Silvio Luis Leite Santana
Hi all Is there actually a Fun With Perl list? (ok, this list is funny already, but not officially :) ) I think I learn better when I'm having fun (that's why I think so easy to learn Perl reading the camel book, and learning everything else by the o'reilly books) If there isn't a list, perhaps

Re: Fun With Perl list ???? where is it ? :)

2001-08-02 Thread Silvio Luis Leite Santana
OK, officially too :) 2.3 - Are there any rules? Yes. As with most communities, there are rules. Not many, and ones that shouldn't need to be mentioned, but they are. Be nice No flaming Have fun Silvio Luis Leite Santana wrote: > > Hi all > Is there actua

Re: typeglobs and references

2001-07-25 Thread Silvio Luis Leite Santana
Thank you very much for your help about Perl. There's just something I didn't get yet. When I write *PI = 5; What am I really doing? I think I was assigning (not attribing :) ) the value 5 to the scalar slot of the glob PI, since 5 is scalar, but when asking for a print "$PI"; all we see is a

typeglobs and references

2001-07-24 Thread Silvio Luis Leite Santana
Hi I have been reading the camel book; it's really fantastic (and funny), but I still didn't understand some topics. One thing that's not so clear is about constants made with typeglobs and references; that's in page 295 of 3rd Ed. I have made the following program to test them: #!/usr/bin/perl -

autoflush on network connection

2001-07-19 Thread Silvio Luis Leite Santana
Hello all Trying to learn a bit of networking, I am using the module IO::Socket::INET just as shown in the camel book (3rd edition) pg 439-441. I have a client process (that sends data), and a server (that receives those data). I send data from the client to server with the lines: $mensagem =

to double or to single quotes? that's the question

2001-07-12 Thread Silvio Luis Leite Santana
Hi all Just to confirm some thoughts I had... Since double quotes need to be searched for variable interpolation, while single quotes don't, I should always (whenever possible) prefer single quotes instead of double quotes in my programs, because: print 'hi all'; would be faster than print "h

backticks

2001-07-02 Thread Silvio Luis Leite Santana
Hi all I've just did that, and it worked: [silvio@tico perl]$ cat saida cat: saida: No such file or directory [silvio@tico perl]$ perl -e '$x = `pwd>saida`; print "[$x]\n";' [] [silvio@tico perl]$ cat saida /home/silvio/perl It seems the backtick operator calls the shell, otherwise it wouldn't b

open +>>

2001-06-27 Thread Silvio Luis Leite Santana
Hi all The camel-book and perldoc-page says about "open": You may also place a + in front of any of these three modes to request simultaneous read and write. +< is for read/write updates +> clobber the file, reread only what you wrote What would +>> do? the same as +< ? the camel-book

curly braces

2001-06-26 Thread Silvio Luis Leite Santana
Please Why does code 1 work, but code 2 doesn't? (the diference is the ; after print) After all, is it posible or not to put a block in place of a expression? Thanks in advance Silvio CODE 1 - WORK $bissexto = ; chop($bissexto); $bissexto and { print "OK\n" }; print "end\n"; CODE 2 - DOESN'T

Re: use strict

2001-06-25 Thread Silvio Luis Leite Santana
'japhy' Pinyan wrote: > > On Jun 25, Silvio Luis Leite Santana said: > > >I'd like to know how can a program like > >the 'camel program' be compiled and run, > >because there are spaces spliting keywords! > > The secret is on line 2. >

use strict

2001-06-25 Thread Silvio Luis Leite Santana
Hi all Please I'd like to know how can a program like the 'camel program' be compiled and run, because there are spaces spliting keywords! It seems it's because of the 'use strict', but I don't see any relation between them. The camel book, doesn't tell anything about spaces inside keywords eit

Books and software.

2001-06-15 Thread Luis Leonel Lopez
Please buy legal copies of books and software and help authors and programmers. You can be the next! Sincerely, Luis Leonel Lopez Montevideo, Uruguay _ Get Your Private, Free E-mail from MSN Hotmail at http