Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re: ${^POSTMATCH} problem

by perlfan (Vicar)
on Jun 14, 2020 at 14:08 UTC ( [id://11118052]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use warnings;
    use strict;
    ...
    print add_incr_suffix =~ /^prefix-*/p ? ${^POSTMATCH} : '', ", ";
    print add_incr_suffix =~ /^prefix-*/p ? ${^POSTMATCH} : '', ", ";
    print add_incr_suffix =~ /^prefix-*/p ? ${^POSTMATCH} : '', "\n";
    
  2. or download this
    Test 
    TEXT-A, TEXT-B, TEXT-C
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11118052]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others admiring the Monastery: (3)
As of 2024-04-25 23:36 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found