| |
| |
| |
|
Page: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36
Comments:
<0> jferrero: Do you want the bot? <1> its not a dir ... thats just the var name .. sorry fo rthe cinfusion <1> s/cinfusion/confusion/ <2> there's some good stuff in File:: for manipulating files <1> $user_dir="\\domain.com\NETLOGON\scripts\$username.txt" <2> like File::Path with rmtree <1> this is terrible ... i wanted this to be easy ! lol <3> kword crashed <3> not surprised <4> generalhan: that's broken to start with <4> eval: "\\domain.com\NETLOGON\scripts\$username.txt" <5> hobbs: Error: Missing braces on \N{} at (eval 149) line 15, within string <1> hobbs: funny you should mention that <1> here is my issur <1> http://generalhan.pastebin.ca/84356 <5> The paste 84356 has been copied to http://erxz.com/pb/2007
<1> i have it set up a LONG way that im trying to correct <6> dkr: nope already tried that. <7> generalhan: your variable names should not be lying about what they contain <4> generalhan: double your backslashes <1> dkr: it didnt start out as a lie ... the way i set it up the first time was right ... but it was 'broken' so i had to make 2 more vars <1> hobbs: $user_file="\\\\domain\\f\\profiles\\logons\\$username" = "\\domain\f\profiles\logons\$username" ???? <4> generalhan: I'll just pretend that made any sense <1> haha <1> thanks ! <1> you say double up so are you saying that if i want \\ that i need to put in \\\\ in the definition <4> yes <1> ok so what i just printed made SOME sense <4> if you're using double quotes <1> ok let me fix that right now ... then ill work on the deleting <7> '\\domain\f\profiles\logons\' . $username; would be easier on the eyes <1> dkr <0> dkr: More backslashes I think <1> dkr: hmm i dont know about the .'s and ,'s yet ... im touching perl for the first time ! <0> eval: '\\' <5> buu: \ <0> eval: '\\foo' <5> buu: \foo <1> so .... '\\\domain\\f\\profiles\\logons\\' . $username; ? <1> eval: '\\\domain\\f\\profiles\\logons\\' <5> generalhan: \\domain\f\profiles\logons\ <1> sweet <1> good 'ole bots ! <7> hrm, think I am qoncfusing myself working on command line, :) <1> dkr: great and if YOU are confused ... i should just give up now ! lol <8> i wonder if it would be easier to use something like / and substitute the backslashes later :) <9> im trying to configure cpan after a long hiatus -but it keeps hanging when it tries to connect to anything - so i'm trying to run o conf init - and resest the server locations - but it hangs before i can do that - and it asks Got another SIGINTCPAN.pm needs at least one URL where it can fetch CPAN files from <0> paragonc: manually modify CPAN::Config <7> so even though perldoc perlop says '' does not interpolate, it does interpolate \\ <5> Type 'perldoc perlop' in your shell or go to http://perldoc.perl.org/perlop.html <7> I forgot about that <7> and \', but not \n, so it only interpolates \\ and \' inside ''? <1> ok guys step one completed $user_file='\\\domain\\f\\profiles\\logons\\' . "$userlogin.txt"; worked perfectly thank you ! <10> Ok. I'm misunderstanding something. With PPI a PPI::Statement::Package does not contain the code between the package statement and the next package or eof? <10> rather how do I refer to the code in the package? <11> Is there an escape function for a string such that it can be used in a regex for a match? Suppose $foo="a.b.c", I want to have $foo2="a\.b\.c" so that if($_ =~ /$foo/) will be true. <11> I mean, if($_ =~ /$foo2/) is true. <7> turn off regex special char rpcoessing with \Q <7> /\Q$foo/ <12> keith80403: also perldoc -f quotemeta <5> keith80403: Type 'perldoc -f quotemeta' in your shell or go to http://perldoc.perl.org/functions/quotemeta.html <11> dkr, Thank you, I'll try that <11> PerlJam, and buubot, I'll check that also, thanks. <7> buubot: botsnack <7> so was I right about that? inside single quotes, only \\ and \' are interpolated? <12> dkr: aye (except for the weird meaning of "interpolated") <7> "unescaped", I guess <7> perldoc perlop is a bit unclear about it. it just lists "escape constructs available in constructs that interpolate" <5> Type 'perldoc perlop' in your shell or go to http://perldoc.perl.org/perlop.html <13> buu: you about? <14> Hello, everyone. I'm writing a small perl script with mysql, using the DBI interface. I'm wondering if there is an easier way to do a SELECT query than a while loop. if so, what is it? Also, is there an easy way to parse the output of the $query->fetchrow_array data, since it is separated by spaces? <7> spaces? <14> dkr: would an example help?
<15> if its separated by spaces you can split " ", $data; <16> Quelqu`un, there's the fetchall_* methods <7> you could just selectall_arrayref, instead of looping through fetchrow_array <15> well, ***uming its just one space <12> Quelqu`un: perldoc DBI <9> when installing DBD::mysql via CPAN - is there a way to specify root p***word ? <7> selectcol_arrayref() is my favorite for getting one value from lots of rows <12> paragonc: I don't remember if it's CPAN or CPANPLUS, but at least one of them will ask you if you'd like to use sudo for the install. <16> paragonc, DBD::mysql has nothing to do with your mysql installation <14> dkr: It's just one row, many columns. <14> PerlJam: I'm looking through it right now. thanks, didn't think about that <17> "paragon" at 68.7.229.90 pasted "CPAN Errror" (7 lines, 323B) at http://sial.org/pbot/18301 <9> cpan gave me the error linked above at the end of install DBD::mysql <12> paragonc: you can always build it to the point of "make test" then type "look DBD::mysql" at the cpan prompt and "su -c 'make install' <7> Quellism: my ($first_field_val, $second_field_val) = $sth->fetchrow_array(); might be useful <1> dkr: ok .. the DEL is still not working prperly ... can you take a look ... maybe there is a MUCH easier way to do this anyhow:: http://generalhan.pastebin.ca/84379 <5> The paste 84379 has been copied to http://erxz.com/pb/2008 <7> generalhan: didn't someone reocmmend usnig unlink? <14> dkr: That looks perfect...thank you very much! <1> dkr: in the notes for unlink it says that it wont work if the user is not a superuser .. i asked if it was aproblem that this person IS NOT a superuser and i dont remember getting a response <7> generalhan: you are using windows... no such thing as superuser... <4> generalhan: the message means what it says <17> "paragonc" at 68.7.229.90 pasted "Why does it ask for these if it has nothing to do with MySQL ???" (14 lines, 597B) at http://sial.org/pbot/18302 <7> generalhan: read it mroe carefully, it says it won't delete *directories* <7> ...unless superuser <1> gotcha <7> programmers aren't allowed to skim, :) <15> if i remember correctly you have to use perl with some -U option for that to work too <1> so if i s/system("DEL $user_file");/unlink $user_file/ i should be set ? <1> samu2: unless you are superuser and the -U flag is supplied to Perl <7> well, you might have too many escapes now <1> hmm <15> oh you meant the substitution not as actual code... <1> lol <1> yea <7> yeah, he was metacoding, :) <17> "Chris62vw" at 69.34.101.137 pasted "Joke (no perl)" (23 lines, 923B) at http://sial.org/pbot/18303 <7> blonde jokes are so 80s <1> haha <7> I guess it is the least politically incorrect group to target, though, :) <7> when I was kid, all the jokes about dumbness targetted polacks/poles for some strange reason <18> swoot! <1> dkr: its a phase <7> hrm, when I was a kid I went to a private catholic school, though, mayeb it had soemthing to do with italain/irish animosity towards poles <1> maybe blondes are coming back ! haha <13> buu: prodded BL lately? <7> generalhan: how can you tell, though, most of them are dyed. :) <1> haha <1> dkr & hobbs: thanks for the help on my scripts ... the unlink worked prefectly <18> haha <1> all of this just because my stupid users cant understand me when i tell them NOT TO LOG ON TWICE. <18> so, don't let them? <1> Daveman: thats what the scripts are for <7> "Your account is currently in use from a differnt location. A hacker could be using your account!!!11!!11ONE!!!11" <1> haha <7> that will scare them straight <19> Not a hacker. Terrorist. <20> w0rd <21> Hello <20> nuckaaaaaaaaa <21> do you guys do web based perl in here? <20> nah <12> heh "web based perl" <21> cgi <20> web based perl doesn't exist <12> I think you mean perl based web <20> I usually do my CGI apps in C. <20> I wasn't actually do <20> err <20> I wasn't actually joking <21> I'm just trying to figure out why this get() function keeps failing <19> tag: It was 50/50. <19> I opted for the snark.
Return to
#perl or Go to some related
logs:
libdvdcss x64 #openzaurus vhcs sqwebmail troppix crack ubuntu unable to copy xauthorization #math #perl sambagirl bsd #python #perl
|
|