Nix Juban wrote:
>
> I would like to know if i understood this line clear.
>
> while (1) {print $e[ ($i %= @e)++ ], "\b";}
>
> so modulo's values are 0 then 1 then 2 then 0 (tehn loops back again).
> This will make it loop and print the 4 values of my array.
>
> is this applicable for
;is this applicable for all arrays with unlimited number of elements?
>
>how about auto flush? what does it do?
>
>rgds,
>nix
>
>-Original Message-----
>From: John W. Krahn [mailto:[EMAIL PROTECTED]]
>Sent: Wednesday, November 27, 2002 2:33 PM
>To: [EMAIL PROTEC
with unlimited number of elements?
>
>how about auto flush? what does it do?
>
>rgds,
>nix
>
>-Original Message-
>From: John W. Krahn [mailto:[EMAIL PROTECTED]]
>Sent: Wednesday, November 27, 2002 2:33 PM
>To: [EMAIL PROTECTED]
>Subject: Re: My script doesnt print out t
with unlimited number of elements?
how about auto flush? what does it do?
rgds,
nix
-Original Message-
From: John W. Krahn [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, November 27, 2002 2:33 PM
To: [EMAIL PROTECTED]
Subject: Re: My script doesnt print out the output i like
> Nix Ju
> Nix Juban wrote:
>
> Hi!
Hello,
> Im just new to PERL and im trying this out...its suppose to make this
> line tumble like a cartwheel.
>
> ##!/usr/intel/bin/perl -w
> use strict;
> use warnings;
>
> my @e=qw(|\_/);
> while (1)
> {
> foreach (@e)
> {
> print $_."\b";
> }
> }
#!/usr/int
uot;'Andres L. Figari'" <[EMAIL PROTECTED]>; "Juban, Nix"
<[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Tuesday, November 26, 2002 7:33 PM
Subject: RE: My script doesnt print out the output i like
> Nope, it didnt work but thanks for responding.
&g
|\_/\b|\
_/\b
-Original Message-
From: Andres L. Figari [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, November 27, 2002 11:25 AM
To: Juban, Nix
Cc: [EMAIL PROTECTED]
Subject: Re: My script doesnt print out the output i like
BlankI think that when you print "\" it thinks it is
BlankI think that when you print "\" it thinks it is an escape character, so you would
need "\\" check these out, I always have to look them up :)
- Original Message -
From: Juban, Nix
To: '[EMAIL PROTECTED]'
Sent: Tuesday, November 26, 2002 7:19 PM
Subject: My script doesnt