Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister

Re^2: Shooting at a Moving Target

by Aristotle (Chancellor)
on Feb 14, 2007 at 02:55 UTC ( #599847=note: print w/replies, xml ) Need Help??

in reply to Re: Shooting at a Moving Target
in thread Shooting at a Moving Target

my $char_for = $codepoint_table{ 'a' }; s{ \x1B ([abcs]) | (.) }{ $1 ? do { $char_for = $codepoint_table{ $1 }; '' } : $char_for->{ +$2 } }ge;

Makeshifts last the longest.

Replies are listed 'Best First'.
Re^3: Shooting at a Moving Target
by belg4mit (Prior) on Feb 14, 2007 at 03:04 UTC
    But where's the evil?! (You also didn't use the "requested" (?{). TIMTOWTDI

    In Bob We Trust, All Others Bring Data.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://599847]
[atcroft]: PriNet: Those code bits worked for me, with test hashes, but I didn't test it with more than a few simple test cases. *shrug* Had hoped it would help, at least.

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (5)
As of 2017-06-28 03:08 GMT
Find Nodes?
    Voting Booth?
    How many monitors do you use while coding?

    Results (619 votes). Check out past polls.