On Sat, Jul 13, 2013 at 8:02 AM, Shawn H Corey wrote:
> On Sat, 13 Jul 2013 01:01:22 -0400
> shawn wilson wrote:
>
>> The cool kids (me) would look to mojo for this type of thing.
>
> Link?
>
https://metacpan.org/module/SRI/Mojolicious-2.76/lib/Mojo/UserAgent/Transactor.pm
--
To unsubscribe, e
There's enough code here that I'm not even going to try. However, your data
looks almost like json (minus the quoting). If this is the case, you'll
probably want to build up an array of hashes and use JSON::XS.
On Jul 13, 2013 6:16 AM, "Rob Dixon" wrote:
> On 12/07/2013 12:44, Agnello George wrot
On 12/07/2013 12:44, Agnello George wrote:
hi
i have raw data that is like this in a flat file .
start
name:agnello
dob:2 april
address:123 street
end
start
name:babit
dob:13 april
address:3 street
end
start
name:ganesh
dob:1 april
address:23 street
end
i need to get the data in the following
On 07/13/2013 02:55 AM, John Delacour wrote:
#!/usr/bin/perl
use strict;
my @items;
while (<>) { # or use a file handle
chomp;
next if /^start/;
if (/^end/) {
print join ", ", @items;
print "\n";
undef @items;
that is the wrong way to clear an array (o