I'm sure there will be a flood of replies to this easy one, and there are certainly a variety of ways to make what you want happen. Here is one:
($value) = $sLine =~ /\[(.*)\]/; -- Mike Arms -----Original Message----- From: Vassiliy Truskov [mailto:[EMAIL PROTECTED]] Sent: Tuesday, May 14, 2002 3:49 PM To: [EMAIL PROTECTED] Subject: Modifier or substitution ? I'm trying to get value inside of square brackets $sLine = "[TEST]"; -- I need value TEST. Is there is a way to get it and which perl function can help me with it? Thanks Vassiliy _______________________________________________ ActivePerl mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
