|
|
Home | Switchboard | Unix Administration | Red Hat | TCP/IP Networks | Neoliberalism | Toxic Managers |
| (slightly skeptical) Educational society promoting "Back to basics" movement against IT overcomplexity and bastardization of classic Unix | |||||||
|
|
Switchboard | ||||
| Latest | |||||
| Past week | |||||
| Past month | |||||
perl.com
A code reference is like any reference in Perl, but what it points to is a subroutine you can call. For instance, I could write:
my $doubler = sub { return 2 * $_[0]; };
Then later in my program I would call that routine as:
my $doubled = &$doubler(5); # $doubled is now 10
This example is contrived. But it lets you see the basic syntax of code references. If you assign a sub to a variable, you receive a code reference by the grace of Perl. To call the sub stored in the reference put an&in front of the variable which stores it. This is like we do for other references, as in this standard hash walker:
foreach my $key (keys %$hash_reference) { ... }
The&is the sigil (or funny character) for subroutines, just like@and%are the sigils for arrays and hashes.
Many patterns in GoF and outside it can be implemented well in Perl with code references. Languages which don't provide code references are missing an important type.
|
|
|
|
Fsync is a Perl script which allows for file synchronization between remote hosts, containing functionality similar to that of the rsync and CVS packages. Since fsync is a single Perl script, setting up file synchronization on a new machine is relatively simple. Communication between the hosts is via a socket mechanism, with the remote server started by rsh, by ssh or manually. The program was written with slow modem connections in mind. Fsync supports the concept of merging differences from local/remote hosts with hooks for tools to merge the trees. Fsync requires perl 5.004 or newer. This program is licensed under the GNU Public License.
perlwm is a window manager written in Perl. It allows users to configure both the appearance and behaviour of the window manager through Perl scripting.
SendEmail is a lightweight tool written in Perl for sending SMTP email from the console. It was designed to be used in bash scripts, Perl programs, and Web pages. It requires no special modules, and has a simple interface, making it very easy to install and use. It should work on any platform that has Perl and supports Unix sockets, but was designed for Linux.
Sendmail::Milter is a Perl extension to sendmail's Mail Filter API. With this module, you can define mail filtering actions in Perl that hook into sendmail 8.11 or higher.
Pdoc is a Perl library which provides a number of methods to automate the documentation procedure, parsing specific file formats and converting them to other formats. It features Perl module parsing capabilities and conversion to HTML.
html2perl automates the process of converting HTML or any ASCII text format into a series of Perl print statements with appropriate character escaping and terminating of new lines. This output can then be cut-and-pasted into Perl CGI scripts.
CGI Journal allows you to keep a daily journal of what is going on in your life. It was designed to be simple, fast, and efficient, without all the eye candy. It's written in Perl, and requires nothing more than the CGI Perl module, which comes standard with Perl. It can also convert PHP Journal dump files and vice versa.
VSH is a configurable file manager for UN*X systems. It is coded in Perl, using the Perl/Tk module.
Perl WebStats is a comprehensive statistical package for analyzing site traffic from web server logs. It uses an OO-based module system for creating custom reports, and the reporting engine allows you to customise the look and feel, letting you brand the reports for your clients. It works well for a single site or for mass-deployment with ISPs. Commercial support/development is available.
EC is an email reader and composer written using Perl and the Perl/Tk GUI libraries. It supports reading, composing, and sorting messages in user-defined folders, and allows users to send and recieve file attachments.
testmail is a Perl script that checks email availability at the POP3 server, filters it according to defined rules, and--depending on the selected method--gets the messages to the local mailbox and/or removes it from the server. It uses Perl libnet module and helps you escape from spam.
Perl Webmail is a CGI/mod_perl application that interfaces with external POP3 and SMTP services. It provides all the expected functionality of a mail client, such as read, reply, forward, delete, as well as sending and receiving attachments, storage for mail folders, contacts, and calendar notes.
KAKE PAD is a GUI text/file editor written entirely in Perl with the Perl/Tk module. It provides some advanced features that make it good for writting and debugging Perl and other types of scripts easily. Version 4.3 and later also supports plugins.
ptkdb is a debugger for Perl with a Tk GUI. Features include push button controls, restart, expression evaluation window, conditional breakpoints, and hot variables. This is not a GUI wrapper on the existing debugger, but a new debugger built from the ground up. It is compatible with Unix and Windows versions of Perl, and can be used to debug Apache CGI Perl scripts as they run on the server.
Society
Groupthink : Two Party System as Polyarchy : Corruption of Regulators : Bureaucracies : Understanding Micromanagers and Control Freaks : Toxic Managers : Harvard Mafia : Diplomatic Communication : Surviving a Bad Performance Review : Insufficient Retirement Funds as Immanent Problem of Neoliberal Regime : PseudoScience : Who Rules America : Neoliberalism : The Iron Law of Oligarchy : Libertarian Philosophy
Quotes
War and Peace : Skeptical Finance : John Kenneth Galbraith :Talleyrand : Oscar Wilde : Otto Von Bismarck : Keynes : George Carlin : Skeptics : Propaganda : SE quotes : Language Design and Programming Quotes : Random IT-related quotes : Somerset Maugham : Marcus Aurelius : Kurt Vonnegut : Eric Hoffer : Winston Churchill : Napoleon Bonaparte : Ambrose Bierce : Bernard Shaw : Mark Twain Quotes
Bulletin:
Vol 25, No.12 (December, 2013) Rational Fools vs. Efficient Crooks The efficient markets hypothesis : Political Skeptic Bulletin, 2013 : Unemployment Bulletin, 2010 : Vol 23, No.10 (October, 2011) An observation about corporate security departments : Slightly Skeptical Euromaydan Chronicles, June 2014 : Greenspan legacy bulletin, 2008 : Vol 25, No.10 (October, 2013) Cryptolocker Trojan (Win32/Crilock.A) : Vol 25, No.08 (August, 2013) Cloud providers as intelligence collection hubs : Financial Humor Bulletin, 2010 : Inequality Bulletin, 2009 : Financial Humor Bulletin, 2008 : Copyleft Problems Bulletin, 2004 : Financial Humor Bulletin, 2011 : Energy Bulletin, 2010 : Malware Protection Bulletin, 2010 : Vol 26, No.1 (January, 2013) Object-Oriented Cult : Political Skeptic Bulletin, 2011 : Vol 23, No.11 (November, 2011) Softpanorama classification of sysadmin horror stories : Vol 25, No.05 (May, 2013) Corporate bullshit as a communication method : Vol 25, No.06 (June, 2013) A Note on the Relationship of Brooks Law and Conway Law
History:
Fifty glorious years (1950-2000): the triumph of the US computer engineering : Donald Knuth : TAoCP and its Influence of Computer Science : Richard Stallman : Linus Torvalds : Larry Wall : John K. Ousterhout : CTSS : Multix OS Unix History : Unix shell history : VI editor : History of pipes concept : Solaris : MS DOS : Programming Languages History : PL/1 : Simula 67 : C : History of GCC development : Scripting Languages : Perl history : OS History : Mail : DNS : SSH : CPU Instruction Sets : SPARC systems 1987-2006 : Norton Commander : Norton Utilities : Norton Ghost : Frontpage history : Malware Defense History : GNU Screen : OSS early history
Classic books:
The Peter Principle : Parkinson Law : 1984 : The Mythical Man-Month : How to Solve It by George Polya : The Art of Computer Programming : The Elements of Programming Style : The Unix Hater’s Handbook : The Jargon file : The True Believer : Programming Pearls : The Good Soldier Svejk : The Power Elite
Most popular humor pages:
Manifest of the Softpanorama IT Slacker Society : Ten Commandments of the IT Slackers Society : Computer Humor Collection : BSD Logo Story : The Cuckoo's Egg : IT Slang : C++ Humor : ARE YOU A BBS ADDICT? : The Perl Purity Test : Object oriented programmers of all nations : Financial Humor : Financial Humor Bulletin, 2008 : Financial Humor Bulletin, 2010 : The Most Comprehensive Collection of Editor-related Humor : Programming Language Humor : Goldman Sachs related humor : Greenspan humor : C Humor : Scripting Humor : Real Programmers Humor : Web Humor : GPL-related Humor : OFM Humor : Politically Incorrect Humor : IDS Humor : "Linux Sucks" Humor : Russian Musical Humor : Best Russian Programmer Humor : Microsoft plans to buy Catholic Church : Richard Stallman Related Humor : Admin Humor : Perl-related Humor : Linus Torvalds Related humor : PseudoScience Related Humor : Networking Humor : Shell Humor : Financial Humor Bulletin, 2011 : Financial Humor Bulletin, 2012 : Financial Humor Bulletin, 2013 : Java Humor : Software Engineering Humor : Sun Solaris Related Humor : Education Humor : IBM Humor : Assembler-related Humor : VIM Humor : Computer Viruses Humor : Bright tomorrow is rescheduled to a day after tomorrow : Classic Computer Humor
The Last but not Least Technology is dominated by two types of people: those who understand what they do not manage and those who manage what they do not understand ~Archibald Putt. Ph.D
Copyright © 1996-2021 by Softpanorama Society. www.softpanorama.org was initially created as a service to the (now defunct) UN Sustainable Development Networking Programme (SDNP) without any remuneration. This document is an industrial compilation designed and created exclusively for educational use and is distributed under the Softpanorama Content License. Original materials copyright belong to respective owners. Quotes are made for educational purposes only in compliance with the fair use doctrine.
FAIR USE NOTICE This site contains copyrighted material the use of which has not always been specifically authorized by the copyright owner. We are making such material available to advance understanding of computer science, IT technology, economic, scientific, and social issues. We believe this constitutes a 'fair use' of any such copyrighted material as provided by section 107 of the US Copyright Law according to which such material can be distributed without profit exclusively for research and educational purposes.
This is a Spartan WHYFF (We Help You For Free) site written by people for whom English is not a native language. Grammar and spelling errors should be expected. The site contain some broken links as it develops like a living tree...
|
|
You can use PayPal to to buy a cup of coffee for authors of this site |
Disclaimer:
The statements, views and opinions presented on this web page are those of the author (or referenced source) and are not endorsed by, nor do they necessarily reflect, the opinions of the Softpanorama society. We do not warrant the correctness of the information provided or its fitness for any purpose. The site uses AdSense so you need to be aware of Google privacy policy. You you do not want to be tracked by Google please disable Javascript for this site. This site is perfectly usable without Javascript.
Last modified: March, 12, 2019