Turning Perl Code in to C++

2025-05-07 Thread Martin McCormick
Is it possible these days to write perl code and then turn it in to C++ that one could then put in to a C++ program? I am writing a c++ program that will deal with PCM audio and alsa sound functions which are good at managing sound cards so that one can get a stream of binary audio from

Re: Can use Perl and C in a program?

2024-08-05 Thread Manikandan
Hi William, Simply use exec or system command to call a program from other language, but make sure you get control from that program back to your Perl code. warm regards On Fri, Jul 26, 2024 at 10:41 PM William Torrez Corea wrote: > How can I implement these two languages of programming i

Re: Can use Perl and C in a program?

2024-07-27 Thread karl
William Torrez Corea: > How can I implement these two languages of programming in a program? ... If you use `cmd`, system() etc. in perl, you are in fact calling another program that might be written in some other language. The same is true, using fork() exec() system() etc. in c, you co

Re: Can use Perl and C in a program?

2024-07-26 Thread Jeff Pang via beginners
On 2024-07-27 01:11, William Torrez Corea wrote: How can I implement these two languages of programming in a program? You want to check the following library. https://metacpan.org/dist/Inline-C/view/lib/Inline/C.pod -- regards, Jeff Pang -- To unsubscribe, e-mail: beginners-unsubscr...@perl.

Can use Perl and C in a program?

2024-07-26 Thread William Torrez Corea
How can I implement these two languages of programming in a program? What part of the program uses Perl and C? Different repositories of Github use many languages of programming in a project but a program only uses a language of programming. -- With kindest regards, William

Re: Easiest Way in Perl to check Whether a Disk is Mounted

2024-06-05 Thread Jesús Lozano Mosterín
ll the unix mount or mountpoint applications but is there a proper perl way to do this since system calls are not as elegant?  Thank you. How about this module from metacpan? https://metacpan.org/pod/Sys::Linux::Mount regards. Try: my $out = `mount | tail -n 1` ; if ( $out =~ /\/dev\/sdb1/ ) {

Re: Easiest Way in Perl to check Whether a Disk is Mounted

2024-06-05 Thread karl
You can check if something is mounted by comparing which device a specific directory is on and comparing it to its parent directory. $ cat chk_mount.pl #!/usr/bin/perl -w use strict; use Fcntl ':mode'; my $A = $ARGV[0] // "/"; my $B = $ARGV[1] // "/var"; my @As

Re: Easiest Way in Perl to check Whether a Disk is Mounted

2024-06-05 Thread Will Mengarini via beginners
* Martin McCormick [24-06/01=Sa 09:25 -0500]: > [...] determine whether a file system is mounted such as > $ mount |grep horseradish > [...] I think perl -e 'print grep m[/horseradish],`mount`' is hard to beat for its simplicity. Note I'm using Perl's built-in gre

Re: Easiest Way in Perl to check Whether a Disk is Mounted

2024-06-05 Thread Mike
ut is there a proper perl way to do this since system calls are not as elegant?  Thank you. How about this module from metacpan? https://metacpan.org/pod/Sys::Linux::Mount regards.

Re: Easiest Way in Perl to check Whether a Disk is Mounted

2024-06-01 Thread Jeff P via beginners
Of course, I can use system calls and call the unix mount or mountpoint applications but is there a proper perl way to do this since system calls are not as elegant? Thank you. How about this module from metacpan? https://metacpan.org/pod/Sys::Linux::Mount regards. -- To unsubscribe, e

Easiest Way in Perl to check Whether a Disk is Mounted

2024-06-01 Thread Martin McCormick
t. The perl script I am working on should check to see if a device is mounted with the requested name and do one thing if it is and something else if it is not. Of course, I can use system calls and call the unix mount or mountpoint applications but is there a proper perl way to do th

Re: Upgrade from Debian 11 to Debian 12 Broke Perl.

2024-03-13 Thread Ruprecht Helms (privat)
In the case you built up perl via source for updating by using the tarball the following line is nessesarry: |sudo apt install build-essential wget It seams for the packages you need to install the warning-unused-0.06. Maybe you can install it via the debian-procedure or by using the tarball

Re: Upgrade from Debian 11 to Debian 12 Broke Perl.

