Re: Editors

2002-12-17 Thread tallison
> What editors do you guys use when coding Perl? I have been using emacs > on both windows and Linux but that is because I hate vi and notepad. > > Paul Kraus > Network Administrator > PEL Supply Company > 216.267.5775 Voice > 216-267-6176 Fax > www.pelsupply.com Then use emacs. they all work. D

Re: Transferring files

2002-12-17 Thread tallison
> Can anyone help? > > I have created a Perl script that takes customer information from our > database and prints it to a file called test.xml. > I need to get this file to another company so that they can update > their database with the information as they have managed to lose it rm > * (who kno

Re: problems with scalar(@array)

2002-12-17 Thread tallison
> my final goal is to loop through each filename and count how many times > each filename appears, example: archive/summer.html 2 > arts.html 2 > arttherapy.html 3. > > > for right now, I'm just trying to loop through the array @url. > Next step would be to compare whats in $line with what's in $ur

Re: problems with scalar(@array)

2002-12-17 Thread tallison
> Howdy, > > why isn't $i incrementing? > >24for ($i=0; $i<$num; $i++){ >25 print ("$i = $url[$i]\n"); >26} >27 It's working perfectly! :) 21$num = scalar(@url); 22print ("num = $num\n"); output: num = 1 0 = archive

regex

2002-12-16 Thread tallison
What is the difference between: $arg = "foo \(bar\)"; and $arg = 'foo \(bar\)'; when using like: s/$arg/bleah/; One works, one doesn't. Why? -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]