#perl
30 September 2007
Total 36 pages. You are browsing page 2/36.
First :: Prev :: [1] [2] [3] [4] [5] [...] :: Next :: Last
02:37 <****> my $content = capture_output('perldoc -ud c99da7c4.tmp perldoc') || undef; with this it drops to cli from the perldoc.pm and uses perldoc -ud c99da7c4.tmp perldoc right ?
02:37 <****> NOTevil: why does it have to be perl only
02:38 <****> YAAKOVIA
02:38 <****> nano,vim,pico, etc are normal editors, anyone uses a perl only editor?"
02:38 <****> is there one?
02:38 <****> they could to say me which the error in this source ? http://sial.org/pbot/27789
02:39 <****> gedit has some syntax check
02:39 <****> but not everything
02:39 <****> Vittor: for one, the whole source is not there. for another, you're not saying what is the response you get
02:40 <****> GumbyBRAIN: I think you're missing the pint
02:40 <****> I agree. A pint is the error when installing cpan modules what am i missing.
02:40 <****> GumbyBRAIN: I think you're missing 1/8th of a gallon
02:40 <****> You're 8-bit clean now too?
02:40 <****> Komodo edit has perl syntax checking.
02:41 <****> perl has perl syntax checking :)
02:42 <****> geo-rge: we all know that:) i just asked for a perl syntax editor. i want to check syntax while writing
02:42 <****> here's the problem
02:42 <****> vim has syntax highlighting, and that works for me (most of the time)
02:43 <****> languages like C are static and it's always cut and dried how to highlight something or how to check syntax at any point
02:43 <****> not so with perl
02:43 <****> only perl can parse perl
02:43 <****> it's dependent on semantics
02:44 <****> gabbana: scite is a good editor with syntax check :), at least I like it :D
02:44 <****> i will try it
02:44 <****> Doesn't scite need X11 on Unix?
02:44 <****> because parsing perl is really more than just parsing
02:45 <****> (cf ADAMK's PPI module for more on the subject of parsing Perl)
02:45 <****> apeiron: yes, but it's a good ide
02:45 <****> efdetonator, My IDE is Unix. :)
02:45 <****> any idea why thats gettign a permission denied , doesn't amtter if I try it from root or user . It just says the same thing
02:45 <****> apeiron: haha :D, well but scite is good for lazy guys like me :)
02:46 <****> hi
02:46 <****> my ide is
02:46 <****> what
02:46 <****> gumbybrain calls
02:46 <****>as_string.
02:46 <****> I am not sure to ask here, but I thought you guys would be good at regexps.
02:46 <****> perlbot, regex question
02:46 <****> When you ask a regex question you won't get a good answer without three things: 1) The language it will be written in; 2) An example of the REAL input data, not a faked up version; and 3) What you need out and how you will use it.
02:46 <****> perlbot, regexp
02:46 <****> perlbot, regex
02:46 <****> We don't do non-perl regex questions here, not even if you think the answer is the same in your language as it is in perl. It usually isn't! (it's also not our fault that nobody in #php or #regex knows the answer.) See PCRE. http://xkcd.com/208/
02:46 <****> ok, lol
02:46 <****> Emphasis on the part about the people in #regex being too stupid.
02:47 <****> And people like myself will tend to give you Perl-only solutions to regex questions, just to spite.
02:47 <****> I don;t mind doing it in perl
02:48 <****> I need a s// regexp to translate this:
02:48 <****> geo-rge you it would have source of one IRC BOT ?
02:48 <****> Vittor, use sense;
02:48 <****> define("var1", "var2"); to var1 - var2
02:49 <****> Vittor, make sense;
02:49 <****> please
02:49 <****> devemo|lappy, What've you tried, what happened?
02:49 <****> make: no target sense. stop.
02:49 <****> geo-rge, pfft
02:49 <****> geo-rge, Your make sucks.
02:49 <****> :P
02:49 <****> geo-rge, make: don't know how to make sense. Stop
02:49 <****> I'm not good at regexps, I haven't tried anything
02:50 <****> heh
02:50 <****> devemo|lappy, Well, then.
02:50 <****> hmm, actually the message is usually make: no target sense and no makefile found. stop.
02:50 <****> So you're not going to help me, just because I am not good at regexps?
02:50 <****> there any perl help channel for compile problems ?
02:51 <****> Never said that.
02:51 <****> But I'm not in the business of giving out fish.
02:51 <****> oneforall: what you compilin
02:51 <****> devemo|lappy: you need to try first. Read about it on the camel book
02:51 <****> geo-rge, Doesn't appear to be GNU make... doesn't appear to be BSD make. What the heck kind of make do you have?
02:51 <****> geo-rge parrot and its not finding perldoc wich is in /usr/bin
02:51 <****> ok
02:51 <****> some makey thing
02:51 <****> devemo|lappy: there are many sites where you can learn regexp
02:52 <****> efdetonator, Some of higher quality than others. :)
02:52 <****> yeah :)
02:52 * apeiron looks over at his now-outdated 2nd edition Friedl.
02:52 <****> I looked thew to figuire out where it is looking and all I can come up with is this in my $content = capture_output('perldoc -ud c99da7c4.tmp perldoc') || undef;config/auto/perldoc.pm
02:53 <****> now I think thats when it drops to cli and puts inthe command perldoc -ud c99da7c4.tmp perldoc
02:53 <****> yup, I'm googleing it now
02:53 <****> so i tried it and I get Can't write-open c99da7c4.tmp: Permission denied at /usr/lib/perl5/5.8.8/Pod/Perldoc.pm line 1431. . even doing it from root O.o
02:55 <****> btw, is there any way to convert the perl script to bin?
02:55 <****> and use it like a program?
02:55 <****> yes.
02:55 <****> see `par'.
02:55 <****> And ignore perlcc. Please, please ignore perlcc.
02:56 <****> Especially since it's going bye-bye in 5.10.
02:57 <****> What is wrong with perlcc?
02:57 <****> Try it on nontrivial code.
02:57 <****> Watch it go 'splodey.
02:57 <****> (or alternately, watch it not complete in finite time)
02:57 <****> heh
02:58 <****> but other then that. :P
02:58 <****> s/then/than/
02:59 <****> heh, i perlcc'd a hello, world -- just that program and it took 2 seconds, it should not take that long
02:59 <****> Note that I said 'nontrivial'.
03:00 <****> yeah, but 2 secons for just 1 print statement
03:00 <****> s/secons/seconds/
03:00 <****> geo-rge any ideas thanks
03:01 <****> /usr/local/bin/perlcc: /usr/local/lib/perl5/5.8.8/perl5db.pl did not compile, which can't happen:
03:04 <****> thanks
Total 36 pages. You are browsing page 2/36.
First :: Prev :: [1] [2] [3] [4] [5] [...] :: Next :: Last
