Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Printing Last Element of a line using perl memory?

by symgryph (Sexton)
on Feb 14, 2013 at 23:40 UTC ( [id://1018813]=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    access-list blah extended permit tcp object-group blah_Assets object-g
    +roup mygroup eq www
    
  2. or download this
    #!/usr/bin/perl -w
    while (<>) {
      m#(\w+$)#;
      print "$1\n";
     }
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://1018813]
Approved by igelkott
Front-paged by toolic
help
Chatterbox?
and the web crawler heard nothing...

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

    No recent polls found