in reply to Re: Perl prints only last line of array
in thread Perl not printing any special characters in array

Hi, Thanks for you explanation.But my regex is working fine after a code change suggested by mike it works fine. Thanks JK

  • Comment on Re^2: Perl prints only last line of array

Replies are listed 'Best First'.
Re^3: Perl prints only last line of array
by AnomalousMonk (Archbishop) on Jun 22, 2014 at 17:12 UTC
    c:\@Work\Perl\monks>perl -wMstrict -le "my $url = q{is 'www' really a domain?!?}; print qq{($1)} if $url =~ m|www.([A-Z a-z 0-9]+.{3}).|x; " ( really a domain?!)