| 
 | 
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 | |||||||
WARNING: In general, you should be using 
my instead of 
local, because it's 
faster and safer. Exceptions to this include the global punctuation variables, global filehandles and 
formats, and direct manipulation of the Perl symbol table itself. 
local is mostly used 
when the current value of a variable must be visible to called subroutines.
Synopsis:
A local modifies 
its listed variables to be "local" to the enclosing block, 
eval, or 
do FILE --and to any 
subroutine called from within that block. A 
local just gives temporary 
values to global (meaning package) variables. It does not create a local variable. This is known 
as dynamic scoping. Lexical scoping is done with 
my, which works more 
like C's auto declarations.
Some types of lvalues can be localized as well: hash and array elements and slices, conditionals (provided that their result is always localizable), and symbolic references. As for simple variables, this creates new, dynamically scoped values.
If more than one variable or expression is given to 
local, they must be 
placed in parentheses. This operator works by saving the current values of those variables in its argument 
list on a hidden stack and restoring them upon exiting the block, subroutine, or eval. This means that 
called subroutines can also reference the local variable, but not the global one. The argument list 
may be assigned to if desired, which allows you to initialize your local variables. (If no initializer 
is given for a particular variable, it is created with an undefined value.)
Because local 
is a run-time operator, it gets executed each time through a loop. Consequently, it's more efficient 
to localize your variables outside the loop.
A local is 
simply a modifier on an lvalue expression. When you assign to a 
localized variable, 
the local doesn't 
change whether its list is viewed as a scalar or an array. So
both supply a list context to the right-hand side, while
supplies a scalar context.
If you localize a special variable, you'll be giving a new value to it, but its magic won't go away. That means that all side-effects related to this magic still work with the localized value.
This feature allows code like this to work :
Note, however, that this restricts localization of some values ; for example, the following statement dies, as of perl 5.10.0, with an error Modification of a read-only value attempted, because the $1 variable is magical and read-only :
One exception is the default scalar variable:
local($_) will always 
strip all magic from $_, to make it possible to safely reuse $_ in a subroutine.WARNING: Localization of tied arrays and hashes does not currently work as described. This will be fixed in a future release of Perl; in the meantime, avoid code that relies on any particular behavior of localising tied arrays or hashes (localising individual elements is still okay). See Localising Tied Arrays and Hashes Is Broken in perl58delta for more details.
The construct
creates a whole new symbol table entry for the glob name in the current package. That 
means that all variables in its glob slot ($name, @name, %name, &name, and the name filehandle) 
are dynamically reset.
This implies, among other things, that any magic eventually carried by those variables is locally 
lost. In other words, saying 
local */ will not 
have any effect on the internal value of the input record separator.
It's also worth taking a moment to explain what happens when you 
localize a member 
of a composite type (i.e. an array or hash element). In this case, the element is 
localized by name. 
This means that when the scope of the 
local() ends, the 
saved value will be restored to the hash element whose key was named in the 
local(), or the array 
element whose index was named in the 
local(). If that element 
was deleted while the local() 
was in effect (e.g. by a 
delete() from a hash 
or a shift() 
of an array), it will spring back into existence, possibly extending an array and filling in the skipped 
elements with undef. 
For instance, if you say
Perl will print
The behavior of local() on non-existent members of composite types is subject to change in future.
You can use the delete
local $array[$idx] 
and delete
local $hash{key} constructs 
to delete a composite type entry for the current block and restore it when it ends. They return the 
array/hash value before the localization, which means that they are respectively equivalent to
and
except that for those the 
local is scoped to 
the do block. Slices 
are also accepted.
It is possible to return a modifiable value from a subroutine. To do this, you have to declare the subroutine to return an lvalue.
The scalar/list context for the subroutine and for the right-hand side of assignment is determined as if the subroutine call is replaced by a scalar. For example, consider:
Both subroutines here are called in a scalar context, while in:
and in:
all the subroutines are called in a list context.
Lvalue subroutines are convenient, but you have to keep in mind that, when used with objects, they may violate encapsulation. A normal mutator can check the supplied argument before setting the attribute it is protecting, an lvalue subroutine cannot. If you require any special processing when storing and retrieving the values, consider using the CPAN module Sentinel or something similar.
WARNING: Lexical subroutines are still experimental. The feature may be modified or removed in future versions of Perl.
Lexical subroutines are only available under the 
use feature 'lexical_subs' 
pragma, which produces a warning unless the "experimental::lexical_subs" warnings category is disabled.
Beginning with Perl 5.18, you can declare a private subroutine with 
my or 
state. As with state 
variables, the state 
keyword is only available under 
use feature 'state' 
or use 5.010 or 
higher.
These subroutines are only visible within the block in which they are declared, and only after that declaration:
To use a lexical subroutine from inside the subroutine itself, you must predeclare it. The 
sub foo {...} subroutine definition syntax respects any previous 
my
sub; or state
sub; declaration.
state sub 
vs my
sub What is the difference between "state" subs and "my" subs? Each time that execution enters a block when "my" subs are declared, a new copy of each sub is created. "State" subroutines persist from one execution of the containing block to the next.
So, in general, "state" subroutines are faster. But "my" subs are necessary if you want to create closures:
In this example, a new $x is created when whatever is called, and also 
a new inner , which can see the new $x . A "state" sub will only see the
$x from the first call to whatever .
our subroutinesLike our $variable 
, our
sub creates a lexical 
alias to the package subroutine of the same name.
The two main uses for this are to switch back to using the package sub inside an inner scope:
and to make a subroutine visible to other packages in the same scope:
WARNING: The mechanism described in this section was originally the only way to simulate pass-by-reference in older versions of Perl. While it still works fine in modern versions, the new reference mechanism is generally easier to work with. See below.
Sometimes you don't want to pass the value of an array to a subroutine but rather the name of it, 
so that the subroutine can modify the global copy of it rather than working with a local copy. In perl 
you can refer to all objects of a particular name by prefixing the name with a star: *foo 
. This is often known as a "typeglob", because the star on the front can be thought of as a wildcard 
match for all the funny prefix characters on variables and subroutines and such.
When evaluated, the typeglob produces a scalar value that represents all the objects of that name, 
including any filehandle, format, or subroutine. When assigned to, it causes the name mentioned to refer 
to whatever * value was assigned to it. Example:
Scalars are already passed by reference, so you can modify scalar arguments without using this mechanism 
by referring explicitly to $_[0] etc. You can modify all the elements of an array by passing 
all the elements as scalars, but you have to use the * mechanism (or the equivalent reference 
mechanism) to push,
pop, or change 
the size of an array. It will certainly be faster to pass the typeglob (or reference).
Even if you don't want to modify an array, this mechanism is useful for passing multiple arrays in a single LIST, because normally the LIST mechanism will merge all the array values so that you can't extract out the individual arrays. For more on typeglobs, see Typeglobs and Filehandles in perldata.
Despite the existence of 
my, there are still three 
places where the local 
operator still shines. In fact, in these three places, you must use 
local instead of
my.
The global variables, 
   like @ARGV or the punctuation variables, must be 
   localized with
   local(). 
   This block reads in /etc/motd, and splits it up into chunks separated by lines of equal signs, 
   which are placed in @Fields .
