Re: Limiting Toke::Parser

2008-06-29 Thread Clinton JAmes
Thank you for the response Rob and I apologise for my lack of clarity. Thank you Gunnar the last line in your snippet is what I was looking for. Rgds CCJ __ Not happy with your email address?. Get the one you really want - million

Re: MIME::QuotedPrint - extra '=' and linebreak?

2008-06-29 Thread Gunnar Hjalmarsson
Jenda Krynicky wrote: Gunnar Hjalmarsson <[EMAIL PROTECTED]> wrote: op wrote: when it comes to character encodings I decided to let myself off the hook and use a module, namely MIME::QuotedPrint. However, the module didn't quite produce the result I expected. It correctly encoded the non-AS

Re: MIME::QuotedPrint - extra '=' and linebreak?

2008-06-29 Thread Jenda Krynicky
Gunnar Hjalmarsson <[EMAIL PROTECTED]> wrote: > op wrote: > > when it comes to character encodings I decided to let myself off > > the hook and use a module, namely MIME::QuotedPrint. > > > > > However, the module didn't quite produce the result I expected. It > > correctly encoded the non-ASCII

Re: MIME::QuotedPrint - extra '=' and linebreak?

2008-06-29 Thread Gunnar Hjalmarsson
op wrote: when it comes to character encodings I decided to let myself off the hook and use a module, namely MIME::QuotedPrint. However, the module didn't quite produce the result I expected. It correctly encoded the non-ASCII characters to '=<1byte_hexcode>', but unexpectedly also added an

Re: show only numbers before, within or after the text

2008-06-29 Thread Rob Dixon
Luca Villa wrote: > I have a long text file like this: > > 324yellow > 34house > black > 54532 > 15m21red56 > 44dfdsf8sfd23 > > How can I obtain (Perl - Windows/commandline/singleline) the > following? > > 1) only the numbers at the beginning before some alpha text, like > this: > > 324 > 34 >

Re: show only numbers before, within or after the text

2008-06-29 Thread Dr.Ruud
Luca Villa schreef: > I have a long text file like this: > > 324yellow > 34house > black > 54532 > 15m21red56 > 44dfdsf8sfd23 > > How can I obtain (Perl - Windows/commandline/singleline) the > following? > > 1) only the numbers at the beginning before some alpha text, like > this: > > 324 > 34 > 15

Re: MIME::QuotedPrint - extra '=' and linebreak?

2008-06-29 Thread Rob Dixon
op wrote: > Hello, > > I have a script that reads CGI-input, processes the data and e-mails > it onwards by opening a filehandle-pipe to sendmail and writing the > necessary SMTP headers and data there. > > Wanting to teach myself the essential internet protocols I've done > most of the processin

Re: show only numbers before, within or after the text

2008-06-29 Thread Rob Dixon
sisyphus wrote: > On Jun 29, 1:18 am, [EMAIL PROTECTED] (Luca Villa) wrote: >> I have a long text file like this: >> >> 324yellow >> 34house >> black >> 54532 >> 15m21red56 >> 44dfdsf8sfd23 >> >> How can I obtain (Perl - Windows/commandline/singleline) the >> following? >> >> 1) only the numbers at

Re: show only numbers before, within or after the text

2008-06-29 Thread Rob Dixon
sisyphus wrote: > On Jun 29, 1:18 am, [EMAIL PROTECTED] (Luca Villa) wrote: >> I have a long text file like this: >> >> 324yellow >> 34house >> black >> 54532 >> 15m21red56 >> 44dfdsf8sfd23 >> >> How can I obtain (Perl - Windows/commandline/singleline) the >> following? >> >> 1) only the numbers at

Re: show only numbers before, within or after the text

2008-06-29 Thread sisyphus
On Jun 29, 1:18 am, [EMAIL PROTECTED] (Luca Villa) wrote: > I have a long text file like this: > > 324yellow > 34house > black > 54532 > 15m21red56 > 44dfdsf8sfd23 > > How can I obtain (Perl - Windows/commandline/singleline) the > following? > > 1) only the numbers at the beginning before some alph

MIME::QuotedPrint - extra '=' and linebreak?

2008-06-29 Thread op
Hello, I have a script that reads CGI-input, processes the data and e-mails it onwards by opening a filehandle-pipe to sendmail and writing the necessary SMTP headers and data there. Wanting to teach myself the essential internet protocols I've done most of the processing by hand, i.e. without mo