Re: rename all files

2005-02-19 Thread Edward Wijaya
On Sat, 19 Feb 2005 16:40:43 +0800, xuantl <[EMAIL PROTECTED]> wrote: Hi all, Hi I wan't to change name of all the files in a directory(incluing sub directorys) to lowercase. [snip] But it only works for files in the top directory("."), and no effect to all other files in sub directorys. Any help?

Passing an object to a subroutine via hash?

2005-02-19 Thread Chris
Greetings, I don't know what the proper terminology is for what I want to do, so if somebody can tell me what it is, that would be great. Basically I have my core code, then lots of subroutines. Right now I pass data to subroutines via a "parameter" hash. How can I pass an object that was crea

rename all files

2005-02-19 Thread xuantl
Hi all, I wan't to change name of all the files in a directory(incluing sub directorys) to lowercase. the code: --- use File::Find; $rootDir='.'; find (\&lowerCase, $rootDir); find (sub{print "$File::Find::name\n"}, $rootDir); sub lowerCase { $oldN

Sessions

2005-02-19 Thread Octavian Rasnita
Hi, Is it possible to use the module CGI::Session (or another module) to create sessions that may use cookies, but also may put the random hash in the query string like under PHP? Thank you. Teddy -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Undef value trouble

2005-02-19 Thread Peter Scott
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] (Wiggins d'Anconia) writes: >Lawrence Statton wrote: >> while ( defined ( my ($pid) = $sth->fetchrow_array ) ) { >0 in a scalar variable is NOT equal to undef; however both are false. >The above specifically checks for definedness, as opposed to t