ascertain current username

2002-08-16 Thread Stefan.Haberer
Hello, does anybody know a possibility how to ascertain the current User (User Id, Username) ? I thougt of using a module but couldn't find one. greetings Stefan -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

split

2002-06-04 Thread Stefan.Haberer
hi guys, I would like to split a line like that # FRI MAY 02 in two parts: $bash = # $rest = FRI MAY in my version ($bash, $rest) = split(/\s/, $line); $rest only contains "FRI" because the line is splitted at every blank. how can I achieve that the line ist splitted only at th

passing array-ref from sub to sub

2002-05-17 Thread Stefan.Haberer
Hi there, I would like to transfer an array-reference from sub "get_link_attr_entry_list" to sub "get_link_priority", but it doesn't work. Here is the code: use strict; my $link_id = ''; my $link_attr_entry_list_ref = ''; get_link_attr_entry_list($link_id); get_link_priority($link_attr

If...

2002-05-15 Thread Stefan.Haberer
hello everybody, I have a little problem with if... it seems to be very simple but I just cannot find a working solution here the code - there must be sth wrong within the term. does anybody know a solution? my $speed_cost_code = ''; my $avg_speed = $link_attr_entry->acc

problems with split

2002-04-25 Thread Stefan.Haberer
hi, i have a data file test1.txt as follows: 551356835||1|7684940|47534900|0 551356835||1|7684940|47534900|0 551356835||1|7684940|47534900|0 551356835||1|7684940|47534900|0 551356835||1|7684940|47534900|0 551356835||1|7684940|47534900|0 551356835||1|7684940|47534900|0 551356835||1|7684940|475349

print hash

2002-04-23 Thread Stefan.Haberer
Hello everybody, my code below should read in data from a file info.txt into a hash, the sub print_hash should print all hash-elements. actually it only prints the last key-value-pair. Does anybody see the mistake?Thank you for your help!!! Greetings Habi use strict; my %hash=(