Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: How to retrieve the string after the space???

by McDarren (Abbot)
on Sep 07, 2006 at 14:30 UTC ( [id://571698]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl -w
    use strict;
    ...
    To:sanju <sip:san@36.212.176.07>
    From: paka<sip:sam@36.212.176.92>
    Contact: sanjay<sip:san@36.212.176.07:5060>
    
  2. or download this
    Contact is <sip:san@36.212.176.07:5060>
    To is <sip:san@36.212.176.07>
    From is <sip:sam@36.212.176.92>
    
  3. or download this
    ($field, $data) = $line =~ m/^(\w+).+?(<.+?>)$/
    

Log In?
Username:
Password:

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

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

    No recent polls found