RE:Write to a file problem

2001-12-07 Thread Jorge Goncalvez
HI, I have a file which ends by: host clin09 {hardware ethernet 00:80:9F:2E:3F:5E; filename "/bootp/linux/pre3.1/alize/startup.txt";} } I have a perl tk application where a user types a MAc Adress in an entry the variable is $_Globals{MAC_ADDRESS} . I wanted to replace what's come after hardw

RE:Write to a file

2001-10-30 Thread Jorge Goncalvez
Hi, I would write to a file c:\cygwin\etc\dhcpd\dhcpd.conf which contains this: vendor-class "PXEClient" { filename "/bootp/linux/pxe/pxeloader" ; default-lease-time 1800; max-lease-time 1800; option host-name "CLIN_1" ; ... I want to put

Re:Write to a file

2001-10-23 Thread Jorge Goncalvez
Hi, How I can write to the beginning of a file this: option vendor-encapsulated-options "install:KLOR_1:%$_varRef:$_varRef:$_varRef"; that can be for exemple: option vendor-encapsulated-options "install:KLOR_1:%pre2.2:standard:E1302.fr"; In fact I wanted $_varRef to be an array which coul