in reply to Regex Array matching

Why use a regex ?

#!perl use strict; use JSON; my $devicesData = '"deviceId": 6931162, "friendlyName": "U12H240T70 - R6300v2", "lastInform": "2016-02-15T15:08:24.611Z", "sn": "4401487KA0276", "subscriberCode": "8245112910034496"'; my $hr = decode_json "{$devicesData}"; print "$_ = $hr->{$_}\n" for keys %$hr;
poj

Replies are listed 'Best First'.
Re^2: Regex Array matching
by Monkless (Acolyte) on Feb 15, 2016 at 21:54 UTC

    Thanks poj - Seems I was over thinking this and making it more difficult than need be - Your suggestion seems to be a viable solution! Thanks Again!!