require 'pp'
pp(ENV)

Usage: pp(any_variable)

just like var_dump in php