chella2104@gmail.com has asked for the wisdom of the Perl Monks concerning the following question:
use strict; use warnings; use Mojo; use feature 'say'; my $ua = Mojo::UserAgent->new; my $array=$ua->get('http://blogs.perl.org/')->res->dom->find('div > p + ')->map('text')->join("\n"); my @arr=split("\n",$array); print "\n".$arr[0]."\n";
Output is
lets you write your Perl 6 code using Roman numerals:
but I want output is
perl6-slang-roman lets you write your Perl 6 code using Roman numerals:
anyone can help me
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: how to print div tag value with a href tag in perl
by Corion (Patriarch) on Jan 11, 2016 at 11:55 UTC | |
|
Re: how to print div tag value with a href tag in perl
by poj (Abbot) on Jan 11, 2016 at 15:00 UTC | |
|
Re: how to print div tag value with a href tag in perl
by Anonymous Monk on Jan 11, 2016 at 23:12 UTC | |
| A reply falls below the community's threshold of quality. You may see it by logging in. |