Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: capturing names

by hiseldl (Priest)
on Jul 09, 2002 at 15:01 UTC ( [id://180496]=note: print w/replies, xml ) Need Help??


in reply to capturing names

It looks like you wanted to comment out the last part of line 2 with #. So you could try removing the comment before you parse the line:
$line2 =~ s/#.*$//;
this should give you:
$hold1 = cn_commonsw_libs.bld; $hold2 = ""; # empty
--
.dave.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others lurking in the Monastery: (9)
As of 2024-04-19 09:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found