2024-03-13 Thread Ruprecht Helms (privat)
Hi, what is saying the following: perl -v   ?? Maybe the below mentioned version needs an update. In this case do the following: |sudo apt update ||sudo apt install perl ||sudo apt install perl libdatetime-perl libjson-perl After that have a look at perl-packages you need ||apt-cache

Re: Upgrade from Debian 11 to Debian 12 Broke Perl.

2024-03-11 Thread John SJ Anderson
> Can't locate warnings/unused.pm in @INC (you may need to install the > warnings::unused module) (@INC contains: /etc/perl > /usr/local/lib/x86_64-linux-gnu/perl/5.36.0 /usr/local/share/perl/5.36.0 > /usr/lib/x86_64-linux-gnu/perl5/5.36 /usr/share/perl5 > /usr/lib/x86_64

Upgrade from Debian 11 to Debian 12 Broke Perl.

2024-03-11 Thread Martin McCormick
ebian bookworm which is not what this list is about and everything else worked as advertised except perl which is totally broken right now. After using perl for about ten years, it has become my goto solution for many varied projects such as controlling radio scanners that have RS-232 style interface

Re: Are there any ALSA Perl Modules?

2024-01-29 Thread sisyphus
On Mon, Jan 29, 2024 at 6:28 AM Martin McCormick wrote: [snip] > I may be looking in the wrong places but, so far, I seem > to be batting zeros when looking for perl and alsa together. > I take it that MIDI::ALSA (https://metacpan.org/pod/MIDI::ALSA) has little or nothing

Re: Are there any ALSA Perl Modules?

2024-01-29 Thread Olivier
Shlomi Fish writes: >> Anyway, the FFI concept will probably someday come in >> handy for a different project so I will continue with the C I was >> working on. What I did in a project is having the main functionality written in C, but using Perl for things that could be

Re: Are there any ALSA Perl Modules?

2024-01-29 Thread Shlomi Fish
assembler and can efficiently access the hardware such > as an audio or video device. > I meant that you can use Inline::C or perlxs or similar to write wrappers/bindings for libalsa/etc. > I was hoping there might be a perl module like a > fictional one I will call Devi

Re: Are there any ALSA Perl Modules?

2024-01-29 Thread Martin McCormick
by higher-level languages to take advantage of the capabilities found in lower-level languages such as C which is closer to assembler and can efficiently access the hardware such as an audio or video device. I was hoping there might be a perl module like a fictional one I will call Devic

Re: Are there any ALSA Perl Modules?

2024-01-28 Thread Shlomi Fish
ints which are usually 32-bits > wide for stereo or 16-bit shorts for mono, the sound processing > can begin which C is really good at but perl is just as good at > so if one could get the same alsa modules which are used by aplay > and arecord for setting up one's audio interfaces

Re: Are there any ALSA Perl Modules?

2024-01-28 Thread hw
On Sun, 2024-01-28 at 13:27 -0600, Martin McCormick wrote: > [...] > I may be looking in the wrong places but, so far, I seem > to be batting zeros when looking for perl and alsa together. > > Any good ideas are greatly appreciated, here. I would think that one nowaday

Are there any ALSA Perl Modules?

2024-01-28 Thread Martin McCormick
for their application. One can even define samples as signed or unsigned integers. Once one gets a stream of ints which are usually 32-bits wide for stereo or 16-bit shorts for mono, the sound processing can begin which C is really good at but perl is just as good at so if one could ge

Re: Perl Design Patterns

2023-11-18 Thread wesley
you can choose to not use it. > > When must I use perl design patterns? > -- > > With kindest regards, William. > > ⢀⣴⠾⠻⢶⣦⠀ > ⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system > ⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org https://www.debian.org/ > ⠈⠳⣄ > -- To unsubs

Re: Tool for develop in Perl

2023-10-23 Thread John Tebbe
I use this, it an old one but it meets my needs: https://sourceforge.net/projects/open-perl-ide/ On 10/23/2023 6:55 AM, Ruprecht Helms wrote: An Alternative for VIM or Emacs is the Nano-Editor. Maybe the IDE Eclipse is able to assist you in developing perl-code. But like to use Eclipse for

Re: Tool for develop in Perl

2023-10-23 Thread Ruprecht Helms
An Alternative for VIM or Emacs is the Nano-Editor. Maybe the IDE Eclipse is able to assist you in developing perl-code. But like to use Eclipse for PHP-Developing, Handling SQL, ... you have to install a plugin to add this oppertunity. By default Eclipse is a IDE for Java-Developing

Re: Tool for develop in Perl

2023-10-22 Thread Francisco Valladolid H.
The only thing that you need for develop in perl is vi/vim and Unix like terminal. Regards On Sun 22 Oct 2023 at 1:38 p.m. Vlado Keselj wrote: > > I use Emacs. > > On Fri, 20 Oct 2023, William Torrez Corea wrote: > > > What tool can I use for development in Perl? > &g

Re: Tool for develop in Perl

2023-10-22 Thread Vlado Keselj
I use Emacs. On Fri, 20 Oct 2023, William Torrez Corea wrote: What tool can I use for development in Perl? I use VIM for coding and executing programs with the Perl Command Line from GNU/Linux. In addition I have installed Eclipse but the IDE is abandoned. My theory: I can make full

Re: Tool for develop in Perl

2023-10-22 Thread Lars Noodén via beginners
On 10/21/23 07:48, William Torrez Corea wrote: What tool can I use for development in Perl? I use VIM for coding and executing programs with the Perl Command Line from GNU/Linux. In addition I have installed Eclipse but the IDE is abandoned. My theory: I can make full development from VIM but

RE: Tool for develop in Perl

2023-10-22 Thread Claude Brown via beginners
they want!! From: William Torrez Corea Sent: Saturday, October 21, 2023 3:49 PM To: beginners@perl.org Subject: Tool for develop in Perl CAUTION: This email originated from outside of the organization. Do not click links or open attachments unless you recognize the sender and know the

Tool for develop in Perl

2023-10-20 Thread William Torrez Corea
What tool can I use for development in Perl? I use VIM for coding and executing programs with the Perl Command Line from GNU/Linux. In addition I have installed Eclipse but the IDE is abandoned. My theory: I can make full development from VIM but few developers use VIM for development. They use

Re: Syntax of Perl

2023-10-09 Thread Olivier
I am not sure about ruby, but if we want to be chronologically correct, it's python that has a syntax that may look like Perl. Olivier -- -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/

Re: Syntax of Perl

2023-10-09 Thread wesley
I would say perl syntax is similar to ruby and scalar. https://tech.postno.de/archives/113 regards. > > The syntax of Perl have similarity with Python. > > -- > > With kindest regards, William. > > ⢀⣴⠾⠻⢶⣦⠀ > ⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system >

Re: Perl version 5.8 and 5.10

2023-10-08 Thread Levi Elias Nystad-Johansen via beginners
Hi, What is your use case, maybe it can be solved by adding "use v5.8;" or "use v5.10;" at the top? It is rarely needed to install such an old version of perl, unless it's for testing compatibility, but then we should aim higher than v5.8. v5.16 is the oldest versi

Re: Perl version 5.8 and 5.10

2023-10-08 Thread wesley
my perl version shipped by ubuntu 22.04 is 5.34.0. This is perl 5, version 34, subversion 0 (v5.34.0) built for x86_64-linux-gnu-thread-multi regards. > > Hello,  > > What's the motivation to install a version which is 21 years old ? > > If you have an old code pr

Re: Perl version 5.8 and 5.10

2023-10-08 Thread armando perez pena
Hello, What's the motivation to install a version which is 21 years old ? If you have an old code probably is better try to update it. Best Regards, Armando From: Kang-min Liu Sent: Sunday, October 8, 2023 5:32:24 AM To: beginners@perl.org Subject: Re:

Re: Perl version 5.8 and 5.10

2023-10-07 Thread Kang-min Liu
於 2023年10月8日 上午11:53:46 [GMT+09:00],William Torrez Corea 寫到: >I Tried to install perl version 5.8 and 5.10 with perlbrew but i can't >install this version. >I get the following error message: > >50 tests and 269 subtests skipped. >> make[2]: *** [makefile:701: _te

Re: Upgrade Perl

2023-10-06 Thread Robbi Nespu
On 6/10/2023 3:03 am, William Torrez Corea wrote: How to upgrade Perl from Debian? I have Perl *v5.32.1* -- With kindest regards, William. ⢀⣴⠾⠻⢶⣦⠀ ⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system ⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org <https://www.debian.org> ⠈⠳⣄ I think you are

Re: Upgrade Perl

2023-10-05 Thread Mike Hübschen
I use https://perlbrew.pl/ Best regards, Mike On 10/5/23 21:03, William Torrez Corea wrote: How to upgrade Perl from Debian? I have Perl *v5.32.1* -- With kindest regards, William. ⢀⣴⠾⠻⢶⣦⠀ ⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system ⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org <ht

Upgrade Perl

2023-10-05 Thread William Torrez Corea
How to upgrade Perl from Debian? I have Perl *v5.32.1* -- With kindest regards, William. ⢀⣴⠾⠻⢶⣦⠀ ⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system ⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org ⠈⠳⣄

Re: My progress in Perl

2023-08-08 Thread Olivier
Vlado Keselj writes: > I believe that > Perl still comes installed by default in the most popular distributions. Not in FreeBSD, and that's a shame! Olivier -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@pe

Re: My progress in Perl

2023-08-08 Thread Vlado Keselj
To add my 2 cents to the original questions: > What is my purpose with this language? I use Perl a lot, it is my "go-to" language for many tasks, but I am not sure what would be good "your purpose" with the language, as you ask, since it is a subjective question. Based

Re: My progress in Perl

2023-08-08 Thread Steve Park
I agree 100% as well. Even though I am good at other languages.. my love continue to remain w/ perl. And I still write lot of backend in perl. I don't think there is any match for perl in terms of speed and it's compactness to get stuff done. On Mon, Aug 7, 2023 at 10:03 PM Claude Br

Re: My progress in Perl

2023-08-08 Thread William Ward via beginners
library supporting HTTPS. Sent from my iPhone > On Aug 7, 2023, at 8:06 AM, armando perez pena wrote: > >  > In my case Perl was my first programming language. What I did was. > > 1) Read "Learning Perl" book. > 2) After 2nd chapter more or less start t

