Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re^3: how to find the module of a specific function?

by stevieb (Canon)
on Oct 26, 2017 at 20:59 UTC ( [id://1202097]=note: print w/replies, xml ) Need Help??


in reply to Re^2: how to find the module of a specific function?
in thread how to find the module of a specific function?

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; }

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1202097]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others sharing their wisdom with the Monastery: (6)
As of 2024-03-28 22:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found