Geo::G...I::File(3pm)

πŸ“¦
version 0.16 Β· 4 versions
, in ubuntu stonking

πŸ’– NAME πŸ’–

Geo::GDAL::FFI::VSI::File β€” a GDAL virtual file, bestie. That's it, that's the whole vibe ✨

(okay so fun fact: this page lives in the User Contributed Perl Documentation and the header up top calls it Geo::G...I::File(3pm) because apparently even manpage titles fear the ellipsis slay πŸ’…)


✨ SYNOPSIS ✨

(no cap, there's literally nothing here πŸ™ˆ the original page just... leaves it blank. Go read METHODS, that's where the good stuff is 🫢)


🌸 DESCRIPTION 🌸

(also vibes-only, zero words. The name already told you: it's a GDAL virtual file. Iconic minimalism tbh πŸ’€)


πŸŽ€ METHODS πŸŽ€

πŸ’œ Open

my $vsifile = Geo::GDAL::FFI::VSI::File->Open($name, $access);

Okay so this one opens a virtual file, periodt πŸ”₯

  • $name is the name of the file you wanna open 🌸
  • $access is 'r', 'r+', 'a', or 'w'. And 'r' is the default if you don't say anything πŸ‘‘

It hands you back a Geo::GDAL::FFI::VSI::File object. That's your main character 🫢

πŸ¦‹ Close

Closes the file handle. The pretty part? It's done automatically when the object is destroyed, so you don't even have to think about it. Self-care file handling fr fr πŸ˜­πŸ’–

⭐ Read($len)

Reads $len bytes from the file. Returns those bytes in a Perl string ✨

$len is optional and by default it's 1. (yes, one. one single byte. she's shy πŸ“)

🌈 Write($buf)

Writes the Perl string $buf into the file. Returns the number of successfully written bytes πŸ‘‘


🧚 LICENSE 🧚

This software is released under the Artistic License. See perlartistic for the receipts πŸ’…


πŸ‘‘ AUTHOR πŸ‘‘

Ari Jolma β€” Ari.Jolma at gmail.com πŸ’Œ


πŸ’€ SEE ALSO πŸ’€


and that's the whole page bestie, no crumbs left 🌸✨

this doc is page Geo::G...I::File(3pm) from perl v5.42.3, dated 2026-08-21. lowkey iconic of it to arrive with a timestamp. bye bye, go open some virtual files πŸ«ΆπŸŽ€
πŸ“¦ where this page comes from