Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: capturing names

by hiseldl (Priest)
on Jul 09, 2002 at 15:01 UTC ( #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
Node Status?
node history
Node Type: note [id://180496]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (2)
As of 2021-04-17 03:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?