Re: My progress in Perl

2023-08-07 Thread Levi Elias Nystad-Johansen via beginners
Hi, Learning Perl is a great book, but anyone looking for an alternative should check out Minimal Perl by Tim Maher. I've found this book to be a little clearer and with more practical examples. I've used Perl on windows for years, as it is far more powerful and portable than

Re: My progress in Perl

2023-08-07 Thread Olivier
Out off topic rant... > Honestly, my advise is if you are beginning to learn programming using > perl in 2023. Don't. > > Pick up python and go from there. My problem with Python (beside my inability to think oriented object) is the very bad choice to have idents to represent

RE: My progress in Perl

2023-08-07 Thread Claude Brown via beginners
Steve, I agree. Someone just starting out should go with Python. It pains me to say it, but Perl isn’t a good skills investment. My team and I program every day in Perl – we have 100’s of libraries and system integrations. I love it and it is my first choice for backend work.Sadly, we

Re: My progress in Perl

2023-08-07 Thread Steve Park
Honestly, my advise is if you are beginning to learn programming using perl in 2023. Don't. Pick up python and go from there. If you already know some perl and want to advance, yes go right ahead. 2023, is perl dead? no. It's a tool and it's still a swiss army of programming l

Re: My progress in Perl

2023-08-07 Thread Andy Bach
Yeah, I learned Perl back in the V4 days; I was sort of new to linux admin though a programmer in school and after learning sed/awk/grep to handle digesting logs and munging data files I heard of Perl. It was a bit like finding crack cocaine, all sorts of tasks became easy and I wrote scripts to

Re: My progress in Perl

2023-08-07 Thread armando perez pena
In my case Perl was my first programming language. What I did was. 1) Read "Learning Perl" book. 2) After 2nd chapter more or less start to apply it and continue reading. What I learned was applicable for other languages like python because the concept are similar. But for sure

Re: My progress in Perl

2023-08-07 Thread Mike
27;t understand anything. I only execute and then proceed with a book. The name of the book is Beginning Perl of Curtis Ovid Poe. I started with a lot of passion but then lost interest, the monotony conquered me. Actually I am learning references and Complex Data Structures in Perl. I never learn

Re: My progress in Perl

2023-08-06 Thread Olivier
William, > I started testing some extensions of CPAN but I don't understand anything. I > only execute and then proceed with a book. The name of the book is > Beginning Perl of Curtis Ovid Poe. > > I started with a lot of passion but then lost interest, the monotony conquered

My progress in Perl

2023-08-06 Thread William Torrez Corea
I started testing some extensions of CPAN but I don't understand anything. I only execute and then proceed with a book. The name of the book is Beginning Perl of Curtis Ovid Poe. I started with a lot of passion but then lost interest, the monotony conquered me. Actually I am learning refer

Re: Bash vs Perl

2023-07-14 Thread karl
Willam Torrez Corea: > Can I mix bash with perl in a program? Yes, both ways; $ perl -e 'print "Hello World!\n"' Hello World! $ cat ls.pl #!/usr/bin/perl -w use strict; print `ls @ARGV` $ ./aa -r -t -l /usr | tail -4 drwxr-xr-x 35 root root 8192 Apr 20 21:24 lib d

Re: Bash vs Perl

2023-07-14 Thread Lars Noodén
directory. - mv : Move or rename a file or directory. The program must update the package manager See some of the CPAN modules, File::chdir File::DirList File::Touch File::Copy File::Path::Tiny and the perl functions chdir() mkdir() unlink() rename() What problem are you trying to

Fwd: Re: Bash vs Perl

2023-07-14 Thread Tim Lewis via beginners
On Jul 14, 2023, 11:33 AM, at 11:33 AM, Tim Lewis wrote: >Hi William, >I use crontab on my Ubuntu server to automatically run Perl scripts. >Will that work for you? >Tim >William Torrez Corea wrote: >Can I mix bash with perl in a program? >I want to create a program in Per

Bash vs Perl

2023-07-14 Thread William Torrez Corea
Can I mix bash with perl in a program? I want to create a program in Perl to execute the bash command. *Basic Bash commands (echo, read, etc.)* - cd : Change the directory to a different location. - ls : List the contents of the current directory. - mkdir : Create a new directory

RE: Perl version

2023-06-24 Thread Duncan Ferguson
” for 5.28.0, etc Duncs From: William Torrez Corea Sent: Friday, June 23, 2023 8:43 PM To: beginners@perl.org Subject: Perl version What is the first version of Perl? What is the last version of Perl? What is the difference between both versions? What progress has the first last version of Perl

Re: Perl version

2023-06-23 Thread armando perez pena
2023 9:43:20 p. m. Para: beginners@perl.org Asunto: Perl version What is the first version of Perl? What is the last version of Perl? What is the difference between both versions? What progress has the first last version of Perl made? I have the version of Perl v5.32.1 -- With kindest re

Perl version

2023-06-23 Thread William Torrez Corea
What is the first version of Perl? What is the last version of Perl? What is the difference between both versions? What progress has the first last version of Perl made? I have the version of *Perl v5.32.1* -- With kindest regards, William. ⢀⣴⠾⠻⢶⣦⠀ ⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating

Re: Perl Monks by mail (was: type checks)

2023-06-07 Thread sisyphus
Using the B module to access a variable's flags is annoyingly clunky. It's much simpler using Inline::C (or XS), which is my usual (and preferred) method: # Filename: try_inline.pl use strict; use warnings; use Inline C => Config => BUILD_NOISY => 1, ; use Inl

Re: Perl version error

2023-05-31 Thread Olivier
OOps, I miss read the version of Perl, sorry. Olivier -- -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/

Re: Perl version error

2023-05-31 Thread Olivier
"aziz.ogu...@eduline.com.tr" writes: > Hi Ken, > > I upgrade perl to the latest version that is 5.36.1, but I took same error. The error message ask for Perl verion 5.37 and you only upgraded to verion 5.36, so the error is still there. You may have to download the source

Perl version error

2023-05-31 Thread Aziz Öğütlü
We are using mirdeep2 on our HPC system. When we try to call mirdeep2.pl, it gives this error: Perl v5.35.7 required--this is only v5.26.3, stopped at /opt/ohpc/pub/compiler/perl/5.36.0/lib/5.36.0/File/Copy.pm line 10. BEGIN failed--compilation aborted at /opt/ohpc/pub/compiler/perl/5.36.0

Re: Recommendations for setting up local Perl dev environment

