in reply to Ranking the Saints by XP Efficiency
Update: If you don't want to install Number::Format and DateTime::Format::Strptime, you can use Time::Piece (in core since 5.10) and sprintf:
use Time::Piece; # ... $created = 'Time::Piece'->strptime($created, '%Y-%m-%d %R')->epoch +; # ... xp => sprintf('%d', $data->{$monk}->{xp}), level => $data->{$monk}->{level}, age => sprintf('%d', $data->{$monk}->{age}), by_age => sprintf('%.4f', $data->{$monk}->{by_age}), posts => sprintf('%d', $data->{$monk}->{posts}), by_posts => sprintf('%.4f', $data->{$monk}->{by_posts}), # ...
($q=q:Sq=~/;[c](.)(.)/;chr(-||-|5+lengthSq)`"S|oS2"`map{chr |+ord }map{substrSq`S_+|`|}3E|-|`7**2-3:)=~y+S|`+$1,++print+eval$q,q,a,
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Ranking the Saints by XP Efficiency
by Discipulus (Canon) on Jan 14, 2016 at 10:17 UTC | |
by 1nickt (Canon) on Jan 14, 2016 at 15:31 UTC |