split function - from

2004-03-11 Thread stephen kelly
hi there i'm trying to split a string from a line of text in a file - the split delimiter is a tab character '\t' - i then need to compare the 2 bits on either side of the tab to see if they are equal - if not eq - i write to tidy else i write to mess ? confused - this bit of code is giving me em

jump out of conditional loop

2004-03-04 Thread stephen kelly
hi there what syntax do i use to jump out of a conditional loop for c/java it break; return; what is it in perl syntax> thx steve -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Only reading even lines in file -skipping odd ones!

2004-03-02 Thread stephen kelly
hi there i am trying to write a perl script to tidy up any lines in a file that don't contain alphabetic characters or single instances of character. i've noticed that the even lines are being skipped when read in eg 0,2,4,6 - the script is run on window - any ideas? # Tidy Glossaries #!/usr/bin

Make file jobs

2004-02-20 Thread stephen kelly
Hi i work in the localisation industry - silly me and am automating a lot of our repititive jobs - we use a lot of regular expressions so i was told to use perl to automate. Silly question - can i run system commands to interact with our sourcesafe database or any other EXE that maybe needed? get t