Rosetta Code/Run examples: Difference between revisions
Content added Content deleted
Thundergnat (talk | contribs) (→{{header|Perl 6}}: Bug fixes and updates for 2018.05) |
Thundergnat (talk | contribs) m (→{{header|Perl 6}}: invert comparison) |
||
Line 330: | Line 330: | ||
if $get-tasks { # load tasks from web if cache is not found, older than one day or forced |
if $get-tasks { # load tasks from web if cache is not found, older than one day or forced |
||
if !"%l<dir>.tasks".IO.e or ("%l<dir>.tasks".IO.modified |
if !"%l<dir>.tasks".IO.e or (now - "%l<dir>.tasks".IO.modified) > 86400 or $remote { |
||
note 'Retrieving task list from site.'; |
note 'Retrieving task list from site.'; |
||
@tasks = mediawiki-query( # get tasks from web |
@tasks = mediawiki-query( # get tasks from web |