Re: Beginner needs help with script :)
From: gnari (gnari_at_simnet.is)
Date: 05/31/04
- Next message: Scott Bryce: "Re: Beginner needs help with script :)"
- Previous message: Player: "Re: Beginner needs help with script :)"
- In reply to: Player: "Re: Beginner needs help with script :)"
- Next in thread: Player: "Re: Beginner needs help with script :)"
- Reply: Player: "Re: Beginner needs help with script :)"
- Reply: Player: "Re: Beginner needs help with script :)"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Mon, 31 May 2004 14:59:38 -0000
"Player" <notachance@inhell.com> wrote in message
news:c9f7eg$s2j$1@news7.svr.pol.co.uk...
>
> "gnari" <gnari@simnet.is> wrote in message
> news:c9f4v9$mqf$1@news.simnet.is...
> > "Player" <notachance@inhell.com> wrote in message
> > news:c9f4g2$e34$1@newsg2.svr.pol.co.uk...
[snip ctrl-Z failing on XP]
> > >
> > > Anyone no what I am doing wrong here?
> >
> > are you sure the CTRL-Z is the only character in the line?
> Yeah what it is asking is for the reader to to the ctrl+d or ctrl+z to
stop
> the stdin and go onto the next line.
> But when pressing ctrl+d or ctrl+z in the windows xp command console black
> window, it simply prints either of these two characters on the command
> console window, ^z ^d
>
> So as yet I haven't a clue as to what I can do to make the script work.
works on windows2000:
==
C:\perlcode>perl test.pl
Enter students names (press <CTRL>+Z when done):
name1
anothername
onemoreforluck
^Z
Enter associated grades (press <CTRL>+Z when done):
1
2
3
^Z
C:\perlcode>
==
can you cutandpaste equivalent terminal output from your
end ? (not that we do not believe you did it correctly,
but you never know...)
gnari
- Next message: Scott Bryce: "Re: Beginner needs help with script :)"
- Previous message: Player: "Re: Beginner needs help with script :)"
- In reply to: Player: "Re: Beginner needs help with script :)"
- Next in thread: Player: "Re: Beginner needs help with script :)"
- Reply: Player: "Re: Beginner needs help with script :)"
- Reply: Player: "Re: Beginner needs help with script :)"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|