mirror of
https://github.com/EQEmu/Server.git
synced 2026-01-27 09:33:53 +00:00
Updated Data Buckets (markdown)
parent
c5f8b42157
commit
2a359152fd
@ -157,3 +157,11 @@ end
|
||||
**Database**
|
||||
|
||||

|
||||
|
||||
### Perl Expiration
|
||||
|
||||
* To set an expiration time in Perl, very similarly to the LUA example above, you would simply call your `set_data` function with an expiration flag as your 3rd parameter like so
|
||||
|
||||
```perl
|
||||
quest::set_data("my_example_flag", "some_value", time() + 3600); # 3600 seconds = 1 hour (Expire in 1 hour)
|
||||
```
|
||||
Loading…
x
Reference in New Issue
Block a user