Perl | Reddit
0 FOLLOWERS
The Perl Programming Language, including both Perl 5 and Perl 6.
Perl | Reddit
2d ago
I understand that many disagree with this statement, but it really makes it easier to build distributions for people who not monks. Wish the documentation was more detailed
submitted by /u/ReplacementSlight413
[visit reddit] [comments ..read more
Perl | Reddit
3d ago
My environment is perl/5.18.2 on CentOs 7
I'm trying to use a SWIG generated module in perl, which has a c plus plus backend. The backend.cpp sets an environment variable, $MY_ENV_VAR =1
But when I try to access this in perl, using $ENV{MY_ENV_VAR} this is undef.
However doing something like print `echo \$MY_ENV_VAR` works
So the variable is set in the process, but it's not reflected automatically since nothing updates the $ENV data structure.
I'm assuming it may work using some getEnv like mechanism, but is there a way to reset/ refresh the $ENV that it rebuilds itself from the current envir ..read more
Perl | Reddit
3d ago
By default cpanm drops Perl modules into ~/perl5. How do I tell cpanm to use a different location, such as ~/.local/share/perl5 instead?
submitted by /u/s-ro_mojosa
[visit reddit] [comments ..read more
Perl | Reddit
3d ago
Fast Perl SSG: now with automatic Language Translation via OCI and translate.pl. Check it out at
https://github.com/SunStarSys/orion
submitted by /u/joesuf4
[visit reddit] [comments ..read more
Perl | Reddit
1w ago
Im working on a script to test using a jump server to reach remote devices.
I'm able to connect to the jump server using Net::SSH::Expect, however, I'm not sure how to then ssh to a remote device (network element).
Is there a way to create that ssh to the remote device inside the jump server's connection?
submitted by /u/jtzako
[visit reddit] [comments ..read more
Perl | Reddit
1w ago
First things first, I am a data engineer but have little experience in Perl. I've been able to make some easy updates to scripts in the past but this one is a bit tougher.
I have been asked to update a Perl cgi web app that someone wrote ages ago that is used to view and manipulate text files. Currently it is hosted on server (X) and manipulates the files on that same server. However, we have to have backups/mirrors of the data on a dev server and another prod sever (Y). I.e., if I push the button to move the file to a different folder, it should do that on all three servers instead of just X ..read more