Re: Gnome2::VFS::FileInfo->get_mime_type

Most gnome-vfs functions also return a GnomeVFSResult, which is quite
helpful in this case:

  my ($result, $info) = Gnome2::VFS->get_file_info($file,
  warn "result: $result";

That gives "result: error-not-found".

Ah, thanks - it was my fault then. Good to know :p


Gavin Brown
e: gavin brown uk com
PGP/GPG key ID: 891D8FCA

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]