Extract data from BEncoded .torrent files

2010-07-25 Thread NisargaYoga
Hi - Total newbie and my first post so please tell me if I'm doing anything wrong. My first real Perl project - looking for some conceptual guidance. The project involves processing of BEncoded .torrent files downloaded from an rtorrent seedbox. Bottom line is I want to cycle through about 150 f

Re: unicode weirdness

2010-07-25 Thread Dr.Ruud
Bryan Harris wrote: I have code that reads the clipboard, expecting text copied out of Firefox from mint.com. However when I copy the lines I end up with a bunch of unicode characters mixed in. The n-dash is particularly irritating, and I want to change it to a regular hyphen. Check out Text

Re: Get variable name from a list

2010-07-25 Thread C.DeRykus
> ... > 2010/7/24 Mike Martin : > > This is how I worked round the issue (didn't think of hash slice) > > foreach my $w (qw/$file_start $file_time $video_track $audio_track > $quality $sync $sync_box $qual_box $vid_box $aud_box $time_label > $times $file_hbox/) #Use qw to turn variable name int

Re: unicode weirdness

2010-07-25 Thread Jason Lewis
You could also try playing with the Text::Unidecode module: http://search.cpan.org/~sburke/Text-Unidecode-0.04/lib/Text/Unidecode.pm Jason Lewis Email jasonlewi...@gmail.com Mobile 410.428.0253 AIM canweriotnow Facebookhttp://www.facebook.com/canweriotnow On Sa

Re: unicode weirdness

2010-07-25 Thread Chas. Owens
On Sat, Jul 24, 2010 at 15:57, Bryan Harris wrote: > > > I have code that reads the clipboard, expecting text copied out of Firefox > from mint.com.  However when I copy the lines I end up with a bunch of > unicode characters mixed in.  The n-dash is particularly irritating, and I > want to change

Re: unicode weirdness

2010-07-25 Thread Shlomi Fish
On Saturday 24 Jul 2010 22:57:00 Bryan Harris wrote: > I have code that reads the clipboard, expecting text copied out of Firefox > from mint.com. However when I copy the lines I end up with a bunch of > unicode characters mixed in. The n-dash is particularly irritating, and I > want to change it

unicode weirdness

2010-07-25 Thread Bryan Harris
I have code that reads the clipboard, expecting text copied out of Firefox from mint.com. However when I copy the lines I end up with a bunch of unicode characters mixed in. The n-dash is particularly irritating, and I want to change it to a regular hyphen. When I "paste" into a BBEdit UTF8 wi

unicode weirdness

2010-07-25 Thread Bryan Harris
I have code that reads the clipboard, expecting text copied out of Firefox from mint.com. However when I copy the lines I end up with a bunch of unicode characters mixed in. The n-dash is particularly irritating, and I want to change it to a regular hyphen. When I "paste" into a BBEdit UTF8 wi