Net::S...::Local(3pm)

πŸ“¦
version 1.93 Β· 6 versions
, in debian bookworm, debian trixie, ubuntu jammy, ubuntu noble, ubuntu resolute, ubuntu stonking

πŸ’– NAME πŸ’–

Net::SFTP::Foreign::Local β€” bestie, it's the whole vibe of the Net::SFTP::Foreign API... but pointed at your local file system instead of some far-away server. 🌸

It's the Net::SFTP::Foreign manpage, this one, living its life as a Perl module doc (that 3pm in the header is just telling you "yes girl, I'm a Perl module, third section, move along"). πŸ‘‘


✨ SYNOPSIS ✨

Okay so here's the actual code, no edits, no cap:

my $localfs = Net::SFTP::Foreign::Local->new;
my @find = $localfs->find('.', no_wanted => qr/(?:\/|^).svn/);

Look at her. Creating an object, running a find, filtering out .svn stuff with a regex. Iconic behavior honestly. πŸ¦‹


🌈 DESCRIPTION 🌈

So basically: this module is a partial implementation of the Net::SFTP::Foreign interface, except it's all about the local filesystem. Same API shape, but your own machine is the main character. πŸ’…

The methods currently implemented are:

  • stat
  • lstat
  • ls
  • find

And that's the whole roster, bestie. Four methods. She's not trying to be everything, she's just trying to be that. πŸŽ€

Heads up fr fr: it's partial β€” the original doc says so. So don't go assuming methods that aren't on this list are hanging around. They are not. Periodt. πŸ’€

Copyright (c) 2006 Salvador FandiΓ±o.

All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. 🌟


And that's the page! This little cutie came from the User Contributed Perl Documentation collection, got generated by perl v5.32.0, and the page itself is dated 2021-01-23. Mwah, take care of her. πŸ’œβœ¨

πŸ“¦ where this page comes from