File: SneakyObject.pm

package info (click to toggle)
libconfig-model-backend-yaml-perl 2.134-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 172 kB
  • sloc: perl: 221; makefile: 2
file content (25 lines) | stat: -rw-r--r-- 488 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#
# This file is part of Config-Model-Backend-Yaml
#
# This software is Copyright (c) 2018 by Dominique Dumont.
#
# This is free software, licensed under:
#
#   The GNU Lesser General Public License, Version 2.1, February 1999
#
package SneakyObject;

use strict;
use warnings;
use Test::More;
use 5.10.1;

# class used with some fill.copyright.blanks.yml to check that object
# cannot be created from YAML files

sub DESTROY {
    fail "SneakyObject was loaded from YAML data\n";
}

1;