Perl 5. 8. 8 Download
Perl 6 is a sister language, part of the Perl family, not intended as a replacement for Perl 5, but as its own thing - libraries exist to allow you to call Perl 5 code from Perl 6 programs and vice versa. Building Perl 5.8.8 Building a Web Server, for Windows Requirements. Microsoft Visual C we will use Visual Studio 98 / VC 6.0 Visual Studio.NET will also work with the same instructions.
I'm assigned to a project (PHP/MySQL) that needs some review and possibly fixes.As a part of it it is planned to check correctness of all variables that we getvia GET and POST. We have a bunch of php and tpl files that have severalthouthands of lines of code all together, so it would be painful to search forall $_GET[..] and $_POST[..] references manually. So I tried doing this:
Basically it creates a list of all $_GET[..] and $_POST[..] references in theproject, and then deletes the repeated values from it. But it didn't workbecause I have perl 5.8.8 on my development machine, which does not support5.10+ feature 'say', and our system administrator said that upgrade isundesired. I'm not sure why, but he's the boss.
So, is there a way to replace 'say' with some other code, or maybe even replacePerl with another tool?
4 Answers
Perl 5.10 added 'say' which is a substitute for 'print' that automatically adds a newline to the output. Hence you can write'
..instead of having to write:
Simply drop the 'use feature say;' and replace 'say $1' with:
JRFergusonJRFergusonDon't forget that it's very easy to emulate say
:
Just add it to the beginning of the Perl code and use as you normally would.
ZaidZaidThe -l
option without octal adds a newline to the end of print statements. From perlrun:
enables automatic line-ending processing. It has two separate effects. First, it automatically chomps $/ (the input record separator) when used with -n or -p. Second, it assigns $ (the output record separator) to have the value of octnum so that any print statements will have that separator added back on. If octnum is omitted, sets $ to the current value of $/ .
So.
Will replace say
.
But it didn't work because I have perl 5.8.8 on my development machine, which does not support 5.10+ feature 'say',
Perl 5.8.8 was released on Jan 31, 2006. Since then, we've seen 5.10, 5.10.1, 5.12, 5.12.1, 5.12.2, 5.12.3, 5.12.4, 5.14, 5.14.1, 5.14.2, .. and I might be out of date. Three major revisions (5.10, 5.12, 5.14) with fixes each, since 5.8.8 came out. Deprecation cycles have occurred, and you've not had a chance to experience them to help clean up your code.
The simple solution is to upgrade.
and our system administrator said that upgrade is undesired. I'm not sure why, but
And, so? It's not like he's the boss of ..
he's the boss.
Oh.
The site is owned by Amazon and lists over 11,500 free books. Kindle book templates. It’s the only website, except Amazon, from where you can download books only for Kindle.The site is pretty simple and does nothing except listing books.
Well, I'm not one that is well known for listening to bosses when they're being silly or plain incorrect. Then again, I never advocate doing what I do :-)
If your boss is concerned with upgrading the system perl, he's right. That's undesirable. (I suggest getting a newer distro, but if you're on AIX, you're stuck as newer AIX's still ship that old level of perl.) But there's no reason why you have to upgrade the system perl just to upgrade perl.
You can have more than one perl installed. As long as you don't touch /usr/bin/perl, and you shouldn't as that should be the system perl at all times, you should be fine. I have installed perls 5.8.8, 5.10.1, 5.12.0, 5.12.1, 5.12.2, 5.14.0, 5.14.1, and 5.14.2 all in ~/perl/$version, created symlinks in ~/bin for each one (e.g., perl5.8.8 is a symlink to the 5.8.8 perl binary), and now I can use development perls for their new features while still being able to test on older perls when necessary. And, because I'm installing to my own home directory, I don't need sysadmin access. If you're not on Linux, you will need a compiler. (Even on Linux you may need some development packages installed, e.g., on SLES we often need to install -devel RPMs to get extra modules to compile.) But this is likely a lower bar to meet for your sysadmin than overwriting the system perl (which he's right to warn against).
TanktalusTanktalusPerl 5.8.8 Download Windows
Not the answer you're looking for? Browse other questions tagged perlfilebashsearch or ask your own question.
- Download
Activeperl 5.8 Download
Thank you for using our software library. Download the required product from the developer's site for free safely and easily using the official link provided by the developer of Perl for Win32 below.
However, we must warn you that downloading Perl for Win32 from an external source releases FDM Lib from any responsibility. Please carefully check your downloads with antivirus software. FDM Lib shall include an option for direct download from developers, should it become available in the future.
Perl 5.8.8 Download
Often downloaded with
- Perl Code LibraryPerl Code Library is a powerful multi-language source code Library with the..$79.99DOWNLOAD
- GnuWin32: Pcre-7.0The PCRE library is a set of functions that implement regular expression..DOWNLOAD
- PCP GliderPCP Glider is a binary distribution of PCP for the Windows (Win32) operating..DOWNLOAD
- HTTPTunnelHTTPTunnel is a tunneling software that can tunnel network connections through..DOWNLOAD
- SpamHalterSpamHalter is a daemon for the Mercury/32 server that provides centralized SPAM..DOWNLOAD