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.
|
---|
In Section
Seekers of Perl Wisdom