Gary_Lacey has asked for the wisdom of the Perl Monks concerning the following question:
I cain't figger it out! Would anyone take pity on poor dumb 8@$+@40? Of course, no comments were found to explain what this Perl snippet does:
($bname = $fname) =~ s#.*\\##s;
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Assign Contains RegEx WTF??
by kennethk (Abbot) on May 19, 2009 at 15:09 UTC | |
by Anonymous Monk on May 20, 2009 at 14:22 UTC | |
by kennethk (Abbot) on May 21, 2009 at 14:26 UTC | |
Re: Assign Contains RegEx WTF??
by ikegami (Patriarch) on May 19, 2009 at 15:25 UTC | |
by eric256 (Parson) on May 21, 2009 at 14:12 UTC | |
Re: Assign Contains RegEx WTF??
by davido (Cardinal) on May 19, 2009 at 15:42 UTC | |
by JavaFan (Canon) on May 19, 2009 at 15:48 UTC | |
by davido (Cardinal) on May 20, 2009 at 08:27 UTC | |
by JavaFan (Canon) on May 20, 2009 at 10:31 UTC |
Back to
Seekers of Perl Wisdom