in reply to Re: Return value from a binding operator?
in thread Return value from a binding operator?

Thanks.

I was reading the second section as {match}{optional /}+{line beginning /} {not sure what $ meant}

So that has helped some, but I still don't really get what that regex syntax does, particularly those square brackets [].

I clearly have a lot to learn. Maybe there should be a "Absolute Perl Newbie, Don't be afraid to ask really dumb questions" section. :)

My fault, not anyone elses. Thanks to everyone who replied.

Chris

  • Comment on Re: Return value from a binding operator?

Replies are listed 'Best First'.
Re^2: Return value from a binding operator?
by LanX (Saint) on Apr 12, 2013 at 23:09 UTC
    > So that has helped some, but I still don't really get what that regex syntax does, particularly those square brackets [].

    it's a character class with just one element '/', which is negated b/c of leading '^'.

    That means: match any character except '/'.

    see perlretut Using-character-classes for details

    Cheers Rolf

    ( addicted to the Perl Programming Language)