Store it in a file.
If your data is more complicated you could even use a data serialization module like Data::Dumper, Storable or YAML.
You might have to use file locking if more than one client script might be started at the same location at the same time (and both need to access and change the same value)
In reply to Re: dynamic socket communication
by jethro
in thread dynamic socket communication
by hari9
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |