in reply to Re: [Perl -> JS] Accessing regex match in Perlito
in thread [Perl -> JS] Accessing regex match in Perlito

> I do not have a Perlito around.

It works within your browser

> Does ($match) = "abc" =~ m/(a)/; work by chance?

well I tried this but $match is 1 now... =)

NB: I don't intend any bashing!

It's a great project which needs more attention and feedback.

Cheers Rolf

( addicted to the Perl Programming Language)

Replies are listed 'Best First'.
Re^3: [Perl -> JS] Accessing regex match in Perlito
by taint (Chaplain) on Dec 05, 2013 at 18:21 UTC

    I had never heard of perlito, LanX. It's great. Thanks for pointing it out. +'s to you. :)

    --Chris

    #!/usr/bin/perl -Tw
    use Perl::Always or die;
    my $perl_version = (5.12.5);
    print $perl_version;