2023-05-23 Thread Shlomi Fish
hi all, On Wed, 24 May 2023 09:25:46 +0800 Ken Peng wrote: > On 2023-05-24 09:21, Joe Sliva Jr. wrote: > > I've been on this list for years but haven't actually used Perl lately. > > That being said, I have an old Perl script that I would like to start > > working

Re: Recommendations for setting up local Perl dev environment

2023-05-23 Thread Olivier
>> Can anyone please recommend a local Perl dev install that would work on >> Windows? > > Maybe this one? > https://strawberryperl.com/ I second that. I only used Perl on Windows once and StrawberryPerl did the trick. Olivier -- -- To unsubscribe, e-mail: beginners-uns

Re: Recommendations for setting up local Perl dev environment

2023-05-23 Thread Ken Peng
On 2023-05-24 09:21, Joe Sliva Jr. wrote: I've been on this list for years but haven't actually used Perl lately. That being said, I have an old Perl script that I would like to start working with again but would prefer to work on it within a local dev environment. Can anyone please r

Recommendations for setting up local Perl dev environment

2023-05-23 Thread Joe Sliva Jr.
I've been on this list for years but haven't actually used Perl lately. That being said, I have an old Perl script that I would like to start working with again but would prefer to work on it within a local dev environment. Can anyone please recommend a local Perl dev install that wou

Re: A Regular Expression Problem in Perl 5.28

2023-03-29 Thread Jim Gibson via beginners
On Mar 28, 2023, at 3:00 PM, Martin McCormick wrote: > > Uri Guttman writes: >> yes, but he kept the {5,} repeat count. so i just kept it too. > > Now that I know how this works, I will probably change to > {4,} as this would match 4 or more digits. From reading the > documentation, {4} means

Re: A Regular Expression Problem in Perl 5.28

2023-03-28 Thread Martin McCormick
Uri Guttman writes: > yes, but he kept the {5,} repeat count. so i just kept it too. Now that I know how this works, I will probably change to {4,} as this would match 4 or more digits. From reading the documentation, {4} means 4 and only 4. {4,6} means 4 but nothing else except 6. {N,}

Re: A Regular Expression Problem in Perl 5.28

2023-03-28 Thread Martin McCormick
Uri Guttman writes: > you also quoted the whole regex in '' but included the // which are the > normal regex delimiters. remove the outer quotes. > and use the qr// form for regexes. > and you don't want the + after the \d as the {5,} is the count. you can't > have both types of repeat counts. > m

Re: A Regular Expression Problem in Perl 5.28

2023-03-28 Thread Sam
On 3/28/23 16:07, Uri Guttman wrote: On 3/28/23 17:01, Martin McCormick wrote: Uri Guttman writes: why are you escaping the {}?? those are meta chars that are needed to make that a 5+ range. just delete the backslashes on them and it will work. First, thank you but read on, please. I

Re: A Regular Expression Problem in Perl 5.28

2023-03-28 Thread Martin McCormick
Uri Guttman writes: > why are you escaping the {}?? those are meta chars that are needed to make > that a 5+ range. just delete the backslashes on them and it will work. First, thank you but read on, please. I couldn't agree more. That should do it but when I don't escape them, I

Re: A Regular Expression Problem in Perl 5.28

2023-03-28 Thread Uri Guttman
On 3/28/23 16:17, Martin McCormick wrote: The string I am interested in testing for starts with 5 or 6 digits in a row and all I need to do is determine that the first 5 or 6 characters are numbers Period. That's all. my $regextest = '/^\d+\{5,\}/' ; why are you escaping the {}?? th

A Regular Expression Problem in Perl 5.28

2023-03-28 Thread Martin McCormick
determine that the first 5 or 6 characters are numbers Period. That's all. For some reason, it has never passed the test. #!/usr/bin/perl -w use strict; use warnings::unused; use File::Copy; #main local variables my $workname = '106787pdtb'; my $regextest = '

Re: Roadmap Perl

2023-03-19 Thread Andrew Solomon
> >> Thanks, >> >> Andrew >> >> On Sun, Mar 19, 2023 at 6:26 AM William Torrez Corea < >> willitc9...@gmail.com> wrote: >> >>> Can someone share the roadmap of Perl? >>> >>> -- >>> >>> With kindest regards

Re: Roadmap Perl

