HeyYou has asked for the wisdom of the Perl Monks concerning the following question:
although there are more entris and all the end file ends up having content like this,sub enter_father { $student = $name_ent -> get; open studentfile, ">>", $student; $file_array[6] = $father_ent; print studentfile ($file_array[6]); close studentfile; }
The name shows up, but nothing elseSampleNameTk::Entry=HASH(0x84a8644)Tk::Entry=HASH(0x84a8a4c)Tk::En try=HASH(0x84a8bcc)Tk::Entry=HASH(0x84a8dc4)Tk::Entry=HASH(0x84a 8fbc)Tk::Entry=HASH(0x84a91b4)Tk::Entry=HASH(0x84a93ac)Tk::Entry =HASH(0x8499b58)Tk::Entry=HASH(0x8499d50)Tk::Entry=HASH(0x8499f4 8)Tk::Entry=HASH(0x849a140)Tk::Entry=HASH(0x849a338)Tk::Entry=HA SH(0x849a530)Tk::Entry=HASH(0x849a728)Tk::Entry=HASH
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: File I/O in Perl/Tk
by chromatic (Archbishop) on Jan 02, 2006 at 05:08 UTC | |
by HeyYou (Novice) on Jan 05, 2006 at 00:58 UTC |