sub foo; # declaration foo; # call the function sub foo { ... } # definition