CGI-Path
view release on metacpan or search on metacpan
micro - join(".", &Time::HiRes::gettimeofday()), which really tries to get you a unique value
micro_part - (&Time::HiRes::gettimeofday())[1];, which is just the micro seconds
To make these swaps available you need to set $self->{allow_magic_micro} to a true value.
=head1 allow_history
At least partly due to the sometimes complicated nature of paths, I have found it difficult to debug what is
actually going on during navigation. The history features of CGI::Path aim to try and make things a little
easier to follow. The goal is for each step to get added to the history and get spit out to a popup window,
showing in hopefully easy to read fashion, what happened that led to the step being printed.
To turn on the history features, the allow_history method needs to return true. The default method checks to see
that both $self->{allow_history} and $self->form->{$self->{history_key}} are true. The default history_key is named
history. When CGI::Path finds that history is allowed $self->{history_key} gets saved to the session, which means
the history window will pop up for each step so long as you stay in the session, and don't stop allowing history.
This is a rather new feature and I have now likely missed adding history to a few steps. Please let me know where
other history might be useful.
( run in 0.740 second using v1.01-cache-2.11-cpan-364913b4093 )