Re: Perl Expect send array
From: Anno Siegel (anno4000_at_lublin.zrz.tu-berlin.de)
Date: 02/22/05
- Next message: ruud: "Re: Perl Expect send array"
- Previous message: Dave Weaver: "Re: swift MT940 files"
- In reply to: ruud: "Perl Expect send array"
- Next in thread: ruud: "Re: Perl Expect send array"
- Reply: ruud: "Re: Perl Expect send array"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 22 Feb 2005 09:39:30 GMT
ruud <geen@mail.invalid> wrote in comp.lang.perl.misc:
> I am having a logfile called "log".
> I am reading the whole logfile into an array:
>
> open (FPTR,"/home/ruud/log");
> @logfile = <FPTR>;
>
> When i do print "@logfile"; i get the correct output.
> But when i want to send the log to an (internal) newsgroup like this:
>
> $exp->send ("@logfile");
> It adds between every line an enter (\n)
>
> Is there a way to work around that ?
perldoc -f chomp
Anno
- Next message: ruud: "Re: Perl Expect send array"
- Previous message: Dave Weaver: "Re: swift MT940 files"
- In reply to: ruud: "Perl Expect send array"
- Next in thread: ruud: "Re: Perl Expect send array"
- Reply: ruud: "Re: Perl Expect send array"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|