On 25.02.18,16:44, hw wrote:
> Hi,
>
> how do I disable the underlining of the prompt when using Term::ReadLine
> with GNU readline?
>
Check this:
https://www.nntp.perl.org/group/perl.beginners/2009/05/msg107390.html
Jostein
--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For addi
On 25.02.18,18:32, hw wrote:
> Hi,
>
> what is the best way to find out the depth of the last word within a
> line? "Depth of a word" means "how many other words occur before the
> last one?".
>
>
> The background is that I want to write a CLI. The CLI shall know a
> number of commands like 's
On 26.02.18,15:16, jose cabrera wrote:
> On Monday, February 26, 2018 at 4:26 AM, "Shlomi Fish" wrote...
>
> > Hi jose,
>
> Hi.
>
> > were the only failing tests in op/numconvert? If so, it does not seem
> > serious.
> > and you can use --force or --notest. That put aside, this is an old versio
said before, I am not asking for someone to do my work just some guidiance in
> the right direction.
>
> TIA,
>
> Keith Olmstead
>
Hi,
As often is the case with Perl it's a good thing to be inspired by
others good work. Check this:
http://www.dienhart.com/software/PERL
Hi,
I think this book is very good with many useful examples:
http://www.manning.com/cross/
and this is a good one too:
http://vig.prenhall.com/catalog/academic/product/1,4096,0130282510,00.html
Read, code and enjoy!
Jostein
> I have already read Learning Perl and am looking to get another b
Hi,
This example should be good for your memory:
---
#!/usr/bin/perl -w
open(FILE, "< yourbigfile.txt") or die $!;
my @last5;
while () {
push @last5, $_;
shift @last5 if @last5 > 5;
}
print @last5;
Inspired by "Beginning Perl - Wrox".
Regards,
Jostein