Pavan Kumar Hotha wrote:
>
> Hi all,
>
> I am very new to perl , I just want to know how can I use dos commands in
> perl scripting like
>
> for ($i=1;$i<=5;$i++) {
^^^^^
This is the terminator!
$i starts as ONE, the terminator checks "less than or equal to 5"
always true and drop out of 'for' loop.
Should be '$i >= 5' (greater than or equal to). If you increment
by one, you don't need the greater-than either.
i.e. ( $i = 1; $i = 5; $i++ )
Ken
> c:\net send xxx "somthing"
> }
>
> Thanks
> Pavan.
>
> > -----Original Message-----
> > From: Walt Sanders [SMTP:[EMAIL PROTECTED]]
> > Sent: Sunday, August 12, 2001 5:28 AM
> > To: [EMAIL PROTECTED]
> > Subject: RE: default named parameter values
> >
> > I use the following successfully:
> >
> > print("<script language='Javascript'>history.back();</script>") unless
> > param("title");
> >
> > It put the entered form values back as they were when the submit button
> > was
> > hit.
> >
> > Walt.
> >
> >
> > --
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
>
> This message is confidential and may also be legally privileged. If you are not the
>intended recipient, please notify us immediately. You should not copy it or use it
>for any purpose, not disclose its contents to any other person. The views and
>opinions expressed in this e-mail message are the author's own and may not reflect
>the views and opinions of Wilco International
>
> --
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]