I used this code in perl v5.8.8 to open my coded file but it opened in a different format.Pls use this link to check and comment on the code. Thanks ftp://archive.routeviews.org/bgpdata/2001.10/RIBS



#!/usr/local/bin/perl
#
# Program to open the password file, read it in,
# print it, and close it again.

$file = '/home/ookonor/Desktop/rib.20011026.1648-1.bz2'; # Name the file
open(INFO, $file); # Open the file
@lines = <INFO>; # Read it into an array
close(INFO); # Close the file
print @lines; # Print the array