#!/usr/bin/perl use strict; use warnings; my $string = "abc"; while( $string =~ /b/g ) { print "@-\n"; } #### *** malloc_zone_malloc[14337]: argument too large: 4294967280 Out of memory!