Help for this page
my %RULES = ( 'post' => { 'msgid' => '^(\d+|new)$', 'data' => '...', }, ... exists $allowed->{'key'} ? 1 : return 0; ... }
for ($query->{'action'}) { $allowed = /post/ ? { ... } : ... /delete/ ? { ... } : die "that action isn't supported"; }
local $_ = "0A72656B636148206C72655020726568746F6E41207473754A"; while(s/..$//) { print chr(hex($&)) }