Merlin8001 has asked for the wisdom of the Perl Monks concerning the following question:
I get this error:#!/user/bin/perl use Filesys::SmbClient; use XBase; my $smb = new Filesys::SmbClient(username=> "MYUSER", password=> "**********", workgroup=> "LAZYGROUP"); my $smbfilehandle = $smb->open("smb://myserver/myshare/databases/readt +histable.dbf"); XBase::Base::SEEK_VIA_READ(0); my $thistable = new XBase("-", 'fh' => $smbfilehandle, 'ignorememo' => + 1); $thistable->dump_records("fs" => " | ", "rs" => " <-+\n", "fields" => [ "location", "filename" ]); $smb->closedir($thistable);
Can't call method "autoflush" without a package or objectt reference a +t /usr/lib/perl5/vendor_perl/5.8.1/XBase/Base.pm line 106.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Filesys::Smbclient and DBD::XBase
by meredith (Friar) on Mar 30, 2004 at 22:26 UTC | |
by lo_tech (Scribe) on Mar 30, 2004 at 23:27 UTC |