http://qs321.pair.com?node_id=947572


in reply to Opening Excel sheet through getcwd

I looks like you haven't included the Cwd module. Do that and try cwd() as follows:

use strict; use warnings; use Cwd; ... # Then later... my $filename = cwd() . '/somefile.xls',

--
John.