It particular, it's important to 
   localize $_ in 
   any routine that assigns to it. Look out for implicit assignments in while conditionals.
A function that needs 
   a filehandle of its own must use 
   local() on a complete 
   typeglob. This can be used to create new symbol table entries:
See the Symbol module for a way to create anonymous symbol table entries.
Because assignment of a reference to a typeglob creates an alias, this can be used to create what is effectively a local function, or at least, a local alias.
See Function Templates in perlref for more about manipulating functions by name in this way.
You can 
   localize just one 
   element of an aggregate. Usually this is done on dynamics:
But it also works on lexically declared aggregates.
If you want to pass more than one array or hash into a function--or return them from it--and have them maintain their integrity, then you're going to have to use an explicit pass-by-reference. Before you do that, you need to understand references as detailed in perlref. This section may not make much sense to you otherwise.
Here are a few simple examples. First, let's pass in several arrays to a function and have it
pop all of then, 
returning a new list of all their former last elements:
Here's how you might write a function that returns a list of keys occurring in all the hashes passed to it:
So far, we're using just the normal list return mechanism. What happens if you want to pass or return a hash? Well, if you're using only one of them, or you don't mind them concatenating, then the normal calling convention is ok, although a little expensive.
Where people get into trouble is here:
That syntax simply won't work. It sets just @a or %a and clears the
@b or %b . Plus the function didn't get passed into two separate arrays or 
hashes: it got one long list in @_ , as always.
If you can arrange for everyone to deal with this through references, it's cleaner code, although not so nice to look at. Here's a function that takes two array references as arguments, returning the two array elements in order of how many elements they have in them:
It turns out that you can actually do this also:
Here we're using the typeglobs to do symbol table aliasing. It's a tad subtle, though, and also won't 
work if you're using my 
variables, because only globals (even in disguise as 
locals) are in the 
symbol table.
If you're passing around filehandles, you could usually just use the bare typeglob, like *STDOUT 
, but typeglobs references work, too. For example:
If you're planning on generating new filehandles, you could do this. Notice to pass back just the bare *FH, not its reference.
Perl supports a very limited kind of compile-time argument checking using function prototyping. This can be declared in either the PROTO section or with a prototype attribute. If you declare either of
then mypush() takes arguments exactly like 
push() does.
If subroutine signatures are enabled (see Signatures), then the shorter PROTO syntax is unavailable, because it would clash with signatures. In that case, a prototype can only be declared in the form of an attribute.
The function declaration must be visible at compile time. The prototype affects only interpretation 
of new-style calls to the function, where new-style is defined as not using the & character. 
In other words, if you call it like a built-in function, then it behaves like a built-in function. If 
you call it like an old-fashioned subroutine, then it behaves like an old-fashioned subroutine. It naturally 
falls out from this rule that prototypes have no influence on subroutine references like \&foo 
or on indirect subroutine calls like &{$subref} or $subref->() .
Method calls are not influenced by prototypes either, because the function to be called is indeterminate at compile time, since the exact code called depends on inheritance.
Because the intent of this feature is primarily to let you define subroutines that work like built-in functions, here are prototypes for some other functions that parse almost exactly like the corresponding built-in.
Any backslashed prototype character represents an actual argument that must start with that character 
(optionally preceded by my,
our or 
local), with the exception 
of $ , which will accept any scalar lvalue expression, such as $foo = 7 or
my_function()->[0] . The value passed as part of @_ will be a reference to 
the actual argument given in the subroutine call, obtained by applying \ to that argument.
You can use the \[] backslash group notation to specify more than one allowed argument 
type. For example:
will allow calling myref() as
and the first argument of myref() will be a reference to a scalar, an array, a hash, a code, or a glob.
Unbackslashed prototype characters have special meanings. Any unbackslashed @ or
% eats all remaining arguments, and forces list context. An argument represented by
$ forces scalar context. An & requires an anonymous subroutine, which, if 
passed as the first argument, does not require the 
sub keyword or a subsequent 
comma.
A * allows the subroutine to accept a bareword, constant, scalar expression, typeglob, 
or a reference to a typeglob in that slot. The value will be available to the subroutine either as a 
simple scalar, or (in the latter two cases) as a reference to the typeglob. If you wish to always convert 
such arguments to a typeglob reference, use Symbol::qualify_to_ref() as follows:
The + prototype is a special alternative to $ that will act like 
\[@%] when given a literal array or hash variable, but will otherwise force scalar context on 
the argument. This is useful for functions which should accept either a literal array or an array reference 
as the argument:
When using the + prototype, your function must check that the argument is of an acceptable 
type.
A semicolon (; ) separates mandatory arguments from optional arguments. It is redundant 
before @ or % , which gobble up everything else.
As the last character of a prototype, or just before a semicolon, a @ or a % 
, you can use _ in place of $ : if this argument is not provided, $_ 
will be used instead.
Note how the last three examples in the table above are treated specially by the parser. mygrep() 
is parsed as a true list operator, myrand() is parsed as a true unary operator with unary 
precedence the same as rand(), 
and mytime() is truly without arguments, just like 
time(). That is, if 
you say
you'll get mytime() + 2 , not mytime(2) , which is how it would be parsed 
without a prototype. If you want to force a unary function to have the same precedence as a list operator, 
add ; to the end of the prototype:
The interesting thing about & is that you can generate new syntax with it, provided 
it's in the initial position: 
That prints "unphooey" . (Yes, there are still unresolved issues having to do with visibility 
of @_ . I'm ignoring that question for the moment. (But note that if we make @_ 
lexically scoped, those anonymous subroutines can act like closures... (Gee, is this sounding a little 
Lispish? (Never mind.))))
And here's a reimplementation of the Perl 
grep operator: 
Some folks would prefer full alphanumeric prototypes. Alphanumerics have been intentionally left out of prototypes for the express purpose of someday in the future adding named, formal parameters. The current mechanism's main goal is to let module writers provide better diagnostics for module users. Larry feels the notation quite understandable to Perl programmers, and that it will not intrude greatly upon the meat of the module, nor make it harder to read. The line noise is visually encapsulated into a small pill that's easy to swallow.
If you try to use an alphanumeric sequence in a prototype you will generate an optional warning - "Illegal character in prototype...". Unfortunately earlier versions of Perl allowed the prototype to be used as long as its prefix was a valid prototype. The warning may be upgraded to a fatal error in a future version of Perl once the majority of offending code is fixed.
It's probably best to prototype new functions, not retrofit prototyping into older ones. That's because you must be especially careful about silent impositions of differing list versus scalar contexts. For example, if you decide that a function should take just one parameter, like this:
and someone has been calling it with an array or expression returning a list:
Then you've just supplied an automatic 
scalar in front of 
their argument, which can be more than a bit surprising. The old @foo which used to hold 
one thing doesn't get passed in. Instead, func() now gets passed in a 1 ; 
that is, the number of elements in @foo . And the 
split gets called 
in scalar context so it starts scribbling on your @_ parameter list. Ouch!
If a sub has both a PROTO and a BLOCK, the prototype is not applied until after the BLOCK is completely defined. This means that a recursive function with a prototype has to be predeclared for the prototype to take effect, like so:
This is all very powerful, of course, and should be used only in moderation to make the world a better place.
Functions with a prototype of () are potential candidates for inlining. If the result 
after optimization and constant folding is either a constant or a lexically-scoped scalar which has 
no other references, then it will be used in place of function calls made without & . Calls 
made using & are never inlined. (See constant.pm for an easy way to declare most 
constants.)
The following functions would all be inlined:
(Be aware that the last example was not always inlined in Perl 5.20 and earlier, which did not behave 
consistently with subroutines containing inner scopes.) You can countermand inlining by using an explicit
return:
As alluded to earlier you can also declare inlined subs dynamically at BEGIN time if their body consists of a lexically-scoped scalar which has no other references. Only the first example here will be inlined:
A not so obvious caveat with this (see [RT #79908]) is that the variable will be immediately inlined, 
and will stop behaving like a normal lexical variable, e.g. this will print 79907 , not
79908 :
As of Perl 5.22, this buggy behavior, while preserved for backward compatibility, is detected and emits a deprecation warning. If you want the subroutine to be inlined (with no warning), make sure the variable is not used in a context where it could be modified aside from where it is declared.
Perl 5.22 also introduces the experimental "const" attribute as an alternative. (Disable the "experimental::const_attr" 
warnings if you want to use it.) When applied to an anonymous subroutine, it forces the sub to be called 
when the sub expression 
is evaluated. The return value is captured and turned into a constant subroutine:
The return value of INLINED in this example will always be 54321, regardless of later 
modifications to $x. You can also put any arbitrary code inside the sub, at it will be executed immediately 
and its return value captured the same way.
If you really want a subroutine with a () prototype that returns a lexical variable 
you can easily force it to not be inlined by adding an explicit 
return:
The easiest way to tell if a subroutine was inlined is by using
B::Deparse. Consider this example 
of two subroutines returning 1 , one with a () prototype causing it to be 
inlined, and one without (with deparse output truncated for clarity):
If you redefine a subroutine that was eligible for inlining, you'll get a warning by default. You can use this warning to tell whether or not a particular subroutine is considered inlinable, since it's different than the warning for overriding non-inlined subroutines:
The warning is considered severe enough not to be affected by the -w switch (or its absence) 
because previously compiled invocations of the function will still be using the old value of the function. 
If you need to be able to redefine the subroutine, you need to ensure that it isn't inlined, either 
by dropping the () prototype (which changes calling semantics, so beware) or by thwarting 
the inlining mechanism in some other way, e.g. by adding an explicit 
return, as mentioned 
above:
Many built-in functions may be overridden, though this should be tried only occasionally and for good reason. Typically this might be done by a package attempting to emulate missing built-in functionality on a non-Unix system.
Overriding may be done only by importing the name from a module at compile time--ordinary predeclaration 
isn't good enough. However, the 
use subs pragma lets 
you, in effect, predeclare subs via the import syntax, and these names may then override built-in ones:
To unambiguously refer to the built-in form, precede the built-in name with the special package qualifier
CORE:: . For example, saying CORE::open() always refers to the built-in
open(), even 
if the current package has imported some other subroutine called &open() from elsewhere. 
Even though it looks like a regular function call, it isn't: the CORE:: prefix in that case is part 
of Perl's syntax, and works for any keyword, regardless of what is in the CORE package. Taking a reference 
to it, that is, \&CORE::open , only works for some keywords. See
CORE.
Library modules should not in general export built-in names like 
open or 
chdir as part of their 
default @EXPORT list, because these may sneak into someone else's namespace and change 
the semantics unexpectedly. Instead, if the module adds that name to @EXPORT_OK , then 
it's possible for a user to import the name explicitly, but not implicitly. That is, they could say
and it would import the 
open override. But 
if they said
they would get the default imports without overrides.
The foregoing mechanism for overriding built-in is restricted, quite deliberately, to the package 
that requests the import. There is a second method that is sometimes applicable when you wish to override 
a built-in everywhere, without regard to namespace boundaries. This is achieved by importing a sub into 
the special namespace CORE::GLOBAL:: . Here is an example that quite brazenly replaces 
the glob operator 
with something that understands regular expressions.
And here's how it could be (ab)used:
The initial comment shows a contrived, even dangerous example. By overriding 
glob globally, you 
would be forcing the new (and subversive) behavior for the 
glob operator for
every namespace, without the complete cognizance or cooperation of the modules that own those 
namespaces. Naturally, this should be done with extreme caution--if it must be done at all.
The REGlob example above does not implement all the support needed to cleanly override 
perl's glob operator. 
The built-in glob 
has different behaviors depending on whether it appears in a scalar or list context, but our REGlob 
doesn't. Indeed, many perl built-in have such context sensitive behaviors, and these must be adequately 
supported by a properly written override. For a fully functional example of overriding 
glob, study the implementation 
of File::DosGlob in the standard library.
When you override a built-in, your replacement should be consistent (if possible) with the built-in 
native syntax. You can achieve this by using a suitable prototype. To get the prototype of an overridable 
built-in, use the prototype 
function with an argument of "CORE::builtin_name" (see
prototype).
Note however that some built-ins can't have their syntax expressed by a prototype (such as 
system or 
chomp). If you override 
them you won't be able to fully mimic their original syntax.
The built-ins do,
require and
glob can also 
be overridden, but due to special magic, their original syntax is preserved, and you don't have to define 
a prototype for their replacements. (You can't override the 
do BLOCK syntax, though).
require 
has special additional dark magic: if you invoke your 
require replacement 
as require Foo::Bar 
, it will actually receive the argument "Foo/Bar.pm" in @_. See
require.
And, as you'll have noticed from the previous example, if you override 
glob, the <*> 
glob operator is overridden as well.
In a similar fashion, overriding the 
readline function 
also overrides the equivalent I/O operator <FILEHANDLE> . Also, overriding 
readpipe also overrides 
the operators `` and 
qx//.
Finally, some built-ins (e.g. 
exists or 
grep) can't be overridden.
If you call a subroutine that is undefined, you would ordinarily get an immediate, fatal error complaining 
that the subroutine doesn't exist. (Likewise for subroutines being used as methods, when the method 
doesn't exist in any base class of the class's package.) However, if an AUTOLOAD subroutine 
is defined in the package or packages used to locate the original subroutine, then that AUTOLOAD 
subroutine is called with the arguments that would have been passed to the original subroutine. The 
fully qualified name of the original subroutine magically appears in the global $AUTOLOAD variable of 
the same package as the AUTOLOAD routine. The name is not passed as an ordinary argument 
because, er, well, just because, that's why. (As an exception, a method call to a nonexistent 
import or unimport 
method is just skipped instead. Also, if the AUTOLOAD subroutine is an XSUB, there are other ways to 
retrieve the subroutine name. See
Autoloading with 
XSUBs in perlguts for details.)
Many AUTOLOAD routines load in a definition for the requested subroutine using eval(), 
then execute that subroutine using a special form of goto() that erases the stack frame of the 
AUTOLOAD routine without a trace. (See the source to the standard module documented in
AutoLoader, for example.) But 
an AUTOLOAD routine can also just emulate the routine and never define it. For example, 
let's pretend that a function that wasn't defined should just invoke 
system with those 
arguments. All you'd do is:
In fact, if you predeclare functions you want to call that way, you don't even need parentheses:
A more complete example of this is the Shell module on CPAN, which can treat undefined subroutine calls as calls to external programs.
Mechanisms are available to help modules writers split their modules into autoloadable files. See the standard AutoLoader module described in AutoLoader and in AutoSplit, the standard SelfLoader modules in SelfLoader, and the document on adding C functions to Perl code in perlxs.
A subroutine declaration or definition may have a list of attributes associated with it. If such 
an attribute list is present, it is broken up at space or colon boundaries and treated as though a
use attributes 
had been seen. See attributes 
for details about what attributes are currently supported. Unlike the limitation with the obsolescent
use attrs , the
sub : ATTRLIST syntax works to associate the attributes with a pre-declaration, and not 
just with a subroutine definition.
The attributes must be valid as simple identifier names (without any punctuation other than the '_' character). They may have a parameter list appended, which is only checked for whether its parentheses ('(',')') nest properly.
Examples of valid syntax (even though the attributes are unknown):
Examples of invalid syntax:
The attribute list is passed as a list of constant strings to the code which associates them with the subroutine. In particular, the second example of valid syntax above currently looks like this in terms of how it's parsed and invoked:
For further details on attribute lists and their manipulation, see attributes and Attribute::Handlers.
See Function Templates in perlref for more about references and closures. See perlxs if you'd like to learn about calling C subroutines from Perl. See perlembed if you'd like to learn about calling Perl subroutines from C. See perlmod to learn about bundling up your functions in separate files. See perlmodlib to learn what library modules come standard on your system. See perlootut to learn how to make object method calls.
| 
       | 
      Switchboard | ||||
| Latest | |||||
| Past week | |||||
| Past month | |||||
	
Google matched content | 
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