
midmofarmer
Novice
Jun 7, 2011, 10:22 AM
Post #9 of 14
(1478 views)
|
thanks for the replies :) mino - i added perl variable in the system variables as ;c:\perl and then c:\perl with no luck, when i goto the command prompt at c:\strawberry> it will run perl -v and others just fine, and i can run curl in the same directory, i have to run ttytter as ttytter.pl all in the same strawberry directory, but it still says it can't find curl, i got curl.exe files everywhere from the ttytter website http://www.floodgap.com/software/ttytter/ it says To install TTYtter, download it to the location you want to run it from (such as your home directory or bin/), make it executable with chmod +x, and then start it from your shell prompt with something like ./ttytter. If your Perl is not in /usr/bin, change the first line (/usr/bin/env on some systems does not support passing arguments in shebang lines, so for maximum compatibility it is not used here). but i guess it's mostly nonsence for windows? can't seem to find any direct support for ttytter and i've been googleing for the last 2 days this is the ttytter perl ttytter 1.1.11 (Perl script text; 147KiB) this is the curl references in the script: # figure out what our user agent should be if ($lynx) { if (length($lynx) > 1 && -x "/$lynx") { $wend = $lynx; print $stdout "Lynx forced to $wend\n"; } else { $wend = &wherecheck("trying to find Lynx", "lynx", "specify -curl to use curl instead, or just let TTYtter autodetect stuff.\n"); } } else { if (length($curl) > 1 && -x "/$curl") { $wend = $curl; print $stdout "cURL forced to $wend\n"; } else { $wend = (($curl) ? &wherecheck("trying to find cURL", "curl", "specify -lynx to use Lynx instead, or just let TTYtter autodetect stuff.\n") : &wherecheck("trying to find cURL", "curl")); if (!$curl && !length($wend)) { $wend = &wherecheck("failed. trying to find Lynx", "lynx", "you must have either Lynx or cURL installed to use TTYtter.\n") if (!length($wend)); $lynx = 1; } else { $curl = 1; } } ohhhhh this is so frustrating to have to learn so much code and syntax to perform a little task, miss my qbasic lol
|