in reply to iterating through json decode
Add use strict; use warnings;
#foreach my $item (keys %{$_[0]}){ # repl_mongo($key,$_[1]-1 ); foreach my $key (keys %{$_[0]}){ repl_mongo($_[0]->{$key},$_[1]-1 ); }
Also see index
#if (index("ISODate",$_[0]) >= 0){ if (index($_[0],"ISODate") >= 0){
Note to use Time::Moment->from_string($string); The string must consist of a complete date representation and time of day followed by a zone designator.
poj
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: iterating through json decode
by Bobert1234 (Novice) on Feb 08, 2018 at 17:43 UTC |