@# Quotes DB     useful, funny, interesting





Google
 
Web www.quotesdb.info
Undernet  |  EFnet  |  Quakenet  |  Freenode  |  Dalnet  |  Ircnet  |  Galaxynet
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



Comments:

<0> Why do I want to look at that?
<1> maybe to help how to use it ?
<1> :)
<1> sorry
<1> don't want to disturb you too much !
<0> Ah, well, isn't there documentation there?
<1> nope ! just a perl file which maybe get as argument a svg file name as test.svg
<1> so i am trying to use it under IIS or Apache
<1> to convert svg
<2> heh
<2> what's up
<2> SIGINT is sent
<2> but app does not get killed
<2> hehe
<1> If I put <% @Language=PerlScript %> and than psate the pl code I get displayed the code



<2> $SIG{__DIE__}
<2> I see this in docs
<2> and $SIG{__WARN__}
<2> only this interrupts Accepts it seems
<3> Hi, in a foreach loop, is there anyway to test if the current iteration is the last one in the loop?
<3> Context: append a string, append a comma only if not last element
<1> I've inserted the pl.file into html between <SCRIPT LANGUAGE="PerlScript"> and </SCRIPT> into a HTML ! It seem that the file get as parameter a variable if ( @ARGV > 0 ) { into the function main ! How could I p*** that variable to script ? by using name of the html and ?var=file.svg ? If so how to extract or initiate in the program ARGV = $_GET["arg"] but this is PHP
<4> DukeDave, why not use join?
<5> can someone help me out with a N00b question I have a perl script but when I try to run it it says
<5> bad interpreter: No such file or directory
<6> datr1x: remove all dos \r's.
<5> can someone explain why
<6> use the ascii mode to upload it.
<6> make sure it's executable
<5> Have done chmod 777
<7> yes, it's probably in dos/windows format
<6> datr1x: NO
<6> do NOT chmod 777 it.
<6> 755 is *MORE* than adequate.
<5> OK
<6> remove all dos newlines, that is the problem
<7> dos2unix it
<5> how do I get rid of the windows stuff in it
<6> upload it in ASCII mode.
<6> or use dos2unix
<6> or use perl.
<5> thanks
<8> How do you remove the current element from an array while foreach()ing over it? :)
<9> Om: you don't. you might look at grep()
<10> Om: You should iterate by its index. for ($i = 0; $i < scalar @arr; $i++) { if (cond($arr[$i])) { delete $arr[$i]; } }
<4> push each element onto some other array; don't push some of them, then copy the secondary array over
<10> Or grep, as tybalt89
<8> ok, thanks :)
<10> Om: perl -MData::Dumper -e '@a = qw/a b c c c d e f/; @a = grep { $_ ne 'c' } @a; print Dumper \@a;'
<8> :)
<0> OH NO I FORGOT THE CILANTRO~!
<11> Yaakov: you'll never be a mexican now!
<12> "... and let minix be the great operating system it will be." -- *sigh*
<13> how do I check if a string variable has one or many of some characters ?
<14> s/be/never be/
<12> ongeboren: ($string =~ tr/a//) > $thenumber
<14> a decent sockets implementation would be groovey.
<14> scratch that. a decent libc implementation would be better.
<12> a decent operating system would be groovey
<13> integral, can I make it tr/abc// ?
<12> ongeboren: sure!
<13> oh, i got lost in the manual..
<13> thanks
<15> how do you hack hotmail/
<15> ?
<15> with perl
<15> ; )
<16> nanotech, Because how can you catch a shooting star and swallow it? You can't. It's too big. SUCH IS MANGO.
<6> integral: does it replace everything with SCSI like vmware does?
<6> nanotech: only php can hack hotmail.
<16> nanotech, Can you say to a rainbow, stop being a rainbow for just a moment? No! Such is MANGO
<6> rumango?
<15> ok



