Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re^2: position of first matching regex

by techtaskers.com (Novice)
on May 17, 2014 at 14:48 UTC ( [id://1086446]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
        if ( $filename =~ /([0-9])/ ) {
        ($startloc = $-[0]);
        ($alphaloc = $startloc + 4); }
        print "$startloc$alphaloc   ";
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others taking refuge in the Monastery: (2)
As of 2024-04-20 05:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found