Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re^2: Encoding problems

by Nik (Initiate)
on May 24, 2006 at 09:59 UTC ( [id://551314]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my @files = <../data/text/*.txt>;
    my @display_files = map /([^\/]+)\.txt/, @files;
    ...
    {
        open(FILE, "<../data/text/$passage.txt") or die $!;
    .....
    
  2. or download this
    use POSIX qw(strftime);
    use Encode;
    ...
    
    my $host = gethostbyaddr (pack ("C4", split (/\./, $ENV{'REMOTE_ADDR'}
    +)), 2) || $ENV{REMOTE_ADDR};
    $host = "&#925;&#943;&#954;&#959;&#962;" if ( ($host =~ /dell/) or ($h
    +ost =~ /dsldevice/) or ($host =~ /localhost/) );
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://551314]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others studying the Monastery: (3)
As of 2024-04-26 05:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found