Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: keeping something in memory after the end of script

by Corion (Patriarch)
on Apr 15, 2016 at 10:41 UTC ( [id://1160505]=note: print w/replies, xml ) Need Help??


in reply to keeping something in memory after the end of script

There is no way to keep data "in memory" without also having a process attached to it.

You will either have to stick the data into a file or into some kind of database.

If you want to be notified of file changes, keep a process running and look at the inotify modules.

  • Comment on Re: keeping something in memory after the end of script

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1160505]
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-04-23 09:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found