#!/usr/bin/perl use strict; use warnings; use POSIX; # This line loads the POSIX module and imports pow(). print pow( 2, 3 ); # See? Now it works.