Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: checking the end of line

by Basilides (Friar)
on Jul 20, 2002 at 14:59 UTC ( [id://183600]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    if ($path =~ m/(\d+)$/)
    {   my $end_num = $1;
    ...
    else
    {   print "Oh dear, my path doesn't end with a number\n";
    }
    
  2. or download this
    m/(\d+)$/
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others sharing their wisdom with the Monastery: (6)
As of 2024-04-23 19:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found