--- Kristian Rink <[EMAIL PROTECTED]> wrote:
> basename(/tmp/whatever/file-I-would-like)
> ->file-I-would-like
> path(/tmp/whatever/file-I-would-like)
> ->/tmp/whatever
>
> Do I have those functions (or functions doing more or less the same)
> available in Perl? How are they called, where might I
Hello all,...
mainly being using Python for my programing tasks, I lately needed to
get acquainted with Perl and I have to say I kinda like it. Anyhow,
messing around trying to modify some perl scripts on one of our servers,
I kindly would like to ask one question: In Python, I got used to two
Change that line from : use Win32:ODBC;
to : use Win32::ODBC; (note the double colon)
-Original Message-
From: Angel Iliev Kafazov [mailto:angel.kafazov@;mail.bg]
Sent: November 9, 2002 10:38 AM
To: [EMAIL PROTECTED]
Subject: ?:failure notice
Hi,
I am trying to write a scipt wh
Hi,
I am trying to write a scipt which generates a web page based on a
information is ACCESS database. First, I need another script which have
to pass the information (user ID) to the one which will actually display
the other page. I have to pass the infprmation only by clicking on a
particula
%ENV hash contains all the environment vars
run this pice of code
foreach $key (sort keys %ENV){
print "$key = $ENV{$key}\n";
}
- Original Message -
From: "Chris Knipe" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, November 06, 2002 1:12 AM
Subject: env
> Lo eve
hashes are do not need to be sorted becouse they are key/value paires
if u need to get the values of the ascending order of keys
first load the keys to a array using following
@keylist = keys %hash;
#then sort the key list
@keylist = sort @keylist;
#now you have keys in ascending order so u ca
Use a html form to post name and value to the manage file instead of query
string
- Original Message -
From: "Johnstone, Colin" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, November 06, 2002 3:54 AM
Subject: Query String processing
> Hi all,
>
> I am writing an administra
On Fri, 8 Nov 2002 13:48:34 -0800 (PST), [EMAIL PROTECTED] (Carol
Nguyen) wrote:
>Hello,
>
>I just subscribed to this list 2 days ago. I am
>pretty new to perl. I have one question: I need to
>write a little script to auto-start the solaris web
>server when it crashes. How am I about to do thi
Hi Thomas , All
I'm not sure if a module exists to determine the folder size but this can
easily be done by recursing the directory structure and adding up the size
of the files it contains.
To ease up on the recursing task , File::Find comes in mighty handy.
$directory = 'C:\Perl';
$size = Get