| |
| |
| |
|
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
Comments:
<0> thanks a lot odrm <0> :) <1> man <1> shortest vacation ever. <2> hello <2> how could I see the size of a filename <3> length("the filename") <4> use the stat command <4> stat[7] <4> i believe that 7 is file size... <4> perldoc -f stat <5> Type 'perldoc -f stat' in your shell or go to http://perldoc.perl.org/functions/stat.html <2> thanks a lot <4> this is how you will gain statistics of various types for files. <4> np <3> gah, we need a directory of RealName <=> Nicks
<6> integral - make one. <3> okay. <6> no! Don't actually make one! <3> I've been looking for an excuse to play with DBIx::Cl*** :) <3> ah, I've figured out who Scott Walters is: Perl6 Now! <0> i can't insert data with dbi if its a scalar, i try $mot and '$mot' "$mot" mysql said that $mot is not a column god damn i know i used it with VALUES... the only way that work is with text like 'a' , is there a way to put a ****ing scalar of hell <0> 2 hours of my life wasted on it <7> strings must be quoted using ' <0> so i can't <7> ? <3> use placeholders. <0> . <0> ok. <3> my $sth = $dbh->prepare("select * from table where foo like ?"); $sth->execute(q{ "'{}`; }); <0> thanks you integral work good <8> hello <3> np <8> does the chown function in perl supports -R <8> (recursive) <3> use system() <8> ok <9> GumbyBRAIN: insomnia <10> Wwalker wishes everything would be handy *and* an insomnia cure! <11> $foundFile = `find .php $PATH`; <- Does that seem horribly wrong ? <7> yes <11> Mind correcting me? :-) <12> use File::Find; <12> core: File::Find <5> File::Find was added to Perl5 <9> and/or read the manpage to the find command... <9> you want, find $PATH -iname \*.php <9> File::Find is better for perl though <13> the basic find syntat is wrong I believe, at least for my system <13> it's find $path -name '*.php' <11> yeah, simcop2387s solution worked :) <13> for unix find <13> right <13> i was just about to read that... <11> will that return an array, or ? <13> yawn ;-) <9> glibc needs to drop some of those locales <11> I need to chmod every php file for safety reasons ... chmod $file won't be applied to each file, will it ? <14> Wrong? Nah it's not wrong. It just is insecure and not portable. <9> acid_: just use find to do it all then, no need to bring perl into it <9> find $path -iname \*.php -exec chmod a-rwx {} \; <9> substituting your correct permissions that is <11> simcop2387, Id like to automate the process with a script, so that I can execute it should I ever need to perform the same command again (doubt it though ... this is in connection with a move to suPHP) <9> if you learn the find command well enough there is no need to write anything, find is awsome for performing a repetative task on things <14> I guess that makes sense. Setting up a system that requires that the files chmod and then automatically chmod every file that needs the rights. <11> Ani-_, problem is that the apache server here has been running all documents as the "apache" user, making it a heaven for hackers and spammers. I'm porting to suPHP so that I can monitor the little ****s .. and suPHP requires files to be owned by the respective user and chmod to be rwx only by user .. I need to chown -R directories, and chmod all php files so they are only readable by the user. <9> theres a n00b filing bugs about perl 5.6.1 missing modules to the parrot mailing list <9> core: DateTime <5> DateTime will be added by christmas <15> Hopefully Date::Manip! <15> Then maybe Perl will die off for good <9> Brend: thats the module the nutcase filed a bug about <15> Hee hee <16> guten morgen <9> moin moin <15> If he thinks Perl's total lack of a built-in date time module is bad, he should see Python's! <15> And despair
<16> good morning simcop <9> https://rt.perl.org/rt3/Ticket/Display.html?id=39688 for those with an rt.perl.org account <9> perlbot paste <17> Paste your code and #perl will be able to view it: http://sial.org/pbot/perl http://dragon.cbi.tamucc.edu:8080 http://erxz.com/pb <18> "simcop2387" at 68.115.152.146 pasted "parrot bug?" (69 lines, 2.4K) at http://sial.org/pbot/18176 <9> and there it is for people without one <11> find $PATH -iname \*.php -exec chmod 0600 {} \\; <- find: missing argument to `-exec' <15> Hurry up and help him recifity, simcop! <9> http://www.quintegrasolutions.com/solutions_webservices.html and here they claim to have extensive experience with perl... <15> That guy is a _senior_ systems engineer :/ <19> meppl: Konnte ich etwas *sauberes* W***er haben? <9> Brend: and python! <15> Oh noes :( <20> acid_, find $PATH -iname \*.php -print0| xargs -0 chmod 0600 <20> we are using python stuff <15> " Working with our experienced team of developers offers the following advantages: [...] Large library of component code " <15> Whoda thunk it <20> Zope Plone, it's not the greatest <15> vorsprung, Zope is not something the Python community at large are proud of <9> http://www.quintegrasolutions.com/careers_Currentopenings.html lets find impossible job requirements! <20> Brend, Zope is quite old <19> (doubled 8 line pointless email usage warnings)++ <15> vorsprung: Yes. But more importantly, when you work with Zope you're writing Zope, not Python <15> The fact that it's Python is pretty incidental <15> The point is that it is Huge MegaFramework <11> vorsprung, simcop2387 , thanks :-) <20> Brend, yes it seems like that. And really nasty <15> What the heck is ABAP? <15> vorsprung: If you would like some eyeball-meltage, read the code for zope.interface! <15> (Which Twisted depends on, so I have had to dig into it before) <9> damn no impossible job requirements <15> simcop, however! ">> Good oral and written communication skills is a must" <15> Hah hah. "_are_ a must", damnit! <21> "please to be having good written and oral communication skills, yes." <15> Seriously though I'm looking at this "ABAP Consultant" position and I have no idea what any of it is talking about <9> dec: heh <15> ">> ALE, IDOC, RFC's, EDI, BADI's" <-- Huh? <9> RFC's i know, but the rest is a bunch of **** <15> I bet it's not the same RFC <16> good morning infi <16> infi, no, youre too far away :/ <19> :~( <19> They sure did a good job running that site through the buzzword bingo machine <15> Whee ... on the "Clients" page it does not list a single client! <15> Not one! <15> "At Quintegra, we travel through unique paths in adding value for our clients." <19> I wonder if they are twirling with Apache 1.3.9 <22> Brend - RFCs shouldn't have an apostrophe either :) <22> probably the same for "BADI's" <7> an apostrophe does not a plural make! <9> simcop2387 function no caffeine well without <9> holy **** how many locales does glibc have? <9> the 250line backbuffer of my terminal was filled long ago, i don't know how many its done now <15> wc -l # ftw <23> hi ia m new in perl and i want to use a function with some parameters but it did't work <6> tears - OK. ask a question. <23> ayrnieu! i have declared a function sub tears($width, $height) { <19> eep <6> tears - yeah, it doesn't work that way. perldoc perlintro <5> Type 'perldoc perlintro' in your shell or go to http://perldoc.perl.org/perlintro.html <23> then how use this man <23> ? <15> By reading the link buu gave you! <23> http://www.devlearn.com/Perl_Functions <15> What the hell that's all wrong <15> Don't read that <15> (I like their slogan though. "Where learning begins". The "and ends" is silent. <23> ayrnieu! how use this man? http://www.devlearn.com/Perl_Functions <6> tears - perldoc perlintro <5> Type 'perldoc perlintro' in your shell or go to http://perldoc.perl.org/perlintro.html <15> Tears! It is wrong! Don't read it! <24> hi, i have no experience in writing web apps using Perl (used only Mason) but i have been using Perl for a long time for other things. could someone give me some hints how to start or what are the possible solutions? is Apache+mod_perl+CGI good to start with? <23> i think there is lot of differenct between PHP and Perl functions
Return to
#perl or Go to some related
logs:
#math raidtab opensuse ubuntu unistall wine XForms + suse10 #kde better than dmesg #perl ubuntu mouse speed problem Cazzquvoc + pass #kernel
|
|