File::...irtual(3pm)
π File::Find::Rule::Filesys::Virtual π
okay bestie, so this is a page from the Perl manual (section 3pm, the module pages, iykyk) and it's literally called File::...irtual(3pm) which is giving "the man page system ran out of room and started abbreviating" energy. iconic honestly.
β¨ NAME β¨
File::Find::Rule::Filesys::Virtual β File::Find::Rule, but adapted to Filesys::Virtual. that's it, that's the whole pitch π«Ά
πΈ SYNOPSIS πΈ
here's the vibe, copy-paste ready, no notes:
use File::Find::Rule::Filesys::Virtual;
use Filesys::Virtual::Ninja;
my $vfs = Filesys::Virtual::Ninja->new;
my @virtual_ninja_foos = File::Find::Rule::Filesys::Virtual
->virtual( $vfs )
->name( "foo.*' )
->in( '/' );
yes the quote situation in ->name( "foo.*' ) is a whole mess (starts with ", ends with ', no cap) but that is exactly what the original says so we are leaving it alone, periodt. π
π DESCRIPTION π
so the way this works: this module lets you use File::Find::Rule file-finding semantics on filesystems that derive from Filesys::Virtual. same energy as File::Find::Rule, but make it virtual. slay. β¨
π¦ CAVEATS π¦
ngl, there's a warning here and you need to hear it:
- the File::Find emulation will probably not be full enough for other
File::Find::Ruleextensions to do their thang. π
so if some other extension is trying to ride on top of this, temper your expectations bestie. it's giving "good enough for the basics, not a full File::Find cosplay".
π AUTHOR π
Richard Clamp <richardc@unixbeard.net> β king behaviour, we love to see it. π
π COPYRIGHT π
Copyright 2004, 2006 Richard Clamp. All Rights Reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
π SEE ALSO π
go touch grass in these other docs, they're all part of the same friend group:
File::Find::RuleFilesys::VirtualNet::DAV::Server
and that's the whole page fr fr. this one came off perl v5.36.0, dated 2022-12-08, courtesy of User Contributed Perl Documentation β mwah, thanks for reading, ily, go find some virtual files. πβ¨π¦
π¦ where this page comes from
- debian bookworm: libfile-find-rule-filesys-virtual-perl 1.22-4 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- debian trixie: libfile-find-rule-filesys-virtual-perl 1.22-4 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu noble: libfile-find-rule-filesys-virtual-perl 1.22-4 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu resolute: libfile-find-rule-filesys-virtual-perl 1.22-4 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: libfile-find-rule-filesys-virtual-perl 1.22-4 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms