Re: What interative perl shell I should use to debug the perl code?

2009-12-31 Thread Gabor Szabo
On Thu, Dec 31, 2009 at 5:46 PM, Peng Yu wrote: > In a 'perl -d', I try the following command, but it seems that it is > not working as I expected. Can I input any arbitrary perl commands in > the 'perl -d' session as if it is running by a perl interpreter? > >  DB<10> my $count = 10; > >  DB<11>

Re: What interative perl shell I should use to debug the perl code?

2009-12-30 Thread Gabor Szabo
On Thu, Dec 31, 2009 at 5:08 AM, Peng Yu wrote: > It seems that there are more than one choices of perl interactive > shells. I'm wondering which one is best or most popular. I don't think there is a *best* one. There might be one that fits most your situation and your experience level. A couple

Re: Fasta format !!

2009-10-29 Thread Gabor Szabo
On Thu, Oct 29, 2009 at 9:23 PM, Jyoti wrote: > Hello All, > > I just want help to open and read a file. I have to make a script so that it > should open and read a file which is in fasta format. I have done something > with subroutine but getting some errors. May be everyone do not know the > fas

Re: compact my wordlist generator

2009-10-25 Thread Gabor Szabo
2009/10/25 Michael Alipio : > Hi, > >  I'm trying to write a word list generator which can >  generate all possible combinations of n characters, within n >  set of characters. > > >  So far, this is what I have come up. The only input is the >  lenght of the password the user wants. > >  my @set =

Re: Perl script

2009-09-25 Thread Gabor Szabo
On Fri, Sep 25, 2009 at 1:19 PM, Irfan Sayed wrote: > Hi All, > > I am planning to wrire the perl script which will accomplish following task > > 1: login to remote windows machine > 2: verify certain batch scripts are running or not > > Please let me know if this can be possible using perl script

typical errors beginners make

2009-09-19 Thread Gabor Szabo
Hi, there are a bunch of errors that beginners make a lot and that perl does not catch or that the given error message is too generic. use warning; == In my perl training classes the first thing I teach is to use strict; and use warnings; For some reason - maybe because my students are

Re: Perl projects for beginners

2009-09-10 Thread Gabor Szabo
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 you? > > PDK doesn't extract the files with the perl source code and for most cases > this protection is enough. > It create

command line perldoc and Padre, the Perl IDE

2009-09-10 Thread Gabor Szabo
perldoc has all sorts of problems, it is hard to use to people who don't yet know how to use it and it does not give you a useful answer to many questions. It gives you a correct answer, it is just not very useful to beginners. tryperldoc -f open It has a long explanation on all kinds of cas

Re: "$| = 1" ???

2009-09-10 Thread Gabor Szabo
On Thu, Sep 10, 2009 at 5:26 PM, Bryan R Harris wrote: > >>> "ES" == Erez Schatz writes: >> $| is a special variable. All perl special variables are listed in perldoc perlvar. See that document for a full explanation. >> >>   ES> This isn't really helping, sorry. >> >> sorry, but po

Re: Perl projects for beginners

2009-09-10 Thread Gabor Szabo
On Tue, Sep 8, 2009 at 1:05 PM, Octavian Râsnita wrote: > I use ActivePerl and not > Strawberry. I've tried Strawberry Perl but I found very many modules I > couldn't install with it, the PPM under that distro of Perl has less > features than ActiveState's one, I also need ActiveState PDK that a

Re: Perl projects for beginners

2009-09-09 Thread Gabor Szabo
On Tue, Sep 8, 2009 at 4:03 PM, Bob McConnell wrote: > Jeesh, I go away for a long weekend and miss a significant conversation. > Has anyone tried to imagine a "World of PerlCraft" game. Hmm, on that idea, it might be nice to setup a list of projects where some of the core members will be ready

Re: Perl projects for beginners

2009-09-08 Thread 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 mi

Re: Perl projects for beginners

2009-09-07 Thread Gabor Szabo
Thank you, all of you for your input! I think you made very interesting and valuable points, many of which I have not thought earlier. Actually I was hoping to get the responses of beginners to understand their POV but the input of the others was also interesting. My objectives are two-fold. 1) u

Perl projects for beginners

2009-09-07 Thread Gabor Szabo
Hi, in a blog post http://szabgab.com/blog/2009/09/1251862435.html I recently asked how to make a project beginner friendly. The best answer I got was to ask the beginners. Clever :-) So let me ask it on this list. As I think think the best way to learn Perl is tor practice a lot and the best pl