On Wednesday 30 Sep 2009 2:23:16 pm Manvendra Bhangui wrote:
> > On Wednesday 30 Sep 2009 2:12:18 pm Manvendra Bhangui wrote:
> > > You can take the following 'C' program as an example. Write the same in
> > > perl and enjoy the gunk that comes out.
> > >
> > > int
> > > main(int argc, char **argv, char **envp)
> > > {
> > > __write(1, "hello world\n", 12);
> > > }
> >
> > what does this program do?
>
> Just print the line "hello world" to file descriptor 1
>
>  (which happens to be your terminal in case you execute in a shell).

oh like this code:

#!/usr/bin/env python

print 'Hello world'

(where is the gunk?)


-- 
regards
kg
http://lawgon.livejournal.com
_______________________________________________
To unsubscribe, email [email protected] with 
"unsubscribe <password> <address>"
in the subject or body of the message.  
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc

Reply via email to