Perl Monk, Perl Meditation | |
PerlMonks |
Re: Re: What the heck does this mean?by astanley (Beadle) |
on Mar 13, 2001 at 02:24 UTC ( [id://63988]=note: print w/replies, xml ) | Need Help?? |
perl allows you to specify any character as the regexp seperator. / is just a suggestion and I guess is most widely used? Either way the perldocs say you can use m## just as easy as m// if, for instance you wanted to match a string that had a lot of /'s in it and didn't want to \/ them all - m#///# would work and is a little easier to read than m/\/\/\//. Adam
In Section
Seekers of Perl Wisdom
|
|