@# Quotes DB     useful, funny, interesting





Google
 
Web www.quotesdb.info
Undernet  |  EFnet  |  Quakenet  |  Freenode  |  Dalnet  |  Ircnet  |  Galaxynet


Comments:

<0> hello
<0> anybody
<1> ...
<2> yes?
<0> where do i upload my perl file actually?
<2> er
<2> to show us?
<0> i mean where do i need to upload my perl file?
<2> er
<2> to a shell?
<0> im a newbie :P
<2> well, does it have to be online?
<2> what does it do?



<0> im learning how to launch a perl bot..
<2> well, try launching it on your local machine first
<0> how?
<2> well
<2> ***ume the file is called bot.pl
<2> type perl bot.pl
<0> perl bot.pl
<0> ??
<2> yeah
<2> into a command prompt
<2> i'm guessing, just the wildest of wild guesses, that you're running windows
<0> oo wait
<2> open a dos prompt, cd to wherever the file is, then type that command
<0> got error
<0> 'perl' not recognize bla bla bla
<0> ??
<2> ah
<2> you'll have to install activeperl
<0> ooo
<0> my hosting on linux...
<0> cant i just try it over there instead on my local machine..?
<2> yeah, you could
<2> just upload it to your shell then
<0> how?
<2> ftp?
<2> however you normally upload to your shell
<0> yea
<0> ok
<0> where to put the perl file is?
<2> anywhere
<2> just make a directory for it
<0> ok
<0> done
<0> then?
<2> then, launch it with that command
<0> what command?
<2> perl <filename.pl>
<0> how do i do that? with my FTP program is it?
<2> no, ssh to it
<0> what do u mean by ssh?
<2> huh
<2> how do you normally launch commands on your shell account?
<3> he knows nothing about perl
<0> yea
<0> :(
<2> yeah
<2> or shelle
<2> shells
<3> and he knows nothing about *nix
<3> duffff, what you're trying to do? creating a perl'd website?
<0> arGh... damn it...i thought *nix & windows are almost similar ...haha :P...
<3> i might say, it is. Just the file handling is different



<3> if you were coding under windows and would like to run the files under *nix, you might need to modify something so that your webhost able to understand it
<0> so what do i really need to create a perl bot?
<2> a perl interpreter installed on your machine, for one
<0> then?
<0> wat else
<2> then, knowledge of perl
<3> lol
<0> u said before this i need shell?
<2> no, you don't actually need a shell
<0> shell???
<2> you can run it from your local machine
<0> ok
<0> if i want to run it from other machine then wat do i need?
<2> you need to be able to ssh into it
<0> can i run it on my webhost?
<2> doubtful
<2> ask them
<0> my webhost do support perl
<2> i think that means cgi, not irc bots
<3> edit your files from your ftp, then refresh your site to see it works or not
<4> and edit httpd.conf to set a cgi-bin dir
<4> if not already
<0> ok... im totally lost...
<0> what do u mean by support cgi, not irc bots?
<0> i look up into my webhost and saw this Installed Perl Modules there URI:ssh <-- is this ssh u been talking about?
<5> anyone tell me how to insert an variable in the middle of a quoted string, such as a hyperlink? ie: <a href='http://www.dslreports.com/forum/"$packet"port$dport~mode=full~days=999'>$dport</a></td>;
<1> .
<5> i need $packet to appear as its value rather than "value"
<1> that should work as well
<1> in double quoted string
<1> but . is the concatenation operator
<5> right
<1> "bleh bleh " . $var . " bleh bleh"
<1> sprintf()
<1> printf()
<1> format/write
<1> is alot of options..
<5> i have this: ...forum/".$packet."port but its not workin
<1> $packet, does have a value, no?
<5> oh wait. this is in the middle of: print << EndofHTML, does that matter?
<3> ${packet}
<1> yea, can use {} to disambiguate
<5> yes packet has a value. it works, but the hyperlink is all skewed in the source. it looks like this: <a href="http://www.dslreports.com/forum/"UDP"port1026~mode=full~days=999">1026</a></td>;
<1> but that shouldnt matter
<1> in that case
<5> ${packet} works great. tyvm :)
<5> u dont happen to know module for sorting IP addresses off the top of your head do u?
<6> anyone fimiliar with easyhost?
<2> not me, sorry
<6> hmm
<6> very old script ... i guess no one remembers.. :(
<6> tycho do you know anyother similar scripts?
<2> what does it do?
<6> it;s a hosting cpanel
<2> oh
<2> no, fraid not
<6> thanks anyways
<7> Hi. I want to a system command, but have the output going to a variable rather then outputted to the prompt. Is that possible?
<8> hello
<8> someone coult tell me what is the procedure to write this one into perl
<8> if(mysql_num_rows($query) == 0)


Name:

Comments:

Please enter the result of the sum 63 + 46 (to avoid spam):






Return to #perl
or
Go to some related logs:

firday the 13
ya delimisin sen
#allnitecafe
free moustache rides
#kl
gs lı balıklar
#india
enabling curl php
#allnitecafe
كس القحبه



Home  |  disclaimer  |  contact  |  submit quotes