<15> tell me hwo to doit
<15> ; )
<6> nanotech: only php can do it
<16> no idea; mixed drinks aren't my forte...
<6> so ask ##php
<7> pebkac de nanotech
<17> sub one { sub two { print 'do something'; }; &two; } ::: <-- this should work right ?
<16> wow! this is like one of those times when
<16> perlbot, be nanotech
<18> <15> CAN I BORROW SOME OF UR BRAINPOWER PLZ? I DONT WANNA LERN PEARL!@!
<16> yes. and the circle is complete.
<6> pheorehs: perl doesn't scope those properly ..
<6> and please don't call subs with &
<17> so I should do it that way, and why not ?
<6> pheorehs: if you absolutely need it, you can emulate that behaior with my $foo = sub { ... } $foo->(@args)
<15> you guys arent as fun as the night crew
<15> ; )
<15> ill try again later ; )
<17> Botje, cool. but why not use & ?
<12> Botje: hmm, I'm not sure
<12> it might actually use a custom driver actually
<12> at least, the non-hardware-virtualisation version :) The hardware-virtualisaion version (ie, using Intel's VT) I guess has to emulate real devices, since they've got winnt running on it
<19> How do I match the contents of a string that has [p]Words[/p] (ie, I want Words seperated out)
<6> pheorehs: it screws up prototypes and copies your @_.
<12> no, it doesn't copy, Botje, that's precisely what it *doesn't* do :-)
<6> siliver: Text::Balanced.
<6> integral: oh right. my bad.
<17> :)
<20> GumbyBRAIN: nanotech trolls!
<21> resiak: Pebkac de nanotech.
<16> GumbyBRAIN, hack teh planet!1
<21> uber_spaced: "But the more ignorant of their narration, and so had staggered away from the figure of a skull, which was thus deprived of the works of edgar allan poe v. 1 Volume 1 of the planet and the council arose hurriedly (as it is too long to be upon some portion of it having become entangled in them, tears them rectangularly - divides them into the soul, taking the strongest tides ever known them.
<16> gah. turn verbose off.
<15> huh?
<15> GumbyBRAIN resiak is a *****
<21> nanotech: for, however rare this ether is more than a criticism.
<15> ; )
<22> hey guys, anyone have an idea what's wrong with this line? $string =~ m/open(.*?)template/ && print "[+]id: $idn[+]string: $1n";
<23> hello people
<23> ;)
<22> hello person
<23> integral are you there ?
<22> ;)
<23> duuuude :P
<6> aridese: && binds tighter than =~
<6> you probably want and instead.
<16> at first it's constrictive, but after a while it becomes a part of you - garth
<22> ahhh i see
<22> thanks
<12> why do you keep asking me?
<12> I keep trying to get you to go away.
<23> When i use one single $sock and check the connection with syswrite() == 0 it works, but when i create an array @socks and do $socks[0] = new ... SOCKET. .. and i want to use the $socks[0] as FH of the socket, i can't manage to check the connection but i can send stuff .. strange .?
<23> so its the array that is a problem ..
<10> blehhhhh: use '{ $socks[0] }'
<23> ok thank use
<23> thank you i meant
<23> sec
<22> Botje, "and" still gives me a compilation error
<10> aridese: What compilation error?
<16> $idn[+]string
<16> that may be causin it.
<22> ah
<10> You should scape [, ], and +
<16> dont interpolate that part.
<10> \[\+\]
<16> or what izut said.
<10> uber_spaced: :)
<6> or don't use such a gh3y separator.
<24> I got my damn CD booklet printed, by the way
<22> yeah that was the problem
<6> or use join.
<16> izut, + is safe
<22> thanks a bunch
<24> I figured out how to MASTER WORD 2003!


Name:

Comments:

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






Return to #perl
or
Go to some related logs:

qt linux jumping mouse
#perl
libdvdread3 edge
#web
pointer icon gnome
#css
starcraft wine presario ubuntu
R34V3R
xorg.xconf monitor VM
bash+metachar



Home  |  disclaimer  |  contact  |  submit quotes