Keep It Simple, Stupid | |
PerlMonks |
Re: How to extract the substring from a delimiter (dot) to end of string?by ZZamboni (Curate) |
on May 08, 2000 at 21:56 UTC ( [id://10639]=note: print w/replies, xml ) | Need Help?? |
In the spirit of TIMTOWTDI, you could also do:
The above will give you the whole string if it does not contain any dots. If you want the result to be undef if there are no dots, you could use:
In Section
Seekers of Perl Wisdom
|
|