M
Mothra
I woudn't normally use this, but it seemed the easiest way to process my
"Blocked Senders" list in Outlook.
The code below, should be straightforward, but look at the output it
produces when you run it on a windows text file (created in notepad).
It seems to put blank spaces (or unprintable characters) in between each
original character. If I write it back out to a text file, it's even worse.
Anyone know (or care) why? I used to write AS Perl scripts a couple of
years ago, and I'm sure it never did this.
---------code---------
#!/perl
use strict;
use IO::File;
my $input=IO::File->new('blocked_senders.txt', 'r');
my @blocked_senders=<$input>;
$input->close;
foreach(@blocked_senders){
print $_ . "\n";
}
------output-----------
C:\> .\process_blocked_senders.pl
?_ s h e m e k a @ t e l i a . c o m
c a r l o s _ m o r r i s i f @ b e v . c o m
d i a m o n d . 8 9 1 8 . 5 4 3 5 2 @ m - t - n . c o m
d y n e @ y o u a r e i n v i t e d t o . c o m
f d i d w p @ f l u c h t r e a k t i o n . d e
f f t y a 0 u d j @ w i d o m a k e r . c o m
g a n n o n p a l m a @ w a n a d o o . f r
j o a n b o g a c k i @ w i n t e r h i g h l a n d . c o . u k
k r y s t a _ h i g g i n s @ t e k m a i l e r . c o m
k w l r k k f h l p @ 1 6 3 . n e t
l e o p m z t @ 1 6 3 . n e t
l z h r @ 2 4 h o r a s . c o m
m i c h a e l d a r t @ r o j n a m e . c o m
n o r e p l y @ t i c k l e - i n c . c o m
p n r w n p e m l @ m s n . c o m
s m a r t 0 s o l o m o n @ u s w e s t . n e t
t h a w n n a b o l e k @ a c r o b a t m a i l . c o m
t i m k l o t t o 2 @ n e t s c a p e . n e t
"Blocked Senders" list in Outlook.
The code below, should be straightforward, but look at the output it
produces when you run it on a windows text file (created in notepad).
It seems to put blank spaces (or unprintable characters) in between each
original character. If I write it back out to a text file, it's even worse.
Anyone know (or care) why? I used to write AS Perl scripts a couple of
years ago, and I'm sure it never did this.
---------code---------
#!/perl
use strict;
use IO::File;
my $input=IO::File->new('blocked_senders.txt', 'r');
my @blocked_senders=<$input>;
$input->close;
foreach(@blocked_senders){
print $_ . "\n";
}
------output-----------
C:\> .\process_blocked_senders.pl
?_ s h e m e k a @ t e l i a . c o m
c a r l o s _ m o r r i s i f @ b e v . c o m
d i a m o n d . 8 9 1 8 . 5 4 3 5 2 @ m - t - n . c o m
d y n e @ y o u a r e i n v i t e d t o . c o m
f d i d w p @ f l u c h t r e a k t i o n . d e
f f t y a 0 u d j @ w i d o m a k e r . c o m
g a n n o n p a l m a @ w a n a d o o . f r
j o a n b o g a c k i @ w i n t e r h i g h l a n d . c o . u k
k r y s t a _ h i g g i n s @ t e k m a i l e r . c o m
k w l r k k f h l p @ 1 6 3 . n e t
l e o p m z t @ 1 6 3 . n e t
l z h r @ 2 4 h o r a s . c o m
m i c h a e l d a r t @ r o j n a m e . c o m
n o r e p l y @ t i c k l e - i n c . c o m
p n r w n p e m l @ m s n . c o m
s m a r t 0 s o l o m o n @ u s w e s t . n e t
t h a w n n a b o l e k @ a c r o b a t m a i l . c o m
t i m k l o t t o 2 @ n e t s c a p e . n e t