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 4610992
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T01:12:29+00:00 2026-05-22T01:12:29+00:00

How are LISTS internally represented in PERL? I had someone telling me it is

  • 0

How are LISTS internally represented in PERL?
I had someone telling me it is represented as linked lists, True? If so won’t that be a overhead on the interpreter? I’m unable to visualize it.

  • 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-22T01:12:30+00:00Added an answer on May 22, 2026 at 1:12 am

    Lists in Perl are stored on the stack. It is an array, resized when necessary, with a second array used to store pointers to demarcate different lists.

    If you meant arrays, not lists, Perl arrays consist of a C array of pointers, an allocated size of that array, an offset to the current beginning of the Perl array in the C array, and a used length.

    I don’t know what you mean by “overhead”. Running programs is an overhead on the interpreter in general 🙂 But in fact Perl does not use linked lists for arrays or lists.

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

Sidebar

Related Questions

How are lists in python stored internally? Is it an array? A linked list?
I have noticed that lazy sequences in Clojure seem to be represented internally as
I have two lists of strings that are passed into a function. They are
I'm beginning to work on mailing-list software we use internally (EDIT: though we send
Lists say I have a list List<int> {1,2,3,4,5} Rotate means: => {2,3,4,5,1} => {3,4,5,1,2}
PHP lists this example as a way to retrieve database data. <?php $return =
i have three lists with the same number of elements in each other, i
I have a lists: my_list = ['abc-123', 'def-456', 'ghi-789', 'abc-456', 'def-111', 'qwe-111'] bad =
There are two lists: List<string> excluded = new List<string>() { .pdf, .jpg }; List<string>
I have these three lists with the same number of elements List<String>competitoinsIDs = new

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.