No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
4 Posted Topics
I want to write a script that logs an user into Facebook and initialize oauth dialog to get the access_token(*I don't want to log in into a website using facebook account!*). I don't want to use facebook-sdk,pyfb etc. This is what I've tried: import sys, urllib2,json,urlparse,webbrowser, os, cookielib, re class … | |
Hello, I have this functions: main(), menu1(),menu2() and so on. Main function takes an input and call one of the menu() functions so ... menu1(),menu2() functions needs to be defined before the main() function. The problem appears when i want to call the main() function inside one of the menu() … | |
I have this example: [CODE]use warnings; use strict; open LYNX, "lynx –source http://www.perl.com/ |" or die "Can't open lynx: $!"; # Define $_ and skip through LYNX until a line containing "standard.def" $_ = ""; $_ = <LYNX> until /standard\.def/; # The headline is in the following line: my $head … | |
Re: I'm learning Perl and in the book I have this example: [CODE]my $input = shift; my $output = shift; open INPUT, $input or die "Couldn't open file $input: $!\n"; open OUTPUT, ">$output" or die "Couldn't open file $output: $!\n"; my @file = <INPUT>; @file = sort @file; print OUTPUT @file;[/CODE] … |
The End.