summaryrefslogtreecommitdiffstats
path: root/perl_checker_fake_packages/Net
diff options
context:
space:
mode:
Diffstat (limited to 'perl_checker_fake_packages/Net')
-rw-r--r--perl_checker_fake_packages/Net/DNS.pm7
-rw-r--r--perl_checker_fake_packages/Net/Ping.pm9
2 files changed, 16 insertions, 0 deletions
diff --git a/perl_checker_fake_packages/Net/DNS.pm b/perl_checker_fake_packages/Net/DNS.pm
new file mode 100644
index 0000000..e300f12
--- /dev/null
+++ b/perl_checker_fake_packages/Net/DNS.pm
@@ -0,0 +1,7 @@
+package Net::DNS;
+
+package Net::DNS::Resolver;
+
+sub new {}
+sub query {}
+sub answer {}
diff --git a/perl_checker_fake_packages/Net/Ping.pm b/perl_checker_fake_packages/Net/Ping.pm
new file mode 100644
index 0000000..1a8f8a9
--- /dev/null
+++ b/perl_checker_fake_packages/Net/Ping.pm
@@ -0,0 +1,9 @@
+package Net::Ping;
+
+sub new {
+ my ($_class, @_l) = @_;
+}
+
+sub ping {
+ my ($_class, $_host, $_o_timeout) = @_;
+}