GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
XT::Files::File(3) User Contributed Perl Documentation XT::Files::File(3)

XT::Files::File - file object for XT::Files

Version 0.002

    use XT::Files::File;
    my $file = XT::Files::File->new( name => 'lib/Local/Module.pm', is_module => 1 );
    $file->is_module();  # returns 1
    $file->is_pod();     # returns empty string
    $file->is_script();  # returns empty string
    $file->is_test();    # returns empty string

The "XT::Files::File" object is used by XT::Files to represent files that should be tested.

Returns a new "XT::Files::File" object. "new" takes a hash or hash ref with its arguments.

The "name" argument is the name of the file and is required.

The arguments "is_module", "is_pod", "is_script" and "is_test" are optional and default to false. They specify what kind of file it is.

Test::XTFiles, XT::Files

Please report any bugs or feature requests through the issue tracker at <https://github.com/skirmess/XT-Files/issues>. You will be notified automatically of any progress on your issue.

This is open source software. The code repository is available for public review and contribution under the terms of the license.

<https://github.com/skirmess/XT-Files>

  git clone https://github.com/skirmess/XT-Files.git

Sven Kirmess <sven.kirmess@kzone.ch>

This software is Copyright (c) 2018-2019 by Sven Kirmess.

This is free software, licensed under:

  The (two-clause) FreeBSD License
2019-08-24 perl v5.40.2

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.