#!/usr/bin/perl -- use strict; use warnings; use Data::Dump qw/ dd /; my $data = q{ This is CentOs 6.5 version and CentOs 5.5 is not supported. The CentOS 6.0 has ability for LVM Snap backups where as CentOs 5.5 do +esn't.}; my @centos = $data =~ /CentOs\s+(\S+)/g; dd( \@centos ); __END__ [6.5, 5.5, 5.5]
In reply to Re: How to find a string after matching a string
by Anonymous Monk
in thread How to find a string after matching a Keyword
by pr33
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |