Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3698738
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 19, 20262026-05-19T05:01:06+00:00 2026-05-19T05:01:06+00:00

Possible Duplicate: In Perl, how can I check from which module a given function

  • 0

Possible Duplicate:
In Perl, how can I check from which module a given function was imported?

Hi guys!
I am using my weekend time to comb through our web app to get a better understanding of it. It uses numerous modules whose functions get pulled into it and my question is this.. how can I determine the module where a function originates?

Reason I ask is because I am using print STDERR lines sprinkled here and there to understand the way data moves around (it has demystified things greatly).. here’s an example….

 ($file_data,$count) = lookup_files($customer,$site,'','0',$d);

What I’m not sure of is where lookup_files() is originating from. What I’d like to see is this….

 ($file_data,$count) = lookup_files($customer,$site,'','0',$d);
 print STDERR "lookup_files originates here " . <CODE TO SHOW ME WHERE lookup_files IS DEFINED>;

Any advice on where to begin would be greatly appreciated. The webapp uses tons of use modules and instead of selectively importing only what’s needed, each use seems to bring all functions in.

I know my terminology might be incorrect when referring to “method”, “parent” and so on in regards to Perl. If anyone would like to correct me on it that would be appreciated too. I am at best a beginner with this stuff. Janie

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-19T05:01:07+00:00Added an answer on May 19, 2026 at 5:01 am

    Take a look at the core module Devel::Peek

    http://perldoc.perl.org/Devel/Peek.html#A-reference-to-a-subroutine

    The output of that module’s functions will tell you where a subroutine comes from

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Possible Duplicate: In Perl, how can I check from which module a given function
Possible Duplicate: How can I remove external links from HTML using Perl? Alright, i'm
Possible Duplicate: How can I read lines from the end of file in Perl?
Possible Duplicate: How do you send email from a Java app using Gmail? How
Possible Duplicate: How can I take screenshots with Perl? How can I take a
Related/Possible duplicate: How can I validate dates in Perl? I have created a script
Possible Duplicate: How can I extract images from a PDF file? I am able
Possible Duplicate: How can I iterate through nested arrays in Perl? I am trying
Possible Duplicate: How can I convert OO Perl to Java? Hello. I have a
Possible Duplicate: How can I manually interpolate string escapes in a Perl string? I'm

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.