jeanluca has asked for the wisdom of the Perl Monks concerning the following question:
Dear Monks,
I would like to do something describe in the example below
Thanks in advance
Luca
I would like to do something describe in the example below
To me it looks very logic, but it doesn't work. Is there a way simular that does work ?open IN, "<myFile" ; $str .= <IN> close IN ;
Thanks in advance
Luca
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: put file content into a string
by Roy Johnson (Monsignor) on Dec 19, 2005 at 16:14 UTC | |
Re: put file content into a string
by Fletch (Bishop) on Dec 19, 2005 at 16:15 UTC | |
Re: put file content into a string
by ptum (Priest) on Dec 19, 2005 at 16:14 UTC | |
Re: put file content into a string
by prasadbabu (Prior) on Dec 19, 2005 at 16:13 UTC | |
Re: put file content into a string
by Hue-Bond (Priest) on Dec 19, 2005 at 16:19 UTC | |
Re: put file content into a string
by tirwhan (Abbot) on Dec 19, 2005 at 16:19 UTC | |
Re: put file content into a string
by jeanluca (Deacon) on Dec 19, 2005 at 16:19 UTC | |
by Fletch (Bishop) on Dec 19, 2005 at 16:26 UTC | |
Re: put file content into a string
by Spidy (Chaplain) on Dec 19, 2005 at 17:26 UTC | |
Re: put file content into a string
by l3v3l (Monk) on Dec 19, 2005 at 17:31 UTC |
Back to
Seekers of Perl Wisdom