Re: dbm-file versions

2004-09-13 Thread Johann Spies
On Thu, Sep 09, 2004 at 02:57:32PM -0400, Chris Devers wrote: > On Thu, 9 Sep 2004, Johann Spies wrote: > > >We have a situation that we need to open a dbm-file but cannot do so > >using perl version 5.8.4-2 on Debian Sarge. The following script > >fails, but the same s

dbm-file versions

2004-09-09 Thread Johann Spies
;/tmp/globaldb.db"; tie(%hash,"DB_File",$dbfile,O_RDONLY) || die "Cannot open $dbfile [$!]"; untie %hash; Is there a way to read that file with perl 5.8? Regards Johann -- Johann Spies Telefoon: 021-808 4036 Informasietegnologie, Universiteit van Stellenbosch &

Re: Mailing a file as an attachment

2001-06-22 Thread Johann Spies
On Linux you can use "mpack filename emailaddress". It will ask you for a subject and send it as a mime attachment. I don't have a perl answer though as I am a perl beginner. Johann -- Johann Spies Informasietegnologie Universiteit van Stellenbosch "What? know ye n