Test For Dupplicate elements in an array

2004-04-20 Thread neill . taylor
I need to test if an array holds duplicates, and if so do something. What is the slickest way of doing this ? Neill __ Broadband from an unbeatable £15.99! http://www.tiscali.co.uk/products/broadband/home.html?code=SM-NL-11AM -- To

Learning how to map a drive in Perl

2004-03-25 Thread neill . taylor
I am looking at how I could connect to share and map a local drive in a perl script. I have cut and pasted the code from the man page from Lanman to understand what is happening. When I run the code below I get the following error Undefined subroutine main::USE_IPC called at map.pl line 5. Am I

IPTC Captions

2004-02-02 Thread neill . taylor
I need to manipulate the IPTC captions within a jpeg using Perl. Is their a module or an easy way of doing this in Perl ? Thanks Neill IMPORTANT NOTICE This email (including any attachments) is meant only for the intended recipient. It may also contain confidential

Covert Date to week number

2004-01-22 Thread neill . taylor
Is their a way in PERL to covert a date to a week number Cheers Neill IMPORTANT NOTICE This email (including any attachments) is meant only for the intended recipient. It may also contain confidential and privileged information. If you are not the intended

Re: Clearing Arrays

2004-01-13 Thread neill . taylor
I thought this newsgroup was for beginners! Ramprasad A

win32:netsend

2003-12-23 Thread neill . taylor
How do I use win32::netsend to send a message to multiple users ? IMPORTANT NOTICE This email (including any attachments) is meant only for the intended recipient. It may also contain confidential and privileged information. If you are not the intended recipient,

Win32::TieRegistry

2003-12-23 Thread neill . taylor
I have read the man page on using Win32::TieRegistry to find two variables in the registry, I think I may have missed the point somewhere but I don't seem to be able to read the keys. any clues ? # Obtain Database user and password from passed variables if (@ARGV ==2) { $user =

How to Create a hash using SQL 2000

2003-12-16 Thread neill . taylor
I am using activestate version 5.8 on XP with DBI 1.38. I am trying to return values into an associative array so that I don't keep needing to connect to the database. I am new to perl and DBI is looking like rocket science. The code below has been gleaned from the Internet so I am not completely

Move a file

2003-12-12 Thread neill . taylor
I am writing a script which will poll a directory and then move any files in the directory to a new directory dependant upon its name. The problem I think I might have is that the script may try to pick a file that is still being copied into the directory whilst the application is still trying

Connecting to SQL 2000 Database

2003-12-08 Thread neill . taylor
I am a complete beginner to PERL and programming. I am struggling to wade through all the relevant documentation about database connectivity etc. I simply want to write a PERL script for a w2000 client machine to connect to a SQL2000 2000 server and read a table in a database to obtain a value