2023-03-18 Thread William Torrez Corea
iam Torrez Corea < > willitc9...@gmail.com> wrote: > >> Can someone share the roadmap of Perl? >> >> -- >> >> With kindest regards, William. >> >> ⢀⣴⠾⠻⢶⣦⠀ >> ⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system >> ⢿⡄⠘⠷⠚⠋⠀ https://www.deb

Re: Roadmap Perl

2023-03-18 Thread Andrew Solomon
Hi William, I don't understand what you mean by the "roadmap". Could you clarify? Thanks, Andrew On Sun, Mar 19, 2023 at 6:26 AM William Torrez Corea wrote: > Can someone share the roadmap of Perl? > > -- > > With kindest regards, William. > > ⢀⣴⠾⠻

Roadmap Perl

2023-03-18 Thread William Torrez Corea
Can someone share the roadmap of Perl? -- With kindest regards, William. ⢀⣴⠾⠻⢶⣦⠀ ⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system ⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org ⠈⠳⣄

Re: Can a perl programmer find jobs today?

2023-02-17 Thread Kelvin Wu
You may look into this in another way, it is indeed difficult to find a job to do pure Perl programming nowadays, but Perl is very commonly used by QA, DevOps, SRE. Having Perl/Python skills will help you get the positions in these domains, so don't just look for a Perl job. On Sat, Feb 18,

Re: Can a perl programmer find jobs today?

2023-02-17 Thread Open Mbox
python and AI are different stuff, just like shovel and farming. -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/

Re: Can a perl programmer find jobs today?

2023-02-17 Thread Илья
rviews and successfully worked as go and java developer in international companies, so the fact that I programmed with Perl for 10+ years was not a blocker for my employers. -- Best regards, Ilia. On 17.02.2023 15:13, Saravanan Murugaiah wrote: If you know both Python and Perl, then you are on

Re: Can a perl programmer find jobs today?

2023-02-17 Thread Saravanan Murugaiah
If you know both Python and Perl, then you are one of a big boss in programming industry, especially in AI On Fri, Feb 17, 2023 at 5:22 PM Hao Wu wrote: > https://jobs.perl.org/ > > If you are in the right place, it is not that hard to find a perl job. > > > > On Fri, Fe

Re: Can a perl programmer find jobs today?

2023-02-17 Thread Hao Wu
https://jobs.perl.org/ If you are in the right place, it is not that hard to find a perl job. On Fri, Feb 17, 2023 at 7:46 PM winnie hw wrote: > I know perl/ruby/python and use all of them for work. > But I didn't see an employer seeking the perl programmer. > Can we the pe

Can a perl programmer find jobs today?

2023-02-17 Thread winnie hw
I know perl/ruby/python and use all of them for work. But I didn't see an employer seeking the perl programmer. Can we the perl programmers find any professional jobs today? Thanks.

Re: providing perl api for C library

2022-12-10 Thread sisyphus
On Sat, Dec 10, 2022 at 2:19 PM Henry R wrote: > Hello list, > > I have written a C library which encrypts the data stored in object > storage like S3. > If I want to provide it with a perl OO interface what's the right way? > such methods like: > > $data->encryp

Re: providing perl api for C library

2022-12-10 Thread Mike
s the data stored in object storage like S3. If I want to provide it with a perl OO interface what's the right way? such methods like: $data->encrypt("input.sth"); $data->decrypt("input.sth"); Thanks.

providing perl api for C library

2022-12-09 Thread Henry R
Hello list, I have written a C library which encrypts the data stored in object storage like S3. If I want to provide it with a perl OO interface what's the right way? such methods like: $data->encrypt("input.sth"); $data->decrypt("input.sth"); Thanks. -- To

What projects can develop in Perl?

2022-09-24 Thread William Torrez Corea
I have any ideas 1. phone guide -- With kindest regards, William. ⢀⣴⠾⠻⢶⣦⠀ ⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system ⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org ⠈⠳⣄

What define a good program in perl?

2022-08-08 Thread William Torrez Corea
In my recents program the program contain your module, conditional, input, ouput. -- With kindest regards, William. ⢀⣴⠾⠻⢶⣦⠀ ⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system ⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org ⠈⠳⣄

Re: Virtualmin and Webmin web hosting control panel are written in Perl 5

