Sandeep,
Sounds like another regex solution to me....
if ($x =~ /^a/) {
# store value of $x
}
Deane Rothenmaier
Systems Architect
Walgreens Corp.
847-914-5150
"Truth is eternal, knowledge is changeable. It is disastrous to confuse them." -- Madeleine L'Engle
| "sandeep s kumar" <[EMAIL PROTECTED]>
Sent by: [EMAIL PROTECTED] 09/19/2006 10:44 AM
|
To: [email protected] cc: Subject: clarification |
Dear Team,
I need a clarification regarding perl operators.
ie. Is there any operator called LIKE in perl.or its substitute.
The scenario is that,ie, can i store string whose starting letter is say 'a' but rest of its character is unknown.
i mean to say whether this is possible.
$myvariable LIKE '['a'||']%'; .
expecting your support soon.
sandeep s kumar
_______________________________________________
ActivePerl mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
_______________________________________________ ActivePerl mailing list [email protected] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
