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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T13:45:11+00:00 2026-05-15T13:45:11+00:00

Is it possible to re-create the Net::Telnet connection if I have its memory location

  • 0

Is it possible to re-create the Net::Telnet connection if I have its memory location ?

how can i turn Net::Telnet=GLOB(0x1b50ff0) string to a Net::Telnet object again ?

Thanks.

  • 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-15T13:45:12+00:00Added an answer on May 15, 2026 at 1:45 pm

    UPDATE

    You can not re-use your object in 2 separate processes as it seems from your comments you are trying to do – one will NOT see the other’s memory/address space. You can only do one of 3 things:

    1. Re-create the object from scratch to be the duplicate of the other object in a different program, but only if the object’s class supports serialization/de-serialization (usually done via saving object state using Data::Dumper, Storable or other methods). I don’t know if Net::Telnet can be handled that way.

      Just to be clear, your second program will obtain a COPY of the object once deserialized, which has nothing to do with the original object.

    2. Allow the client to talk to the server and send Telnet commands, which the server passes to Net::telnet object and tells the client the result. Basically, the server acting as a telnet proxy for the client. The client should refer to server’s Net::Telnet objects via their IDs, as mentioned in the registry explanation in my original answer.

    3. Use shared memory to store Net::Telnet object if the client and server reside on the same physical server.


    ORIGINAL ANSWER

    You can try looking at Acme::Ref which un-stringifies a reference… I never used it so can’t guarantee it works well or works with specifically Net::telnet.

    I agree with the comment posted above that if you need to do this, you most likely are not applying a correct solution to your underlying problem – it would help if you provided more details of what you’re trying to achieve high-level.

    You should almost never have to deal with stringified reference as opposed to an object reference. If you’re within the bounds of your own process, then you can pass the object reference around (or make it global if you really must). If you are using some sort of inter-process communication and an external process needs to refer to one of Net::Telnet objects in your program, you need to create a registry of Net::Telnet objects (could be just an array) and reference them by an index in the registry.

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

Sidebar

Related Questions

Is it possible to create a library that can be consumed from .Net 2.0
It's possible to call C functions through CREATE FUNCTION but how can .NET functions
Is it possible to create a VB.Net application which users can just run without
Is it possible to create/have a non-modal .net OpenFileDialog I have a UI element
Is it possible to create an inline delegate in vb.net like you can in
Possible Duplicate: Create a usercontrol instance programmatically in ASP.NET Dear Friend i have the
Within an ASP.Net MVC model binder is it possible to create an object of
Is it possible to create ASP.NET MVC applications in VS 2010? What should I
Is it possible to create subclass proxies in spring.net where the proxy is the
Is it somehow possible to create something like a masterpage (asp.net) in jQuery Mobile?

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.