Home Page   #c  #ruby-lang  #cisco  #mysql  #apache  #javascript  #java  #perl  #php  #openmoko   Wallpapers Girl
Reliable $1 Web Hosting by 3iX

Channels


#perl

21 October 2007


Total 33 pages. You are browsing page 2/33.

First :: Prev :: [1] [2] [3] [4] [5] [...] :: Next :: Last

01:40 <****> so i shall use $thepath =~ s#(^|/)\.+(/|$)#/#g; ?
01:40 <****> TIAS, yes
01:40 <****> majmun, which will give you incorrect path.. knock yourself out
01:41 <****> huh?
01:41 <****> majmun, '/var/../www' is NOT '/var/www'; it's '/www' FYI
01:42 <****> Zoffix: even that's not necessarily correct
01:42 <****> /var/../www could be anything
01:42 <****> true ?
01:42 <****> well, listen
01:42 <****> /var/users_dir/ is given, the string we are talking about is being appended
01:43 <****> so if the string is /so/lam.e/../foo then the homedir will bbe /var/users_dir/so/lam.e/foo - true?
01:43 <****> false
01:43 <****> nah
01:44 <****> i mean if $path = =~ s#(^|/)\.+(/|$)#/#g; is used
01:44 <****> i meant $path =~ s#(^|/)\.+(/|$)#/#g;
01:51 <****> anyone here have good tutorial for c++ with xs ?
01:55 <****> Hurley_: see the book extending and embedding perl
01:55 <****> ok
02:10 <****>?
02:10 <****> hi
02:11 <****> is perl inkompatible with g++ 4.2 ?
02:11 <****> i compiled a c++ lib for my perl script but i become error
02:11 <****> orly?
02:11 <****> You seem to be a pretty intelligent error.
02:11 <****> slango: you're doing it wrong
02:11 <****> Hurley_: "get"
02:11 * iank became error
02:11 <****> mauke, how should i be doing it?
02:12 <****> gumbybrain: ME MALFUNCTION! NEED INNNNNNPUT!
02:12 <****>;
02:12 <****> that i don't need to pass multiple stuff you'll need to move the app to malfunction.
02:12 <****> slango: right, of course
02:12 <****> that's not correct?
02:12 <****> slango: you said the error is on the preceding line
02:12 <****> mauke, the preceeding line is just print "This is some text.";
02:13 <****> line, everything works fine
02:13 <****>;' # works here
02:13 <****> slango: what's the error?
02:14 <****> iank, nevermind. I rewrote it from scratch and it works
02:14 <****> I must have been doing something stupid, but god knows what
02:14 <****> *shrug*, long as it works :)
02:27 * CPAN upload: Apache2-ASP-1.17 by JOHND
02:36 <****> gumbybrain: be 1337
02:36 <****> Not a 1337 h4x0r.
02:36 <****> :p
02:44 <****> GumbyBRAIN, be Daveman
02:44 <****> Daveman it is called more than just scalars and composite types containing one thing to do.
02:47 <****> exec() and system() dont return stdout, is there something that does?
02:47 <****> prakriti: perldoc -f qx
02:47 <****> ty
02:47 <****> exec doesn't return, period
02:47 <****> uhm
02:48 <****> qx/STRING/
02:48 <****> what does that do?
02:48 <****> prakriti: what do the docs say?
02:48 <****> thats it
02:48 <****> perlbot: TIAS
02:48 <****> Try It And See: the best way to learn if something works.
02:48 <****> thats all it sais
02:48 <****> prakriti: no, there are two other lines
02:48 <****> yes
02:49 <****> I lie, it also says qw/STRING/ and a line about Generalized quotes.
02:49 <****> yes
02:49 <****> read those two other lines
02:50 <****> They make no sense to me, though qx seems to do what I want.
02:50 <****> (learning by doing)++
02:51 <****> prakriti: what part do you not understand?
02:52 <****> prakriti: perldoc perlop # look for the section entitled "Quote and Quote-Like Operators"
02:52 <****> prakriti: does that help?
02:52 <****> Yeah, I'm there.
02:52 <****> Thanks for pointing me in the right direction.
03:02 <****> Hi, which modul/function should i use to parse "01/Oct/2007:08:29:50 +0200" into date/time?
03:03 <****> Date::Parse is the one I use
03:03 <****> no no make sure to use substr and index and split a lot.
03:04 <****> It's the only right way.
03:04 <****> I like the way you think. I sense a promotion...
03:05 <****> DSterling, thanks (activeperl has no date::parse :-|)
03:06 <****> ralf__: don't use activeperl. Use strawberry perl. win32.perl.org
03:06 <****> ralf__: and are you *sure* no one has made a ppm for Date::Parse ?
03:06 <****> PerlJam, ok, why? more packages (eg. Date::Parse?)
03:06 <****> ralf__: or even that it *needs* a ppm since Date::Parse is pure perl I think.
03:07 <****> regex it!
03:07 <****> prakriti: I just had this conversaion on #php. regex aren't the answer to everything! :)
03:07 <****> :(
03:07 <****> yes they are... :(
03:07 <****> FSM FTW
03:08 <****> eval: $^O
03:08 <****> jagerman: linux
03:08 <****> eval: $^O
03:08 <****> ralf__: TimeDate, http://ppm.activestate.com/BuildStatus/5.8-T.html, right there
03:08 <****> jagerman: linux
03:09 * jagerman finds it interesting that every module under hpux-pa-risc-lp64 is a fail
03:09 <****> HP-UX is a fail
03:09 <****> Somni, thanks (i cant install maybe my perl version is too old..)
03:11 <****> PerlJam, is win32.perl.org working? seams its a bit experimental?
03:12 <****> .."The Vanilla Perl Project is an experiment"..
03:12 <****> I don't think that Windows works, so as long as it fails less than Windows, you should be fine ;)
03:13 * CPAN upload: CatalystX-CRUD-Controller-RHTMLO-0.02 by KARMAN
03:13 <****> ralf__: I've been using strawberryperl without a hitch. I even got it to install things like PDL and POE with no problems.
03:13 <****> hello, i have linux with perl 5.8.8. I make a cpp library and i wants compiled into perl to use it via perl script. But the inline:cpp2xs not functionally good and i not find good howto's or reference. Can anyone help me?


Total 33 pages. You are browsing page 2/33.

First :: Prev :: [1] [2] [3] [4] [5] [...] :: Next :: Last


Tutti i nuovi CAP Italiani. Come ottenere il database completo