# warning, pseudocode foo(4); # prints "4" foo(); # prints "4" sub foo { static int bar; bar = shift() unless defined bar; print bar; }