Skip to main content



https://www.perl.com/article/197/2015/10/6/Display-real-time-data-with-Curses/

I came across this article by Mr d F and it piqued my curiosity about the curses and ncurses ecosystem.

Among the more ambitious projects that I have found, there is an attempt to implement vi in Perl:

https://sourceforge.net/projects/vip/

Spoiler: It still runs, Perl is awesome. ^_^

Does anyone else have a success to share about using Perl with curses/ncurses?

submitted by /u/singe
[link] [comments]




submitted by /u/pmz
[link] [comments]


https://blogs.perl.org/users/oodler_577/2024/09/perl-community-conference-science-perl-journal-winter-2024-call-for-papers-now-open-deadline-930.html

Christos Argyropoulos, MD, PhD. (you know him here!) is our moderator for this virtual event, which is December 18th, 2024 - Perl's 37th birthday! At this event we will be announcing our Summer 2025 plans, which will include a 3rd Issue of the SPJ.

We have author 6 committments from some very exciting topics, but we want more! The Summer Issue has 8 authors and is nearly 150 pages. We are looking to double the number of authors, doubling the number of pages is going to be a stretch 😀.

Click here to submit your paper proposal.

Note:

In case this was not clear, I stated it so in this most recent post at BPO:

If you ever wanted to be a published Perl author, here is your chance - the Science Perl Journal issues have their own ISBNs, papers will be getting their own DOIs, and all contributors are listed as co-authors of the Issue in which they appear.

You may reach out to us on #science on irc . perl . org or on Dr. Adam Russell's very active and awesome, Perl Applications & Algorithms discord server.

submitted by /u/OODLER577
[link] [comments]



Hello. I have the following program.

#!/usr/bin/perl sub print_user_input { my $input = <STDIN>; print $input; } sub mock_user_input { local *STDIN; open STDIN, '<', \"this is fake user input\n"; print_user_input(); } mock_user_input(); __END__ $ perl ./scratch.pl this is fake user input 

I have successfully used the pattern displayed in the mock_user_input subroutine to test some user interfacing code I have. However I cannot wrap my head around how this actually works. What exactly does *STDIN mean and why does it need to be localized? Why are we passing a string reference as the third argument to open here? A detailed explanation of this code would be helpful for me. Thanks in advance.

submitted by /u/nicholas_hubbard
[link] [comments]