#perl - Sun 6 May 2007 between 01:05 and 00:14



Khisanthf00li5h: $modi
ZoffixFireBug++
Caelumanabain: you probably mean !~ rather than =~ !
EpilogOption A: rebuild using the oci 6i
f00li5hEpilog: with my example path $ORACLE_HOME would be ora/10.1.1
EpilogOption B: install a different client?
CaelumEpilog: rebuild, less chances of hosing your system
Epilogyep
f00li5heval: $^W++; $foo = 'moose'; $foo =~ ! /o/;
buubotf00li5h:
Epilogand that would be nice... all the financial part is there :D
inventories, reports, etc
anabainCaelum, ($modi ~! /\\emph{(.*)?$linia(.*)?}/g) produces a syntax error
f00li5hdeparse: $^W++; $foo = 'moose'; $foo =~ ! /o/;
buubot(++$^W); ($foo = 'moose'); ($foo =~ (!/o/));
Khisanth!~ not ~!
f00li5h$foo matches the empty string
s/ =~ ! / !~ /xg
anabainoops
namedrisk($pasta,$modificado,$tamanho) = split(/\|/,$linha); then i have a chomp for $tamanho, and then i use $modificado to match as it is the last modified data of the file in case
f00li5hnamedrisk: tell me what the script is supposed to do
in english words
namedriskmmm it is a list of files that i want to compare and copy to a new folder all the files that has a different modify date from folder B
f00li5hnamedrisk: rsync
namedriskwindows :(
f00li5h(windows)--
namedrisk: well, most of the code in the branches of if ($encontrado == 1) {
is the same, so you can factor those out
namedrisk: is it supposed to be recursive?
namedriskthat part work like this: if the file is found on both folder then it will check for the modified date and if needed copy the file, if the file is not found it will just copy it
f00li5hnamedrisk: and also, you're missing; use strict; use warnings; from the top
namedriskindeed :( will fix it
f00li5hnamedrisk: okok, why are you doing this?
you sound like someone needs a version controll system
actionCPAN upload: Class-Accessor-Grouped-0.04000 by CLACO
CPANupload: Class-Accessor-Grouped-0.04000 by CLACO
namedriskwhat i wanted to do is: verify 2 folders for files that folder A has and folder B dont and copy to a new folder and then verify what files folder A has that B also has and only copy the files that folder A has that are newer then what is in folder B
does that make sense or sound crazy :P ?
f00li5hyeahh it does a little bit
namedrisk: so you are taking the newer (or added) files from one dir, and copying them to another
namedrisk:) i was trying but i cant figure out why $modificado == $xxx dont match and if u see the example near the top

Page: 3 10 17 24 31 38 45 52 59 66 73 80 

IrcArchive