Also you shouldn't be escaping non-meta characters as they'll be confused for something else e.g when you escaped 'a' character it was interpreted as an ASCII BEL characer (which emits a bleep on the command line when printed).my $data = "this is a character array"; my($str) = $data =~ /(char.{2}ter)/;
_________
broquaint
In reply to Re: Fetching data
by broquaint
in thread Fetching data
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |