A 2 line code and all perl errors for you

Just a day before , I got this code and I tried this code and when I run this I was surprised.
What is the output. that is awesome.

thou I am not so good in perl , but I thought, this is really a powerfull language.

I just tried like this.

#@ Ankur Dave

use strict;
use warnings;

my $i;
for( $!=0; $!<=87; $!++ )
print $!,”\n”;


And I got the output like this . …

Operation not permitted
No such file or directory
No such process
Interrupted system call
Input/output error
Device not configured
Argument list too long
Exec format error
Bad file descriptor
No child processes
Resource deadlock avoided
Cannot allocate memory
Permission denied
Bad address
Block device required
Device busy
File exists
Cross-device link
Operation not supported by device
Not a directory
Is a directory
Invalid argument
Too many open files in system
Too many open files
Inappropriate ioctl for device
Text file busy
File too large
No space left on device
Illegal seek
Read-only file system
Too many links
Broken pipe
Numerical argument out of domain
Result too large
Resource temporarily unavailable
Operation now in progress
Operation already in progress
Socket operation on non-socket
Destination address required
Message too long
Protocol wrong type for socket
Protocol not available
Protocol not supported
Socket type not supported
Operation not supported
Protocol family not supported
Address family not supported by protocol family
Address already in use
Can’t assign requested address
Network is down
Network is unreachable
Network dropped connection on reset
Software caused connection abort
Connection reset by peer
No buffer space available
Socket is already connected
Socket is not connected
Can’t send after socket shutdown
Too many references: can’t splice
Operation timed out
Connection refused
Too many levels of symbolic links
File name too long
Host is down
No route to host
Directory not empty
Too many processes
Too many users
Disc quota exceeded
Stale NFS file handle
Too many levels of remote in path
RPC struct is bad
RPC version wrong
RPC prog. not avail
Program version wrong
Bad procedure for program
No locks available
Function not implemented
Inappropriate file type or format
Authentication error
Need authenticator
Identifier removed
No message of desired type
Value too large to be stored in data type
Operation canceled
Illegal byte sequence
Attribute not found

And I was amaged, this is all the errors , I found may times when I did some perl code.

I have to work hard for learning so many new things in perl.



  1. Posted September 5, 2006 at 3:42 pm | Permalink | Reply

    sahi hia boss …sahi error hai …

  2. Posted March 14, 2009 at 6:10 pm | Permalink | Reply

    It’s the first time I comment here and I should say that you share genuine, and quality information for other bloggers! Great job.
    p.s. You have an awesome template for your blog. Where have you got it from?

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: