One example of what anonymonk is getting at here (and yes, I've done this for legitimate purposes a few times that I can recall):

use warnings; use strict; package Fraud; { sub new { return bless {}, shift; } sub login { print "HA-HA, I'm not who you think I am!\n"; } } package Trust; { sub new { return Fraud->new; } sub login { # recently was watching "That 70's Show" print "no login for you, dumbass\n"; } } package main; { my $obj = Trust->new; $obj->login; }

In reply to Re^3: how to find the module of a specific function? by stevieb
in thread how to find the module of a specific function? by rumpumpel1

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":