2022-08-03 Thread Dermot
Ming < tdtemc...@gmail.com> wrote: > Maybe if I want to modify Virtualmin/Webmin code, I will need to hire > a Perl programmer :) > > Mr. Turritopsis Dohrnii Teo En Ming > Targeted Individual in Singapore > > On Mon, 1 Aug 2022 at 15:22, Olivier wrote: > > >

Re: Virtualmin and Webmin web hosting control panel are written in Perl 5

2022-08-03 Thread Kang-min Liu
Turritopsis Dohrnii Teo En Ming writes: > If I want to learn Perl programming language from scratch having > totally no knowledge of it, how long (in terms of months or years) > would it take before I can confidently and proficiently modify > Virtualmin and Webmin code? Good da

Re: Virtualmin and Webmin web hosting control panel are written in Perl 5

2022-08-01 Thread Turritopsis Dohrnii Teo En Ming
Maybe if I want to modify Virtualmin/Webmin code, I will need to hire a Perl programmer :) Mr. Turritopsis Dohrnii Teo En Ming Targeted Individual in Singapore On Mon, 1 Aug 2022 at 15:22, Olivier wrote: > > Turritopsis Dohrnii Teo En Ming writes: > > > If I want to learn P

Re: Virtualmin and Webmin web hosting control panel are written in Perl 5

2022-08-01 Thread Olivier
Turritopsis Dohrnii Teo En Ming writes: > If I want to learn Perl programming language from scratch having > totally no knowledge of it, how long (in terms of months or years) > would it take before I can confidently and proficiently modify > Virtualmin and Webmin code? Learning ho

Virtualmin and Webmin web hosting control panel are written in Perl 5

2022-08-01 Thread Turritopsis Dohrnii Teo En Ming
Subject: Virtualmin and Webmin web hosting control panel are written in Perl 5 Good day from Singapore, I understand that Virtualmin and Webmin web hosting control panel are written in Perl 5. Source: In which perl framework is webmin written into? Link: https://archive.virtualmin.com/node

Re: Which distribution of PERL to use

2022-07-08 Thread Ruprecht Helms (privat)
Hi, I think the best way is to have a look in the article in the perl.com-Website. Here are descriptions of the different Perl-Versions running on windows. MacOS and Linux is also mentioned in the article. So feel free what Perl-Version you want to try and test. You will find that you need

Re: Which distribution of PERL to use

2022-07-08 Thread Christian Walde
On Fri, 08 Jul 2022 14:59:26 +0200, Ruprecht Helms (privat) wrote: Am 08.07.22 um 14:49 schrieb Christian Walde: On Fri, 08 Jul 2022 12:06:07 +0200, Ruprecht Helms (privat) wrote: what I see is that Cygwin enables to run linux on a windows-computer. That is not what it does. I don't have

Re: Which distribution of PERL to use

2022-07-08 Thread Andy Bach
The WinX Linux subsystem is a valid option https://pureinfotech.com/install-windows-subsystem-linux-2-windows-10/ I believe it comes with Perl (N. B. Not all-caps “PERL”, please) but otherwise you can build a dist. From scratch. Another option is ActiveState https://www.perl.com/article

Re: Which distribution of PERL to use

2022-07-08 Thread armando perez pena
Subject: Re: Which distribution of PERL to use Hi, Am 08.07.22 um 14:49 schrieb Christian Walde: > On Fri, 08 Jul 2022 12:06:07 +0200, Ruprecht Helms (privat) > wrote: > >> what I see is that Cygwin enables to run linux on a windows-computer. > > That is not what it does. > &g

Re: Which distribution of PERL to use

2022-07-08 Thread Ruprecht Helms (privat)
Hi, Am 08.07.22 um 14:49 schrieb Christian Walde: On Fri, 08 Jul 2022 12:06:07 +0200, Ruprecht Helms (privat) wrote: what I see is that Cygwin enables to run linux on a windows-computer. That is not what it does. I don't have the time to explain it, but i recommend actually reading the c

Re: Which distribution of PERL to use

2022-07-08 Thread Christian Walde
On Fri, 08 Jul 2022 12:06:07 +0200, Ruprecht Helms (privat) wrote: what I see is that Cygwin enables to run linux on a windows-computer. That is not what it does. I don't have the time to explain it, but i recommend actually reading the cygwin documentation before drawing conclusions and m

  1   2   3   4   5   6   7   8   9   10   >