Jeff --

...and then Jeff 'japhy' Pinyan said...
% 
% On Jun 4, David T-G said:
% 
% >%    perl -lpe '$_ = join ", ", unpack("c*", $_)'
% >
% >Is there a simple way to get perl to spit out one line per incoming
...
% >when it sees F1 followed by Shf-F1 without a newline between them?
% 
% You run into a problem here, since F1 is NOT a single key-code, it's a
% single key-PRESS.  F1 is one key-press that yields Escape-O-P.

Ahhh...  Right, so perl wouldn't be able to tell whether I've pressed one
key (F1) or three (escape o p) and thus wouldn't know where to put in the
line breaks.  I get it.


% 
% -- 
% Jeff "japhy" Pinyan      [EMAIL PROTECTED]      http://www.pobox.com/~japhy/
% RPI Acacia brother #734   http://www.perlmonks.org/   http://www.cpan.org/
% ** Look for "Regular Expressions in Perl" published by Manning, in 2002 **
% <stu> what does y/// stand for?  <tenderpuss> why, yansliterate of course.
% [  I'm looking for programming work.  If you like my work, let me know.  ]

I am, too, but I don't have much of a portfolio yet :-)


Thanks & HAND

:-D
-- 
David T-G                      * It's easier to fight for one's principles
(play) [EMAIL PROTECTED] * than to live up to them. -- fortune cookie
(work) [EMAIL PROTECTED]
http://www.justpickone.org/davidtg/    Shpx gur Pbzzhavpngvbaf Qrprapl Npg!

Attachment: msg25393/pgp00000.pgp
Description: PGP signature

Reply via email to