in reply to Re^2: Get data from javascript
in thread Get data from javascript

Alternately to what Choroba said, you could:

$page =~ /push_delayed_image\(([^,]+)/; my $wanted = $1;

Often, I'm using a conditional, so will do this:

if ($page =~ /push_delayed_image\(([^,]+)/) { my $wanted = $1; ... }