Re: variable in perl

2008-10-16 Thread Jean-Rene David
* Telemachus [2008.10.15 12:35]: > In Debian (and so probably many of its > children), perl-doc is a distinct package and > not installed automatically when you install the > perl package. > > Stupid, but true. Well, not to drift off-topic but it is my understanding that it is general Debian poli

Re: variable in perl

2008-10-15 Thread Mr. Shawn H. Corey
On Wed, 2008-10-15 at 12:25 -0400, Telemachus wrote: > On Tue Oct 14 2008 @ 3:58, Rob Dixon wrote: > > Chas. Owens wrote: > > > > > > [...] if for some reason you don't have access to perldoc > > > > Are there any installations of perl that don't include the manual? > > In Debian (and so probab

Re: variable in perl

2008-10-15 Thread Telemachus
On Tue Oct 14 2008 @ 3:58, Rob Dixon wrote: > Chas. Owens wrote: > > > > [...] if for some reason you don't have access to perldoc > > Are there any installations of perl that don't include the manual? In Debian (and so probably many of its children), perl-doc is a distinct package and not inst

Re: variable in perl

2008-10-15 Thread Peter Scott
On Tue, 14 Oct 2008 15:58:58 +0100, Rob Dixon wrote: > Are there any installations of perl that don't include the manual? Yes. Perl 5.8.5 on OS2008 on my handheld Nokia 810. 4GB internal memory; the POD was even stripped from the .pm files included. -- Peter Scott http://www.perlmedic.com/ htt

Re: variable in perl

2008-10-14 Thread Dr.Ruud
"Sandy lone" schreef: > I didn't have "man" installed on one of my hosts, so I can't read > perldoc documents on that host.:-) perldoc -oHtml perldoc | lynx -stdin -- Affijn, Ruud "Gewoon is een tijger." -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Re: variable in perl

2008-10-14 Thread Sandy lone
On Tue, Oct 14, 2008 at 10:58 PM, Rob Dixon <[EMAIL PROTECTED]> wrote: > Chas. Owens wrote: >> >> [...] if for some reason you don't have access to perldoc > > Are there any installations of perl that don't include the manual? > Yes, I didn't have "man" installed on one of my hosts, so I can't rea

Re: variable in perl

2008-10-14 Thread Paul Johnson
On Tue, Oct 14, 2008 at 03:58:58PM +0100, Rob Dixon wrote: > Chas. Owens wrote: > > > > [...] if for some reason you don't have access to perldoc > > Are there any installations of perl that don't include the manual? > > Clearly you could be perverse and delete the documentation after an > insta

Re: variable in perl

2008-10-14 Thread Rob Dixon
Chas. Owens wrote: > > [...] if for some reason you don't have access to perldoc Are there any installations of perl that don't include the manual? Clearly you could be perverse and delete the documentation after an installation, but I thought a standard build of perl included it, regardless of

Re: variable in perl

2008-10-14 Thread Chas. Owens
On Tue, Oct 14, 2008 at 08:26, Mr. Shawn H. Corey <[EMAIL PROTECTED]> wrote: > On Tue, 2008-10-14 at 17:33 +0530, [EMAIL PROTECTED] wrote: >> >> But then what is the difference between $0 and $^X > > Answers can be found in `perldoc perlvar`. snip Or http://perldoc.perl.org/perlvar.html#$0 and htt

RE: variable in perl

2008-10-14 Thread Mr. Shawn H. Corey
On Tue, 2008-10-14 at 17:33 +0530, [EMAIL PROTECTED] wrote: > > But then what is the difference between $0 and $^X > > Answers can be found in `perldoc perlvar`. -- Just my 0.0002 million dollars worth, Shawn Linux is obsolete. -- Andrew Tanenbaum -- To unsubscribe, e-mail: [EMAIL

RE: variable in perl

2008-10-14 Thread Irfan.Sayed
TECTED] > A : beginners@perl.org > Copie à : > Objet : variable in perl > > > Hi All, > > > > Can somebody please tell me what is the meaning of $^X . Haven't checked "perldoc perlvar&

RE: variable in perl

2008-10-14 Thread Irfan.Sayed
> Copie à : > Objet : variable in perl > > > Hi All, > > > > Can somebody please tell me what is the meaning of $^X . Haven't checked "perldoc perlvar"? $^X The name used to

variable in perl

2008-10-14 Thread Irfan.Sayed
Hi All, Can somebody please tell me what is the meaning of $^X . Regards Irf. This e-mail and any files transmitted with it are for the sole use of the intended recipient(s) and may contain confidential and privileged information. If you are not the intended recipient, please contact th

Re: how to define variable in perl

2006-03-24 Thread Manaen Schlabach
Is there a help me with my perl homework list? Maybe we should start one... On 3/23/06, JupiterHost.Net <[EMAIL PROTECTED]> wrote: > > > Irfan J Sayed wrote: > > Hi, > > Hello, > > > Plz let me know how to define variable in perl > > my $homework = 

Re: how to define variable in perl

2006-03-23 Thread JupiterHost.Net
Irfan J Sayed wrote: Hi, Hello, Plz let me know how to define variable in perl my $homework = 'cheating'; my @todolist = qw(perldoc RTFM STFW); my %perldoc = ( 'perlintro' => 'Perl introduction for beginners', 'perldata' =

Re: how to define variable in perl

2006-03-23 Thread Jeff Pang
> >Plz let me know how to define variable in perl > Hello.See this article please,it's very useful for your purpose and is easy for understanding. "Coping with Scoping" http://perl.plover.com/FAQs/Namespaces.html.en -- Jeff Pang NetEase AntiSpam Team http://

Re: how to define variable in perl

2006-03-23 Thread Chas Owens
On 3/23/06, Irfan J Sayed <[EMAIL PROTECTED]> wrote: > Hi, > > Plz let me know how to define variable in perl > > Regards > Irfan Sayed That depends on what you mean by define. I believe this is what you are looking for my $var; But without more information I c

how to define variable in perl

2006-03-23 Thread Irfan J Sayed
Hi, Plz let me know how to define variable in perl Regards Irfan Sayed

Re: How to make a local variable a global variable in Perl

2001-12-14 Thread Michael Fowler
On Wed, Dec 12, 2001 at 05:42:11PM +0100, Jorge Goncalvez wrote: > Hi I have this code: > ... > sub MakeEth() > { > unless ($_Globals{NICIP_ADRESS}==$IPREAL[0]) > { > $_Globals{ETH_NETIF} eq "eth0"; You must have meant "=", not "eq", as in: $_Globals{ETH_NETIF}

Re:How to make a local variable a global variable in Perl

2001-12-12 Thread Jorge Goncalvez
Hi I have this code: ... sub MakeEth() { unless ($_Globals{NICIP_ADRESS}==$IPREAL[0]) { $_Globals{ETH_NETIF} eq "eth0"; } else{ $_Globals{ETH_NETIF} eq "eth0:1"; } } ... sub StartDhcp() { my $_cmd = $_Os{$_Globa