ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: belanov@galaktika.ru
To: mandrake-russian@altlinux.ru
Subject: Re: [mdk-re] Re[2]: [mdk-re] Ê çíàòîêàì perl
Date: Thu Jul 19 16:05:01 2001
Message-ID: <001101c1104c$809ebc50$160314ac@INTEGRAL> (raw)
In-Reply-To: <7663.010719@globetravel.spb.ru>

для сравнения текстовых и числовых значений существуют
различные операторы. Напр., == это числовое сравнение,
а eq текстовое. Естественно что если к одним и тем же переменным
применить == и eq то результаты могут быть разные.

>
> c> Например, == дает ложь если сравниваемые стринги например 00023 и
> c> 23 что криво :-/
>
> Странно.
> $a = "00023";
> $b = "23";
> print "Thatz all. Have fun\n" if ($a == $b)
>
> Отдает ожидаемый результат.




  parent reply	other threads:[~2001-07-19 16:05 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-07-19 14:47 [mdk-re] К знатокам perl cornet
2001-07-19 14:56 ` [mdk-re] " Vlad Vostrykh
2001-07-19 15:03   ` Sergey Degtyaryov
2001-07-19 15:08 ` Maxim Savrilov
2001-07-19 15:30   ` cornet
2001-07-19 15:40     ` [mdk-re] Re[2]: " Sergey Degtyaryov
2001-07-19 16:00       ` [mdk-re] " Dmitri D. Sayakin
2001-07-19 16:07         ` cornet
2001-07-19 17:24           ` [mdk-re] " Dmitri D. Sayakin
2001-07-19 17:52             ` cornet
2001-07-19 16:02       ` [mdk-re] Re[2]: [mdk-re] " cornet
2001-07-19 16:10         ` Sergey Degtyaryov
2001-07-19 16:05       ` belanov [this message]
2001-07-19 15:49     ` [mdk-re] " Dmitri D. Sayakin
2001-07-19 16:00       ` cornet
2001-07-19 17:18         ` [mdk-re] " Dmitri D. Sayakin
2001-07-19 17:55           ` cornet
2001-07-19 16:06     ` [mdk-re] " Maxim Savrilov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='001101c1104c$809ebc50$160314ac@INTEGRAL' \
    --to=belanov@galaktika.ru \
    --cc=mandrake-russian@altlinux.ru \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git