| 1 |
# Arabic translation of manpages |
| 2 |
# This file is distributed under the same license as the manpages-l10n package. |
| 3 |
# Copyright © of this file: |
| 4 |
# زايد السعيدي <[email protected]>, 2026. |
| 5 |
|
| 6 |
msgid "" |
| 7 |
msgstr "" |
| 8 |
"Project-Id-Version: manpages-l10n\n" |
| 9 |
"POT-Creation-Date: 2026-06-05 06:34+0200\n" |
| 10 |
"PO-Revision-Date: 2026-06-05 21:04+0400\n" |
| 11 |
"Last-Translator: Zayed Al-Saidi <[email protected]>\n" |
| 12 |
"Language-Team: Arabic <[email protected]>\n" |
| 13 |
"Language: ar\n" |
| 14 |
"MIME-Version: 1.0\n" |
| 15 |
"Content-Type: text/plain; charset=UTF-8\n" |
| 16 |
"Content-Transfer-Encoding: 8bit\n" |
| 17 |
".MIME-Version: 1.0\n" |
| 18 |
"Plural-Forms: nplurals=6; plural=n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 &&" |
| 19 |
" n%100<=10 ? 3 : n%100>=11 && n%100<=99 ? 4 : 5;\n" |
| 20 |
"X-Generator: Lokalize 23.08.5\n" |
| 21 |
|
| 22 |
# #-#-#-#-# fedora-44: perldata.1.pot (PACKAGE VERSION) #-#-#-#-# |
| 23 |
# |
| 24 |
# #-#-#-#-# fedora-rawhide: perldata.1.pot (PACKAGE VERSION) #-#-#-#-# |
| 25 |
# |
| 26 |
# #-#-#-#-# mageia-cauldron: perldata.1.pot (PACKAGE VERSION) #-#-#-#-# |
| 27 |
# |
| 28 |
# #-#-#-#-# opensuse-leap-16-1: perldata.1.pot (PACKAGE VERSION) #-#-#-#-# |
| 29 |
# |
| 30 |
# #-#-#-#-# opensuse-tumbleweed: perldata.1.pot (PACKAGE VERSION) #-#-#-#-# |
| 31 |
# |
| 32 |
#. #-#-#-#-# debian-trixie: perldata.1.pot (PACKAGE VERSION) #-#-#-#-# |
| 33 |
#. ======================================================================== |
| 34 |
#. type: IX |
| 35 |
#. #-#-#-#-# debian-unstable: perldata.1.pot (PACKAGE VERSION) #-#-#-#-# |
| 36 |
#. ======================================================================== |
| 37 |
#. type: IX |
| 38 |
#. #-#-#-#-# fedora-44: perldata.1.pot (PACKAGE VERSION) #-#-#-#-# |
| 39 |
#. Required to disable full justification in groff 1.23.0. |
| 40 |
#. ======================================================================== |
| 41 |
#. type: IX |
| 42 |
#. #-#-#-#-# fedora-rawhide: perldata.1.pot (PACKAGE VERSION) #-#-#-#-# |
| 43 |
#. Required to disable full justification in groff 1.23.0. |
| 44 |
#. ======================================================================== |
| 45 |
#. type: IX |
| 46 |
#. #-#-#-#-# mageia-cauldron: perldata.1.pot (PACKAGE VERSION) #-#-#-#-# |
| 47 |
#. Required to disable full justification in groff 1.23.0. |
| 48 |
#. ======================================================================== |
| 49 |
#. type: IX |
| 50 |
#. #-#-#-#-# opensuse-leap-16-1: perldata.1.pot (PACKAGE VERSION) #-#-#-#-# |
| 51 |
#. Required to disable full justification in groff 1.23.0. |
| 52 |
#. ======================================================================== |
| 53 |
#. type: IX |
| 54 |
#. #-#-#-#-# opensuse-tumbleweed: perldata.1.pot (PACKAGE VERSION) #-#-#-#-# |
| 55 |
#. Required to disable full justification in groff 1.23.0. |
| 56 |
#. ======================================================================== |
| 57 |
#. type: IX |
| 58 |
#: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 59 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 60 |
#, no-wrap |
| 61 |
msgid "Title" |
| 62 |
msgstr "Title" |
| 63 |
|
| 64 |
# #-#-#-#-# fedora-44: perldata.1.pot (PACKAGE VERSION) #-#-#-#-# |
| 65 |
# |
| 66 |
# #-#-#-#-# fedora-rawhide: perldata.1.pot (PACKAGE VERSION) #-#-#-#-# |
| 67 |
# |
| 68 |
# #-#-#-#-# mageia-cauldron: perldata.1.pot (PACKAGE VERSION) #-#-#-#-# |
| 69 |
# |
| 70 |
# #-#-#-#-# opensuse-leap-16-1: perldata.1.pot (PACKAGE VERSION) #-#-#-#-# |
| 71 |
# |
| 72 |
# #-#-#-#-# opensuse-tumbleweed: perldata.1.pot (PACKAGE VERSION) #-#-#-#-# |
| 73 |
# |
| 74 |
#. #-#-#-#-# debian-trixie: perldata.1.pot (PACKAGE VERSION) #-#-#-#-# |
| 75 |
#. ======================================================================== |
| 76 |
#. type: IX |
| 77 |
#. #-#-#-#-# debian-unstable: perldata.1.pot (PACKAGE VERSION) #-#-#-#-# |
| 78 |
#. ======================================================================== |
| 79 |
#. type: IX |
| 80 |
#. #-#-#-#-# fedora-44: perldata.1.pot (PACKAGE VERSION) #-#-#-#-# |
| 81 |
#. Required to disable full justification in groff 1.23.0. |
| 82 |
#. ======================================================================== |
| 83 |
#. type: IX |
| 84 |
#. #-#-#-#-# fedora-rawhide: perldata.1.pot (PACKAGE VERSION) #-#-#-#-# |
| 85 |
#. Required to disable full justification in groff 1.23.0. |
| 86 |
#. ======================================================================== |
| 87 |
#. type: IX |
| 88 |
#. #-#-#-#-# mageia-cauldron: perldata.1.pot (PACKAGE VERSION) #-#-#-#-# |
| 89 |
#. Required to disable full justification in groff 1.23.0. |
| 90 |
#. ======================================================================== |
| 91 |
#. type: IX |
| 92 |
#. #-#-#-#-# opensuse-leap-16-1: perldata.1.pot (PACKAGE VERSION) #-#-#-#-# |
| 93 |
#. Required to disable full justification in groff 1.23.0. |
| 94 |
#. ======================================================================== |
| 95 |
#. type: IX |
| 96 |
#. #-#-#-#-# opensuse-tumbleweed: perldata.1.pot (PACKAGE VERSION) #-#-#-#-# |
| 97 |
#. Required to disable full justification in groff 1.23.0. |
| 98 |
#. ======================================================================== |
| 99 |
#. type: IX |
| 100 |
#: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 101 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 102 |
#, no-wrap |
| 103 |
msgid "PERLDATA 1" |
| 104 |
msgstr "PERLDATA 1" |
| 105 |
|
| 106 |
#. type: TH |
| 107 |
#: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 108 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 109 |
#, no-wrap |
| 110 |
msgid "PERLDATA" |
| 111 |
msgstr "PERLDATA" |
| 112 |
|
| 113 |
#. type: TH |
| 114 |
#: debian-trixie |
| 115 |
#, no-wrap |
| 116 |
msgid "2025-07-27" |
| 117 |
msgstr "27 يوليو 2025" |
| 118 |
|
| 119 |
#. type: TH |
| 120 |
#: debian-trixie debian-unstable |
| 121 |
#, no-wrap |
| 122 |
msgid "perl v5.40.1" |
| 123 |
msgstr "بيرل v5.40.1" |
| 124 |
|
| 125 |
#. type: TH |
| 126 |
#: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 127 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 128 |
#, no-wrap |
| 129 |
msgid "Perl Programmers Reference Guide" |
| 130 |
msgstr "دليل مرجع مبرمجي بيرل" |
| 131 |
|
| 132 |
#. type: SH |
| 133 |
#: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 134 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 135 |
#, no-wrap |
| 136 |
msgid "NAME" |
| 137 |
msgstr "الاسم" |
| 138 |
|
| 139 |
#. type: Plain text |
| 140 |
#: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 141 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 142 |
msgid "perldata - Perl data types" |
| 143 |
msgstr "perldata - أنواع بيانات بيرل" |
| 144 |
|
| 145 |
#. type: IX |
| 146 |
#: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 147 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 148 |
#, no-wrap |
| 149 |
msgid "DESCRIPTION" |
| 150 |
msgstr "الوصف" |
| 151 |
|
| 152 |
#. type: IX |
| 153 |
#: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 154 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 155 |
#, no-wrap |
| 156 |
msgid "Header" |
| 157 |
msgstr "Header" |
| 158 |
|
| 159 |
#. type: IX |
| 160 |
#: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 161 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 162 |
#, no-wrap |
| 163 |
msgid "Variable names" |
| 164 |
msgstr "أسماء المتغيرات" |
| 165 |
|
| 166 |
#. type: IX |
| 167 |
#: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 168 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 169 |
#, no-wrap |
| 170 |
msgid "Xref" |
| 171 |
msgstr "Xref" |
| 172 |
|
| 173 |
#. type: IX |
| 174 |
#: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 175 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 176 |
#, no-wrap |
| 177 |
msgid "variable, name variable name data type type" |
| 178 |
msgstr "متغير، اسم متغير اسم نوع بيانات نوع" |
| 179 |
|
| 180 |
#. type: IX |
| 181 |
#: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 182 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 183 |
#, no-wrap |
| 184 |
msgid "Subsection" |
| 185 |
msgstr "Subsection" |
| 186 |
|
| 187 |
#. type: Plain text |
| 188 |
#: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 189 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 190 |
msgid "" |
| 191 |
"Perl has three built-in data types: scalars, arrays of scalars, and " |
| 192 |
"associative arrays of scalars, known as \"hashes\". A scalar is a single " |
| 193 |
"string (of any size, limited only by the available memory), number, or a " |
| 194 |
"reference to something (which will be discussed in perlref). Normal arrays " |
| 195 |
"are ordered lists of scalars indexed by number, starting with 0. Hashes are " |
| 196 |
"unordered collections of scalar values indexed by their associated string " |
| 197 |
"key." |
| 198 |
msgstr "" |
| 199 |
"تمتلك بيرل ثلاثة أنواع بيانات مدمجة: السكالار (scalars)، ومصفوفات السكالار، " |
| 200 |
"والمصفوفات الترابطية للسكالار، المعروفة باسم \"hashes\". السكالار هو سلسلة " |
| 201 |
"نصية واحدة (بأي حجم، محدودة فقط بالذاكرة المتاحة)، أو رقم، أو مرجع لشيء ما " |
| 202 |
"(سيُنقش في perlref). المصفوفات العادية هي قوائم مرتبة من السكالار مفهرسة " |
| 203 |
"بالأرقام، بدءًا من 0. الـ Hashes هي مجموعات غير مرتبة من قيم السكالار مفهرسة " |
| 204 |
"بمفتاح نصي مرتبط بها." |
| 205 |
|
| 206 |
#. type: Plain text |
| 207 |
#: debian-trixie debian-unstable |
| 208 |
msgid "" |
| 209 |
"Values are usually referred to by name, or through a named reference. The " |
| 210 |
"first character of the name tells you to what sort of data structure it " |
| 211 |
"refers. The rest of the name tells you the particular value to which it " |
| 212 |
"refers. Usually this name is a single I<identifier>, that is, a string " |
| 213 |
"beginning with a letter or underscore, and containing letters, underscores, " |
| 214 |
"and digits. In some cases, it may be a chain of identifiers, separated by " |
| 215 |
"CW<\\*(C`::\\*(C'> (or by the deprecated CW<\\*(C`\\*(Aq\\*(C'>); all but " |
| 216 |
"the last are interpreted as names of packages, to locate the namespace in " |
| 217 |
"which to look up the final identifier (see \"Packages\" in perlmod for " |
| 218 |
"details). For a more in-depth discussion on identifiers, see \"Identifier " |
| 219 |
"parsing\". It's possible to substitute for a simple identifier, an " |
| 220 |
"expression that produces a reference to the value at runtime. This is " |
| 221 |
"described in more detail below and in perlref." |
| 222 |
msgstr "" |
| 223 |
"يُشار إلى القيم عادةً بالاسم، أو من خلال مرجع مسمى. يخبرك الحرف الأول من" |
| 224 |
" الاسم " |
| 225 |
"بنوع هيكل البيانات الذي يشير إليه. ويخبرك بقية الاسم بالقيمة المحددة التي " |
| 226 |
"يشير إليها. عادةً ما يكون هذا الاسم عبارة عن I<identifier> (مُعرف) واحد، أي " |
| 227 |
"سلسلة نصية تبدأ بحرف أو شرطة سفلية، وتحتوي على حروف وشرطات سفلية وأرقام. في " |
| 228 |
"بعض الحالات، قد يكون سلسلة من المعرفات، مفصولة بـ CW<\\*(C`::\\*(C'> (أو بـ " |
| 229 |
"CW<\\*(C`\\*(Aq\\*(C'> المهجورة)؛ وتُفسر جميعها باستثناء الأخير كألسماء حزم، " |
| 230 |
"لتحديد مساحة الأسماء التي يجب البحث فيها عن المعرف النهائي (راجع " |
| 231 |
"\"Packages\" في perlmod للتفاصيل). لمناقشة أكثر عمقًا حول المعرفات، راجع " |
| 232 |
"\"Identifier parsing\". من الممكن استبدال المعرف البسيط بتعبير ينتج مرجعًا " |
| 233 |
"للقيمة في وقت التشغيل. هذا موصوف بمزيد من التفصيل أدناه وفي perlref." |
| 234 |
|
| 235 |
#. type: IX |
| 236 |
#: debian-trixie debian-unstable |
| 237 |
#, no-wrap |
| 238 |
msgid "identifier" |
| 239 |
msgstr "مُعرف" |
| 240 |
|
| 241 |
#. type: Plain text |
| 242 |
#: debian-trixie debian-unstable |
| 243 |
msgid "" |
| 244 |
"Perl also has its own built-in variables whose names don't follow these " |
| 245 |
"rules. They have strange names so they don't accidentally collide with one " |
| 246 |
"of your normal variables. Strings that match parenthesized parts of a " |
| 247 |
"regular expression are saved under names containing only digits after the " |
| 248 |
"CW<\\*(C`$\\*(C'> (see perlop and perlre). In addition, several special " |
| 249 |
"variables that provide windows into the inner working of Perl have names " |
| 250 |
"containing punctuation characters. These are documented in perlvar." |
| 251 |
msgstr "" |
| 252 |
"تمتلك بيرل أيضًا متغيراتها المدمجة الخاصة التي لا تتبع أسماؤها هذه القواعد. " |
| 253 |
"لها أسماء غريبة حتى لا تتعارض بالخطأ مع أحد متغيراتك العادية. السلاسل التي " |
| 254 |
"تطابق الأجزاء الموجودة بين أقواس في تعبير نمطي تُحفظ تحت أسماء تحتوي على " |
| 255 |
"أرقام فقط بعد CW<\\*(C`$\\*(C'> (راجع perlop و perlre). بالإضافة إلى ذلك، " |
| 256 |
"فإن العديد من المتغيرات الخاصة التي توفر نوافذ على العمل الداخلي لبيرل لها " |
| 257 |
"أسماء تحتوي على علامات ترقيم. هذه موثقة في perlvar." |
| 258 |
|
| 259 |
#. type: IX |
| 260 |
#: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 261 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 262 |
#, no-wrap |
| 263 |
msgid "variable, built-in" |
| 264 |
msgstr "متغير، مدمج" |
| 265 |
|
| 266 |
#. type: Plain text |
| 267 |
#: debian-trixie debian-unstable |
| 268 |
msgid "" |
| 269 |
"Scalar values are always named with '$', even when referring to a scalar " |
| 270 |
"that is part of an array or a hash. The '$' symbol works semantically like " |
| 271 |
"the English word \"the\" in that it indicates a single value is expected." |
| 272 |
msgstr "" |
| 273 |
"تُسمى قيم السكالار دائمًا بـ '$'، حتى عند الإشارة إلى سكالار هو جزء من مصفوفة " |
| 274 |
"أو hash. يعمل الرمز '$' دلاليًا مثل كلمة التعريف في اللغة الإنجليزية من حيث " |
| 275 |
"أنه يشير إلى توقع قيمة واحدة." |
| 276 |
|
| 277 |
#. type: IX |
| 278 |
#: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 279 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 280 |
#, no-wrap |
| 281 |
msgid "scalar" |
| 282 |
msgstr "سكالار" |
| 283 |
|
| 284 |
#. type: Plain text |
| 285 |
#: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 286 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 287 |
#, no-wrap |
| 288 |
msgid "" |
| 289 |
"\\& $days # the simple scalar value \"days\"\n" |
| 290 |
"\\& $days[28] # the 29th element of array @days\n" |
| 291 |
"\\& $days{\\*(AqFeb\\*(Aq} # the \\*(AqFeb\\*(Aq value from hash " |
| 292 |
"%days\n" |
| 293 |
"\\& $#days # the last index of array @days\n" |
| 294 |
msgstr "" |
| 295 |
"\\& $days # قيمة السكالار البسيطة \"days\"\n" |
| 296 |
"\\& $days[28] # العنصر 29 في المصفوفة @days\n" |
| 297 |
"\\& $days{\\*(AqFeb\\*(Aq} # القيمة المقابلة لـ \\*(AqFeb\\*(Aq من" |
| 298 |
" الـ hash %days\n" |
| 299 |
"\\& $#days # الفهرس الأخير للمصفوفة @days\n" |
| 300 |
|
| 301 |
#. type: Plain text |
| 302 |
#: debian-trixie debian-unstable |
| 303 |
msgid "" |
| 304 |
"Entire arrays (and slices of arrays and hashes) are denoted by '@', which " |
| 305 |
"works much as the word \"these\" or \"those\" does in English, in that it " |
| 306 |
"indicates multiple values are expected." |
| 307 |
msgstr "" |
| 308 |
"يُشار إلى المصفوفات بأكملها (وشرائح المصفوفات والـ hashes) بـ '@'، وهو ما " |
| 309 |
"يعمل تمامًا مثل كلمات الجمع في الإنجليزية، حيث يشير إلى أنه يُتوقع قيم متعددة." |
| 310 |
|
| 311 |
#. type: IX |
| 312 |
#: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 313 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 314 |
#, no-wrap |
| 315 |
msgid "array" |
| 316 |
msgstr "مصفوفة" |
| 317 |
|
| 318 |
#. type: Plain text |
| 319 |
#: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 320 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 321 |
#, no-wrap |
| 322 |
msgid "" |
| 323 |
"\\& @days # ($days[0], $days[1],... $days[n])\n" |
| 324 |
"\\& @days[3,4,5] # same as ($days[3],$days[4],$days[5])\n" |
| 325 |
"\\& @days{\\*(Aqa\\*(Aq,\\*(Aqc\\*(Aq} # same as" |
| 326 |
" ($days{\\*(Aqa\\*(Aq},$days{\\*(Aqc\\*(Aq})\n" |
| 327 |
msgstr "" |
| 328 |
"\\& @days # ($days[0], $days[1],... $days[n])\n" |
| 329 |
"\\& @days[3,4,5] # تكافئ ($days[3],$days[4],$days[5])\n" |
| 330 |
"\\& @days{\\*(Aqa\\*(Aq,\\*(Aqc\\*(Aq} # تكافئ" |
| 331 |
" ($days{\\*(Aqa\\*(Aq},$days{\\*(Aqc\\*(Aq})\n" |
| 332 |
|
| 333 |
#. type: Plain text |
| 334 |
#: debian-trixie debian-unstable |
| 335 |
msgid "Entire hashes are denoted by '%':" |
| 336 |
msgstr "يُشار إلى الـ hashes بأكملها بـ '%':" |
| 337 |
|
| 338 |
#. type: IX |
| 339 |
#: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 340 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 341 |
#, no-wrap |
| 342 |
msgid "hash" |
| 343 |
msgstr "hash" |
| 344 |
|
| 345 |
#. type: Plain text |
| 346 |
#: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 347 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 348 |
#, no-wrap |
| 349 |
msgid "\\& %days # (key1, val1, key2, val2 ...)\n" |
| 350 |
msgstr "\\& %days # (مفتاح1، قيمة1، مفتاح2، قيمة2 ...)\n" |
| 351 |
|
| 352 |
#. type: Plain text |
| 353 |
#: debian-trixie debian-unstable |
| 354 |
msgid "" |
| 355 |
"In addition, subroutines are named with an initial '&', though this is " |
| 356 |
"optional when unambiguous, just as the word \"do\" is often redundant in " |
| 357 |
"English. Symbol table entries can be named with an initial '*', but you " |
| 358 |
"don't really care about that yet (if ever :-)." |
| 359 |
msgstr "" |
| 360 |
"بالإضافة إلى ذلك، تُسمى الروتينات الفرعية بـ '&' في بدايتها، رغم أن هذا " |
| 361 |
"اختياري عندما لا يكون هناك غموض. يمكن تسمية إدخالات جدول الرموز بـ '*' في " |
| 362 |
"بدايتها، لكنك لا تهتم بذلك حقًا بعد (إن كنت ستهتم أصلًا :-)." |
| 363 |
|
| 364 |
#. type: Plain text |
| 365 |
#: debian-trixie debian-unstable |
| 366 |
msgid "" |
| 367 |
"Every variable type has its own namespace, as do several non-variable " |
| 368 |
"identifiers. This means that you can, without fear of conflict, use the " |
| 369 |
"same name for a scalar variable, an array, or a hash--or, for that matter, " |
| 370 |
"for a filehandle, a directory handle, a subroutine name, a format name, or a " |
| 371 |
"label. This means that CW<$foo> and CW<@foo> are two different variables. " |
| 372 |
"It also means that CW<$foo[1]> is a part of CW<@foo>, not a part of " |
| 373 |
"CW<$foo>. This may seem a bit weird, but that's okay, because it is weird." |
| 374 |
msgstr "" |
| 375 |
"كل نوع متغير له مساحة أسماء خاصة به، وكذلك العديد من المعرفات غير المتغيرة. " |
| 376 |
"هذا يعني أنه يمكنك، دون خوف من التعارض، استخدام نفس الاسم لمتغير سكالار، أو " |
| 377 |
"مصفوفة، أو hash -- أو حتى لمقبض ملف، أو مقبض دليل، أو اسم روتين فرعي، أو اسم " |
| 378 |
"تنسيق، أو وسم. هذا يعني أن CW<$foo> و CW<@foo> هما متغيران مختلفان. ويعني " |
| 379 |
"أيضًا أن CW<$foo[1]> هو جزء من CW<@foo>، وليس جزءًا من CW<$foo>. قد يبدو هذا " |
| 380 |
"غريبًا بعض الشيء، لكن لا بأس، لأنه غريب فعلاً." |
| 381 |
|
| 382 |
#. type: IX |
| 383 |
#: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 384 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 385 |
#, no-wrap |
| 386 |
msgid "namespace" |
| 387 |
msgstr "مساحة الأسماء" |
| 388 |
|
| 389 |
#. type: Plain text |
| 390 |
#: debian-trixie debian-unstable |
| 391 |
msgid "" |
| 392 |
"Because variable references always start with '$', '@', or '%', the " |
| 393 |
"\"reserved\" words aren't in fact reserved with respect to variable names. " |
| 394 |
"They I<are> reserved with respect to labels and filehandles, however, which " |
| 395 |
"don't have an initial special character. You can't have a filehandle named " |
| 396 |
"\"log\", for instance. Hint: you could say \\&CW<\\*(C`open(LOG," |
| 397 |
"\\*(Aqlogfile\\*(Aq)\\*(C'> rather than CW<\\*(C`open(log," |
| 398 |
"\\*(Aqlogfile\\*(Aq)\\*(C'>. Using uppercase filehandles also improves " |
| 399 |
"readability and protects you from conflict with future reserved words. Case " |
| 400 |
"I<is> significant--\"FOO\", \"Foo\", and \"foo\" are all different names. " |
| 401 |
"Names that start with a letter or underscore may also contain digits and " |
| 402 |
"underscores." |
| 403 |
msgstr "" |
| 404 |
"بما أن مراجع المتغيرات تبدأ دائمًا بـ '$' أو '@' أو '%'، فإن الكلمات " |
| 405 |
"\"المحجوزة\" ليست محجوزة فعليًا فيما يتعلق بأسماء المتغيرات. ومع ذلك، فهي " |
| 406 |
"I<محجوزة> فيما يتعلق بالوسوم ومقابض الملفات، التي لا تحتوي على حرف خاص في " |
| 407 |
"بدايتها. لا يمكنك الحصول على مقبض ملف باسم \"log\"، على سبيل المثال. تلميح: " |
| 408 |
"يمكنك قول \\&CW<\\*(C`open(LOG,\\*(Aqlogfile\\*(Aq)\\*(C'> بدلاً من " |
| 409 |
"CW<\\*(C`open(log,\\*(Aqlogfile\\*(Aq)\\*(C'>. كما أن استخدام الحروف الكبيرة " |
| 410 |
"لمقابض الملفات يحسن من قابلية القراءة ويحميك من التعارض مع الكلمات المحجوزة " |
| 411 |
"مستقبلاً. حالة الأحرف I<مهمة> -- \"FOO\" و \"Foo\" و \"foo\" كلها أسماء " |
| 412 |
"مختلفة. الأسماء التي تبدأ بحرف أو شرطة سفلية قد تحتوي أيضًا على أرقام وشرطات " |
| 413 |
"سفلية." |
| 414 |
|
| 415 |
#. type: IX |
| 416 |
#: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 417 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 418 |
#, no-wrap |
| 419 |
msgid "identifier, case sensitivity case" |
| 420 |
msgstr "المعرف، حالة حساسيتها للحالة" |
| 421 |
|
| 422 |
#. type: Plain text |
| 423 |
#: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 424 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 425 |
msgid "" |
| 426 |
"It is possible to replace such an alphanumeric name with an expression that " |
| 427 |
"returns a reference to the appropriate type. For a description of this, see " |
| 428 |
"perlref." |
| 429 |
msgstr "" |
| 430 |
"من الممكن استبدال مثل هذا الاسم الأبجدي الرقمي بتعبير يعيد مرجعًا للنوع " |
| 431 |
"المناسب. لوصف هذا، راجع perlref." |
| 432 |
|
| 433 |
#. type: Plain text |
| 434 |
#: debian-trixie debian-unstable |
| 435 |
msgid "" |
| 436 |
"Names that start with a digit may contain only more digits. Names that do " |
| 437 |
"not start with a letter, underscore, digit or a caret are limited to one " |
| 438 |
"character, e.g., CW<$%> or \\&CW<$$>. (Most of these one character names " |
| 439 |
"have a predefined significance to Perl. For instance, CW<$$> is the current " |
| 440 |
"process id. And all such names are reserved for Perl's possible use.)" |
| 441 |
msgstr "" |
| 442 |
"الأسماء التي تبدأ برقم قد تحتوي فقط على مزيد من الأرقام. الأسماء التي لا " |
| 443 |
"تبدأ بحرف، أو شرطة سفلية، أو رقم، أو علامة أقحوان (caret) تقتصر على حرف " |
| 444 |
"واحد، مثل CW<$%> أو \\&CW<$$>. (معظم هذه الأسماء ذات الحرف الواحد لها أهمية " |
| 445 |
"محددة مسبقًا لبيرل. على سبيل المثال، CW<$$> هو معرف العملية الحالية. وجميع " |
| 446 |
"هذه الأسماء محجوزة لاستخدام بيرل المحتمل)." |
| 447 |
|
| 448 |
#. type: IX |
| 449 |
#: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 450 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 451 |
#, no-wrap |
| 452 |
msgid "Identifier parsing" |
| 453 |
msgstr "تحليل المعرف" |
| 454 |
|
| 455 |
#. type: IX |
| 456 |
#: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 457 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 458 |
#, no-wrap |
| 459 |
msgid "identifiers" |
| 460 |
msgstr "المعرفات" |
| 461 |
|
| 462 |
#. type: Plain text |
| 463 |
#: debian-trixie debian-unstable |
| 464 |
msgid "" |
| 465 |
"Up until Perl 5.18, the actual rules of what a valid identifier was were a " |
| 466 |
"bit fuzzy. However, in general, anything defined here should work on " |
| 467 |
"previous versions of Perl, while the opposite -- edge cases that work in " |
| 468 |
"previous versions, but aren't defined here -- probably won't work on newer " |
| 469 |
"versions. As an important side note, please note that the following only " |
| 470 |
"applies to bareword identifiers as found in Perl source code, not " |
| 471 |
"identifiers introduced through symbolic references, which have much fewer " |
| 472 |
"restrictions. If working under the effect of the CW<\\*(C`use utf8;\\*(C'> " |
| 473 |
"pragma, the following rules apply:" |
| 474 |
msgstr "" |
| 475 |
"حتى الإصدار 5.18 من بيرل، كانت القواعد الفعلية لما يشكل معرفًا صالحًا غامضة " |
| 476 |
"قليلاً. ومع ذلك، وبشكل عام، فإن أي شيء مُعرف هنا يجب أن يعمل في الإصدارات " |
| 477 |
"السابقة من بيرل، بينما العكس -- الحالات الحدية التي تعمل في الإصدارات " |
| 478 |
"السابقة ولكنها غير معرفة هنا -- فمن المحتمل ألا تعمل في الإصدارات الأحدث. " |
| 479 |
"كملاحظة جانبية هامة، يُرجى ملاحظة أن ما يلي ينطبق فقط على معرفات bareword " |
| 480 |
"الموجودة في كود مصدر بيرل، وليس المعرفات المقدمة من خلال المراجع الرمزية، " |
| 481 |
"والتي لديها قيود أقل بكثير. إذا كنت تعمل تحت تأثير توجيه CW<\\*(C`use utf8;" |
| 482 |
"\\*(C'>، فستنطبق القواعد التالية:" |
| 483 |
|
| 484 |
#. type: Plain text |
| 485 |
#: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 486 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 487 |
#, no-wrap |
| 488 |
msgid "" |
| 489 |
"\\& / (?[ ( \\ep{Word} & \\ep{XID_Start} ) + [_] ])\n" |
| 490 |
"\\& (?[ ( \\ep{Word} & \\ep{XID_Continue} ) ]) * /x\n" |
| 491 |
msgstr "" |
| 492 |
"\\& / (?[ ( \\ep{Word} & \\ep{XID_Start} ) + [_] ])\n" |
| 493 |
"\\& (?[ ( \\ep{Word} & \\ep{XID_Continue} ) ]) * /x\n" |
| 494 |
|
| 495 |
#. type: Plain text |
| 496 |
#: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 497 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 498 |
msgid "" |
| 499 |
"That is, a \"start\" character followed by any number of \"continue\" " |
| 500 |
"characters. Perl requires every character in an identifier to also match " |
| 501 |
"CW<\\*(C`\\ew\\*(C'> (this prevents some problematic cases); and Perl " |
| 502 |
"additionally accepts identifier names beginning with an underscore." |
| 503 |
msgstr "" |
| 504 |
"أي، حرف \"بداية\" متبوع بأي عدد من حروف \"الاستمرار\". تطلب بيرل أن يطابق كل " |
| 505 |
"حرف في المعرف أيضًا CW<\\*(C`\\ew\\*(C'> (هذا يمنع بعض الحالات الإشكالية)؛ " |
| 506 |
"كما تقبل بيرل بالإضافة إلى ذلك أسماء المعرفات التي تبدأ بشرطة سفلية." |
| 507 |
|
| 508 |
#. type: Plain text |
| 509 |
#: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 510 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 511 |
msgid "" |
| 512 |
"If not under CW<\\*(C`use utf8\\*(C'>, the source is treated as ASCII + 128 " |
| 513 |
"extra generic characters, and identifiers should match" |
| 514 |
msgstr "" |
| 515 |
"إذا لم يكن تحت CW<\\*(C`use utf8\\*(C'>، فسيُعامل المصدر على أنه ASCII + 128 " |
| 516 |
"حرفًا عامًا إضافيًا، ويجب أن تطابق المعرفات" |
| 517 |
|
| 518 |
#. type: Plain text |
| 519 |
#: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 520 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 521 |
#, no-wrap |
| 522 |
msgid "\\& / (?aa) (?!\\ed) \\ew+ /x\n" |
| 523 |
msgstr "\\& / (?aa) (?!\\ed) \\ew+ /x\n" |
| 524 |
|
| 525 |
#. type: Plain text |
| 526 |
#: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 527 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 528 |
msgid "" |
| 529 |
"That is, any word character in the ASCII range, as long as the first " |
| 530 |
"character is not a digit." |
| 531 |
msgstr "أي، أي حرف كلمة في نطاق ASCII، طالما أن الحرف الأول ليس رقمًا." |
| 532 |
|
| 533 |
#. type: Plain text |
| 534 |
#: debian-trixie debian-unstable |
| 535 |
msgid "" |
| 536 |
"There are two package separators in Perl: A double colon (CW<\\*(C`::" |
| 537 |
"\\*(C'>) and a single quote (CW<\\*(C`\\*(Aq\\*(C'>). Use of " |
| 538 |
"CW<\\*(C`\\*(Aq\\*(C'> as the package separator is deprecated and will be " |
| 539 |
"removed in Perl 5.40. Normal identifiers can start or end with a double " |
| 540 |
"colon, and can contain several parts delimited by double colons. Single " |
| 541 |
"quotes have similar rules, but with the exception that they are not legal at " |
| 542 |
"the end of an identifier: That is, CW<\\*(C`$\\*(Aqfoo\\*(C'> and " |
| 543 |
"CW<\\*(C`$foo\\*(Aqbar\\*(C'> are legal, but " |
| 544 |
"\\&CW<\\*(C`$foo\\*(Aqbar\\*(Aq\\*(C'> is not." |
| 545 |
msgstr "" |
| 546 |
"هناك فاصلان للحزم في بيرل: نقطتان مزدوجتان (CW<\\*(C`::\\*(C'>) وعلامة " |
| 547 |
"اقتباس فردية (CW<\\*(C`\\*(Aq\\*(C'>). استخدام CW<\\*(C`\\*(Aq\\*(C'> كفاصل " |
| 548 |
"للحزم مهجور وسيزال في الإصدار 5.40 من بيرل. يمكن للمعرفات العادية أن تبدأ أو " |
| 549 |
"تنتهي بنقطتين مزدوجتين، ويمكن أن تحتوي على عدة أجزاء مفصولة بنقطتين " |
| 550 |
"مزدوجتين. علامات الاقتباس الفردية لها قواعد مماثلة، ولكن باستثناء أنها ليست " |
| 551 |
"قانونية في نهاية المعرف: أي أن CW<\\*(C`$\\*(Aqfoo\\*(C'> و " |
| 552 |
"CW<\\*(C`$foo\\*(Aqbar\\*(C'> قانونيان، ولكن " |
| 553 |
"\\&CW<\\*(C`$foo\\*(Aqbar\\*(Aq\\*(C'> ليس كذلك." |
| 554 |
|
| 555 |
#. type: Plain text |
| 556 |
#: debian-trixie debian-unstable |
| 557 |
msgid "" |
| 558 |
"Additionally, if the identifier is preceded by a sigil -- that is, if the " |
| 559 |
"identifier is part of a variable name -- it may optionally be enclosed in " |
| 560 |
"braces." |
| 561 |
msgstr "" |
| 562 |
"بالإضافة إلى ذلك، إذا سُبق المعرف بـ sigil (الرمز الخاص) -- أي إذا كان المعرف " |
| 563 |
"جزءًا من اسم متغير -- فقد يُحاط اختياريًا بأقواس مجعدة." |
| 564 |
|
| 565 |
#. type: Plain text |
| 566 |
#: debian-trixie debian-unstable |
| 567 |
msgid "" |
| 568 |
"While you can mix double colons with singles quotes, the quotes must come " |
| 569 |
"after the colons: CW<\\*(C`$::::\\*(Aqfoo\\*(C'> and CW<\\*(C`$foo::" |
| 570 |
"\\*(Aqbar\\*(C'> are legal, but CW<\\*(C`$::\\*(Aq::foo\\*(C'> and " |
| 571 |
"CW<\\*(C`$foo\\*(Aq::bar\\*(C'> are not." |
| 572 |
msgstr "" |
| 573 |
"بينما يمكنك خلط النقطتين المزدوجتين مع علامات الاقتباس الفردية، يجب أن تأتي " |
| 574 |
"علامات الاقتباس بعد النقطتين: CW<\\*(C`$::::\\*(Aqfoo\\*(C'> و " |
| 575 |
"CW<\\*(C`$foo::\\*(Aqbar\\*(C'> قانونيان، لكن CW<\\*(C`$::\\*(Aq::foo\\*(C'> " |
| 576 |
"و CW<\\*(C`$foo\\*(Aq::bar\\*(C'> ليسا كذلك." |
| 577 |
|
| 578 |
#. type: Plain text |
| 579 |
#: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 580 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 581 |
msgid "Put together, a grammar to match a basic identifier becomes" |
| 582 |
msgstr "بتجميعها معًا، يصبح القواعد النحوية لمطابقة معرف أساسي هي" |
| 583 |
|
| 584 |
#. type: Plain text |
| 585 |
#: debian-trixie debian-unstable |
| 586 |
#, no-wrap |
| 587 |
msgid "" |
| 588 |
"\\& /\n" |
| 589 |
"\\& (?(DEFINE)\n" |
| 590 |
"\\& (?E<lt>variableE<gt>\n" |
| 591 |
"\\& (?&sigil)\n" |
| 592 |
"\\& (?:\n" |
| 593 |
"\\& (?&normal_identifier)\n" |
| 594 |
"\\& | \\e{ \\es* (?&normal_identifier) \\es* \\e}\n" |
| 595 |
"\\& )\n" |
| 596 |
"\\& )\n" |
| 597 |
"\\& (?E<lt>normal_identifierE<gt>\n" |
| 598 |
"\\& (?: :: )* \\*(Aq?\n" |
| 599 |
"\\& (?&basic_identifier)\n" |
| 600 |
"\\& (?: (?= (?: :: )+ \\*(Aq? | (?: :: )* \\*(Aq )" |
| 601 |
" (?&normal_identifier) )?\n" |
| 602 |
"\\& (?: :: )*\n" |
| 603 |
"\\& )\n" |
| 604 |
"\\& (?E<lt>basic_identifierE<gt>\n" |
| 605 |
"\\& # is use utf8 on?\n" |
| 606 |
"\\& (?(?{ (caller(0))[8] & $utf8::hint_bits })\n" |
| 607 |
"\\& (?&Perl_XIDS) (?&Perl_XIDC)*\n" |
| 608 |
"\\& | (?aa) (?!\\ed) \\ew+\n" |
| 609 |
"\\& )\n" |
| 610 |
"\\& )\n" |
| 611 |
"\\& (?E<lt>sigilE<gt> [&*\\e$\\e@\\e%])\n" |
| 612 |
"\\& (?E<lt>Perl_XIDSE<gt> (?[ ( \\ep{Word} & \\ep{XID_Start} ) + [_] ])" |
| 613 |
" )\n" |
| 614 |
"\\& (?E<lt>Perl_XIDCE<gt> (?[ \\ep{Word} & \\ep{XID_Continue} ]) )\n" |
| 615 |
"\\& )\n" |
| 616 |
"\\& /x\n" |
| 617 |
msgstr "" |
| 618 |
"\\& /\n" |
| 619 |
"\\& (?(DEFINE)\n" |
| 620 |
"\\& (?E<lt>variableE<gt>\n" |
| 621 |
"\\& (?&sigil)\n" |
| 622 |
"\\& (?:\n" |
| 623 |
"\\& (?&normal_identifier)\n" |
| 624 |
"\\& | \\e{ \\es* (?&normal_identifier) \\es* \\e}\n" |
| 625 |
"\\& )\n" |
| 626 |
"\\& )\n" |
| 627 |
"\\& (?E<lt>normal_identifierE<gt>\n" |
| 628 |
"\\& (?: :: )* \\*(Aq?\n" |
| 629 |
"\\& (?&basic_identifier)\n" |
| 630 |
"\\& (?: (?= (?: :: )+ \\*(Aq? | (?: :: )* \\*(Aq )" |
| 631 |
" (?&normal_identifier) )?\n" |
| 632 |
"\\& (?: :: )*\n" |
| 633 |
"\\& )\n" |
| 634 |
"\\& (?E<lt>basic_identifierE<gt>\n" |
| 635 |
"\\& # is use utf8 on?\n" |
| 636 |
"\\& (?(?{ (caller(0))[8] & $utf8::hint_bits })\n" |
| 637 |
"\\& (?&Perl_XIDS) (?&Perl_XIDC)*\n" |
| 638 |
"\\& | (?aa) (?!\\ed) \\ew+\n" |
| 639 |
"\\& )\n" |
| 640 |
"\\& )\n" |
| 641 |
"\\& (?E<lt>sigilE<gt> [&*\\e$\\e@\\e%])\n" |
| 642 |
"\\& (?E<lt>Perl_XIDSE<gt> (?[ ( \\ep{Word} & \\ep{XID_Start} ) + [_] ])" |
| 643 |
" )\n" |
| 644 |
"\\& (?E<lt>Perl_XIDCE<gt> (?[ \\ep{Word} & \\ep{XID_Continue} ]) )\n" |
| 645 |
"\\& )\n" |
| 646 |
"\\& /x\n" |
| 647 |
|
| 648 |
#. type: Plain text |
| 649 |
#: debian-trixie debian-unstable |
| 650 |
msgid "" |
| 651 |
"Meanwhile, special identifiers don't follow the above rules; For the most " |
| 652 |
"part, all of the identifiers in this category have a special meaning given " |
| 653 |
"by Perl. Because they have special parsing rules, these generally can't be " |
| 654 |
"fully-qualified. They come in six forms (but don't use forms 5 and 6):" |
| 655 |
msgstr "" |
| 656 |
"وفي الوقت نفسه، لا تتبع المعرفات الخاصة القواعد المذكورة أعلاه؛ بالنسبة " |
| 657 |
"للجزء الأكبر، فإن جميع المعرفات في هذه الفئة لها معنى خاص يحدده بيرل. وبسبب " |
| 658 |
"قواعد التحليل الخاصة بها، لا يمكن بشكل عام تأهيلها بالكامل. تأتي في ستة " |
| 659 |
"أشكال (ولكن لا تستخدم الشكلين 5 و 6):" |
| 660 |
|
| 661 |
#. type: IP |
| 662 |
#: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 663 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 664 |
#, no-wrap |
| 665 |
msgid "1." |
| 666 |
msgstr "1." |
| 667 |
|
| 668 |
#. type: Plain text |
| 669 |
#: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 670 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 671 |
msgid "" |
| 672 |
"A sigil, followed solely by digits matching " |
| 673 |
"CW<\\*(C`\\ep{POSIX_Digit}\\*(C'>, like \\&CW<$0>, CW<$1>, or CW<$10000>." |
| 674 |
msgstr "" |
| 675 |
"رمز (sigil)، متبوع حصراً بأرقام تطابق CW<\\*(C`\\ep{POSIX_Digit}\\*(C'>، مثل " |
| 676 |
"\\&CW<$0>، أو CW<$1>، أو CW<$10000>." |
| 677 |
|
| 678 |
#. type: IP |
| 679 |
#: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 680 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 681 |
#, no-wrap |
| 682 |
msgid "2." |
| 683 |
msgstr "2." |
| 684 |
|
| 685 |
#. type: Plain text |
| 686 |
#: debian-trixie debian-unstable |
| 687 |
msgid "" |
| 688 |
"A sigil followed by a single character matching the " |
| 689 |
"CW<\\*(C`\\ep{POSIX_Punct}\\*(C'> property, like CW<$!> or CW<\\*(C`%+" |
| 690 |
"\\*(C'>, except the character CW<\"{\"> doesn't work." |
| 691 |
msgstr "" |
| 692 |
"رمز متبوع بحرف واحد يطابق خاصية CW<\\*(C`\\ep{POSIX_Punct}\\*(C'>، مثل CW<$!" |
| 693 |
"> أو CW<\\*(C`%+\\*(C'>، باستثناء الحرف CW<\"{\"> الذي لا يعمل." |
| 694 |
|
| 695 |
#. type: IP |
| 696 |
#: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 697 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 698 |
#, no-wrap |
| 699 |
msgid "3." |
| 700 |
msgstr "3." |
| 701 |
|
| 702 |
#. type: Plain text |
| 703 |
#: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 704 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 705 |
msgid "" |
| 706 |
"A sigil, followed by a caret and any one of the characters \\&CW<\\*(C`[][A-" |
| 707 |
"Z^_?\\e]\\*(C'>, like CW<$^V> or CW<$^]>." |
| 708 |
msgstr "" |
| 709 |
"رمز، متبوع بعلامة أقحوان (caret) وأي حرف من الأحرف \\&CW<\\*(C`[][A-Z^_?" |
| 710 |
"\\e]\\*(C'>، مثل CW<$^V> أو CW<$^]>." |
| 711 |
|
| 712 |
#. type: IP |
| 713 |
#: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 714 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 715 |
#, no-wrap |
| 716 |
msgid "4." |
| 717 |
msgstr "4." |
| 718 |
|
| 719 |
#. type: Plain text |
| 720 |
#: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 721 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 722 |
msgid "" |
| 723 |
"Similar to the above, a sigil, followed by bareword text in braces, where " |
| 724 |
"the first character is a caret. The next character is any one of the " |
| 725 |
"characters CW<\\*(C`[][A-Z^_?\\e]\\*(C'>, followed by ASCII word " |
| 726 |
"characters. An example is CW<\\*(C`${^GLOBAL_PHASE}\\*(C'>." |
| 727 |
msgstr "" |
| 728 |
"على غرار ما سبق، رمز متبوع بنص bareword داخل أقواس مجعدة، حيث يكون الحرف " |
| 729 |
"الأول علامة أقحوان. الحرف التالي هو أي واحد من الأحرف CW<\\*(C`[][A-Z^_?" |
| 730 |
"\\e]\\*(C'>، متبوعًا بأحرف كلمات ASCII. مثال على ذلك هو " |
| 731 |
"CW<\\*(C`${^GLOBAL_PHASE}\\*(C'>." |
| 732 |
|
| 733 |
#. type: IP |
| 734 |
#: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 735 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 736 |
#, no-wrap |
| 737 |
msgid "5." |
| 738 |
msgstr "5." |
| 739 |
|
| 740 |
#. type: Plain text |
| 741 |
#: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 742 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 743 |
msgid "" |
| 744 |
"A sigil, followed by any single character in the range CW<\\*(C`[\\exA1-" |
| 745 |
"\\exAC\\exAE-\\exFF]\\*(C'> when not under CW<\"use\\ utf8\">. (Under " |
| 746 |
"CW<\"use\\ utf8\">, the normal identifier rules given earlier in this " |
| 747 |
"section apply.) Use of non-graphic characters (the C1 controls, the NO-" |
| 748 |
"BREAK SPACE, and the SOFT HYPHEN) has been disallowed since v5.26.0. The " |
| 749 |
"use of the other characters is unwise, as these are all reserved to have " |
| 750 |
"special meaning to Perl, and none of them currently do have special meaning, " |
| 751 |
"though this could change without notice." |
| 752 |
msgstr "" |
| 753 |
"رمز متبوع بأي حرف واحد في النطاق CW<\\*(C`[\\exA1-\\exAC\\exAE-" |
| 754 |
"\\exFF]\\*(C'> عندما لا يكون تحت CW<\"use\\ utf8\">. (تحت CW<\"use\\ " |
| 755 |
"utf8\">، تنطبق قواعد المعرفات العادية المذكورة سابقًا في هذا القسم). مُنع " |
| 756 |
"استخدام الأحرف غير الرسومية (عناصر تحكم C1، والمسافة غير المنقسمة، والواصلة " |
| 757 |
"الناعمة) منذ الإصدار v5.26.0. استخدام الأحرف الأخرى غير حكيم، حيث إنها جميعًا " |
| 758 |
"محجوزة ليكون لها معنى خاص لبيرل، ولا يوجد لأي منها حاليًا معنى خاص، رغم أن " |
| 759 |
"هذا قد يتغير دون إشعار." |
| 760 |
|
| 761 |
#. type: Plain text |
| 762 |
#: debian-trixie debian-unstable |
| 763 |
msgid "" |
| 764 |
"Note that an implication of this form is that there are identifiers only " |
| 765 |
"legal under CW<\"use\\ utf8\">, and vice-versa, for example the identifier " |
| 766 |
"\\&CW<\\*(C`$état\\*(C'> is legal under CW<\"use\\ utf8\">, but is otherwise " |
| 767 |
"considered to be the single character variable CW<$é> followed by the " |
| 768 |
"bareword CW<\"tat\">, the combination of which is a syntax error." |
| 769 |
msgstr "" |
| 770 |
"لاحظ أن أحد الآثار المترتبة على هذا الشكل هو وجود معرفات قانونية فقط تحت " |
| 771 |
"CW<\"use\\ utf8\">، والعكس صحيح، على سبيل المثال المعرف " |
| 772 |
"\\&CW<\\*(C`$état\\*(C'> قانوني تحت CW<\"use\\ utf8\">، ولكنه بخلاف ذلك " |
| 773 |
"يُعتبر المتغير ذو الحرف الواحد CW<$é> متبوعًا بـ CW<\"tat\">، وهو ما يشكل خطأ " |
| 774 |
"في القواعد النحوية." |
| 775 |
|
| 776 |
#. type: IP |
| 777 |
#: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 778 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 779 |
#, no-wrap |
| 780 |
msgid "6." |
| 781 |
msgstr "6." |
| 782 |
|
| 783 |
#. type: Plain text |
| 784 |
#: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 785 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 786 |
msgid "" |
| 787 |
"This is a combination of the previous two forms. It is valid only when not " |
| 788 |
"under CW<\"use\\ utf8\"> (normal identifier rules apply when under " |
| 789 |
"\\&CW<\"use\\ utf8\">). The form is a sigil, followed by text in braces, " |
| 790 |
"where the first character is any one of the characters in the range " |
| 791 |
"\\&CW<\\*(C`[\\ex80-\\exFF]\\*(C'> followed by ASCII word characters up to " |
| 792 |
"the trailing brace." |
| 793 |
msgstr "" |
| 794 |
"هذا مزيج من الشكلين السابقين. يكون صالحًا فقط عندما لا يكون تحت CW<\"use\\ " |
| 795 |
"utf8\"> (تنطبق قواعد المعرفات العادية عندما تكون تحت \\&CW<\"use\\ utf8\">). " |
| 796 |
"الشكل هو رمز متبوع بنص داخل أقواس مجعدة، حيث يكون الحرف الأول أيًا من الأحرف " |
| 797 |
"في النطاق \\&CW<\\*(C`[\\ex80-\\exFF]\\*(C'> متبوعًا بأحرف كلمات ASCII حتى " |
| 798 |
"قوس الإغلاق." |
| 799 |
|
| 800 |
#. type: Plain text |
| 801 |
#: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 802 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 803 |
msgid "" |
| 804 |
"The same caveats as the previous form apply: The non-graphic characters are " |
| 805 |
"no longer allowed with \"use\\ utf8\", it is unwise to use this form at all, " |
| 806 |
"and utf8ness makes a big difference." |
| 807 |
msgstr "" |
| 808 |
"تنطبق نفس التنبيهات الخاصة بالشكل السابق: لم تعد الأحرف غير الرسومية مسموحة " |
| 809 |
"مع \"use\\ utf8\"، وليس من الحكمة استخدام هذا الشكل على الإطلاق، كما أن " |
| 810 |
"استخدام utf8 يحدث فرقًا كبيرًا." |
| 811 |
|
| 812 |
#. type: Plain text |
| 813 |
#: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 814 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 815 |
msgid "" |
| 816 |
"Prior to Perl v5.24, non-graphical ASCII control characters were also " |
| 817 |
"allowed in some situations; this had been deprecated since v5.20." |
| 818 |
msgstr "" |
| 819 |
"قبل الإصدار v5.24 من بيرل، كانت أحرف تحكم ASCII غير الرسومية مسموحة أيضًا في " |
| 820 |
"بعض الحالات؛ وقد تم هجر هذا منذ الإصدار v5.20." |
| 821 |
|
| 822 |
#. type: IX |
| 823 |
#: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 824 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 825 |
#, no-wrap |
| 826 |
msgid "Context" |
| 827 |
msgstr "السياق" |
| 828 |
|
| 829 |
#. type: IX |
| 830 |
#: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 831 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 832 |
#, no-wrap |
| 833 |
msgid "context scalar context list context" |
| 834 |
msgstr "سياق سياق سكالار سياق قائمة" |
| 835 |
|
| 836 |
#. type: Plain text |
| 837 |
#: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 838 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 839 |
msgid "" |
| 840 |
"The interpretation of operations and values in Perl sometimes depends on the " |
| 841 |
"requirements of the context around the operation or value. There are two " |
| 842 |
"major contexts: list and scalar. Certain operations return list values in " |
| 843 |
"contexts wanting a list, and scalar values otherwise. If this is true of an " |
| 844 |
"operation it will be mentioned in the documentation for that operation. In " |
| 845 |
"other words, Perl overloads certain operations based on whether the expected " |
| 846 |
"return value is singular or plural. Some words in English work this way, " |
| 847 |
"like \"fish\" and \"sheep\"." |
| 848 |
msgstr "" |
| 849 |
"يعتمد تفسير العمليات والقيم في بيرل أحيانًا على متطلبات السياق المحيط " |
| 850 |
"بالعملية أو القيمة. هناك سياقان رئيسان: سياق القائمة وسياق السكالار. تعيد " |
| 851 |
"عمليات معينة قيم قائمة في السياقات التي تطلب قائمة، وقيم سكالار في غير ذلك. " |
| 852 |
"إذا كان هذا ينطبق على عملية ما، فسيتم ذكره في توثيق تلك العملية. بعبارة " |
| 853 |
"أخرى، تقوم بيرل بتحميل عمليات معينة بشكل زائد بناءً على ما إذا كانت القيمة " |
| 854 |
"المعادة المتوقعة مفردة أم جمع. بعض الكلمات في اللغة الإنجليزية تعمل بهذه " |
| 855 |
"الطريقة، مثل \"fish\" و \"sheep\"." |
| 856 |
|
| 857 |
#. type: Plain text |
| 858 |
#: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 859 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 860 |
msgid "" |
| 861 |
"In a reciprocal fashion, an operation provides either a scalar or a list " |
| 862 |
"context to each of its arguments. For example, if you say" |
| 863 |
msgstr "" |
| 864 |
"بشكل متبادل، توفر العملية إما سياق سكالار أو سياق قائمة لكل من وسائطها. على " |
| 865 |
"سبيل المثال، إذا قلت" |
| 866 |
|
| 867 |
#. type: Plain text |
| 868 |
#: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 869 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 870 |
#, no-wrap |
| 871 |
msgid "\\& int( E<lt>STDINE<gt> )\n" |
| 872 |
msgstr "\\& int( E<lt>STDINE<gt> )\n" |
| 873 |
|
| 874 |
#. type: Plain text |
| 875 |
#: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 876 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 877 |
msgid "" |
| 878 |
"the integer operation provides scalar context for the E<lt>E<gt> operator, " |
| 879 |
"which responds by reading one line from STDIN and passing it back to the " |
| 880 |
"integer operation, which will then find the integer value of that line and " |
| 881 |
"return that. If, on the other hand, you say" |
| 882 |
msgstr "" |
| 883 |
"فإن عملية العدد الصحيح توفر سياق سكالار لعامل التشغيل E<lt>E<gt>، الذي " |
| 884 |
"يستجيب بقراءة سطر واحد من STDIN وتمريره مرة أخرى إلى عملية العدد الصحيح، " |
| 885 |
"والتي ستجد بعد ذلك القيمة الصحيحة لذلك السطر وتعيدها. أما إذا قلت" |
| 886 |
|
| 887 |
#. type: Plain text |
| 888 |
#: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 889 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 890 |
#, no-wrap |
| 891 |
msgid "\\& sort( E<lt>STDINE<gt> )\n" |
| 892 |
msgstr "\\& sort( E<lt>STDINE<gt> )\n" |
| 893 |
|
| 894 |
#. type: Plain text |
| 895 |
#: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 896 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 897 |
msgid "" |
| 898 |
"then the sort operation provides list context for E<lt>E<gt>, which will " |
| 899 |
"proceed to read every line available up to the end of file, and pass that " |
| 900 |
"list of lines back to the sort routine, which will then sort those lines and " |
| 901 |
"return them as a list to whatever the context of the sort was." |
| 902 |
msgstr "" |
| 903 |
"فإن عملية الفرز (sort) توفر سياق قائمة لـ E<lt>E<gt>، والذي سيستمر في قراءة " |
| 904 |
"كل سطر متاح حتى نهاية الملف، ويمرر تلك القائمة من السطور مرة أخرى إلى روتين " |
| 905 |
"الفرز، الذي سيقوم بعد ذلك بفرز تلك السطور وإعادتها كقائمة إلى أيًا كان سياق " |
| 906 |
"الفرز." |
| 907 |
|
| 908 |
#. type: Plain text |
| 909 |
#: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 910 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 911 |
msgid "" |
| 912 |
"Assignment is a little bit special in that it uses its left argument to " |
| 913 |
"determine the context for the right argument. Assignment to a scalar " |
| 914 |
"evaluates the right-hand side in scalar context, while assignment to an " |
| 915 |
"array or hash evaluates the righthand side in list context. Assignment to a " |
| 916 |
"list (or slice, which is just a list anyway) also evaluates the right-hand " |
| 917 |
"side in list context." |
| 918 |
msgstr "" |
| 919 |
"التعيين (Assignment) خاص قليلاً لأنه يستخدم وسيطه الأيسر لتحديد سياق الوسيط " |
| 920 |
"الأيمن. التعيين لسكالار يقيم الجانب الأيمن في سياق سكالار، بينما التعيين " |
| 921 |
"لمصفوفة أو hash يقيم الجانب الأيمن في سياق قائمة. التعيين لقائمة (أو شريحة، " |
| 922 |
"وهي مجرد قائمة على أي حال) يقيم أيضًا الجانب الأيمن في سياق قائمة." |
| 923 |
|
| 924 |
#. type: Plain text |
| 925 |
#: debian-trixie debian-unstable |
| 926 |
msgid "" |
| 927 |
"When you use the CW<\\*(C`use warnings\\*(C'> pragma or Perl's B<-w> command-" |
| 928 |
"line option, you may see warnings about useless uses of constants or " |
| 929 |
"functions in \"void context\". Void context just means the value has been " |
| 930 |
"discarded, such as a statement containing only CW<\\*(C`\"fred\";\\*(C'> or " |
| 931 |
"CW<\\*(C`getpwuid(0);\\*(C'>. It still counts as scalar context for " |
| 932 |
"functions that care whether or not they're being called in list context." |
| 933 |
msgstr "" |
| 934 |
"عند استخدام توجيه CW<\\*(C`use warnings\\*(C'> أو خيار سطر الأوامر B<-w> " |
| 935 |
"لبيرل، قد ترى تحذيرات حول استخدامات عديمة الفائدة للثوابت أو الدوال في " |
| 936 |
"\"سياق فارغ\" (void context). السياق الفارغ يعني ببساطة أن القيمة قد تم " |
| 937 |
"التخلص منها، مثل جملة تحتوي فقط على CW<\\*(C`\"fred\";\\*(C'> أو " |
| 938 |
"CW<\\*(C`getpwuid(0);\\*(C'>. ولا يزال يُحسب كسياق سكالار للدوال التي تهتم " |
| 939 |
"بما إذا كان يتم استدعاؤها في سياق قائمة أم لا." |
| 940 |
|
| 941 |
#. type: Plain text |
| 942 |
#: debian-trixie debian-unstable |
| 943 |
msgid "" |
| 944 |
"User-defined subroutines may choose to care whether they are being called in " |
| 945 |
"a void, scalar, or list context. Most subroutines do not need to bother, " |
| 946 |
"though. That's because both scalars and lists are automatically " |
| 947 |
"interpolated into lists. See \"wantarray\" in perlfunc for how you would " |
| 948 |
"dynamically discern your function's calling context." |
| 949 |
msgstr "" |
| 950 |
"قد تختار الروتينات الفرعية التي يحددها المستخدم الاهتمام بما إذا كان يتم " |
| 951 |
"استدعاؤها في سياق فارغ، أو سكالار، أو قائمة. ومع ذلك، لا تحتاج معظم " |
| 952 |
"الروتينات الفرعية إلى الاهتمام بذلك. وذلك لأن كلاً من السكالار والقوائم يتم " |
| 953 |
"إقحامها آليًا في القوائم. راجع \"wantarray\" في perlfunc لمعرفة كيف يمكنك " |
| 954 |
"تمييز سياق استدعاء دالتك ديناميكيًا." |
| 955 |
|
| 956 |
#. type: IX |
| 957 |
#: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 958 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 959 |
#, no-wrap |
| 960 |
msgid "Scalar values" |
| 961 |
msgstr "قيم السكالار" |
| 962 |
|
| 963 |
#. type: IX |
| 964 |
#: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 965 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 966 |
#, no-wrap |
| 967 |
msgid "scalar number string reference" |
| 968 |
msgstr "سكالار رقم نص مرجع" |
| 969 |
|
| 970 |
#. type: Plain text |
| 971 |
#: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 972 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 973 |
msgid "" |
| 974 |
"All data in Perl is a scalar, an array of scalars, or a hash of scalars. A " |
| 975 |
"scalar may contain one single value in any of three different flavors: a " |
| 976 |
"number, a string, or a reference. In general, conversion from one form to " |
| 977 |
"another is transparent. Although a scalar may not directly hold multiple " |
| 978 |
"values, it may contain a reference to an array or hash which in turn " |
| 979 |
"contains multiple values." |
| 980 |
msgstr "" |
| 981 |
"جميع البيانات في بيرل هي سكالار، أو مصفوفة من السكالار، أو hash من السكالار. " |
| 982 |
"يمكن أن يحتوي السكالار على قيمة واحدة بأي من ثلاث نكهات مختلفة: رقم، أو " |
| 983 |
"سلسلة نصية، أو مرجع. بشكل عام، التحويل من شكل إلى آخر يكون شفافًا. على الرغم " |
| 984 |
"من أن السكالار قد لا يحمل قيمًا متعددة بشكل مباشر، إلا أنه قد يحتوي على مرجع " |
| 985 |
"لمصفوفة أو hash يحتوي بدوره على قيم متعددة." |
| 986 |
|
| 987 |
#. type: Plain text |
| 988 |
#: debian-trixie debian-unstable |
| 989 |
msgid "" |
| 990 |
"Scalars aren't necessarily one thing or another. There's no place to " |
| 991 |
"declare a scalar variable to be of type \"string\", type \"number\", type " |
| 992 |
"\"reference\", or anything else. Because of the automatic conversion of " |
| 993 |
"scalars, operations that return scalars don't need to care (and in fact, " |
| 994 |
"cannot care) whether their caller is looking for a string, a number, or a " |
| 995 |
"reference. Perl is a contextually polymorphic language whose scalars can be " |
| 996 |
"strings, numbers, or references (which includes objects). Although strings " |
| 997 |
"and numbers are considered pretty much the same thing for nearly all " |
| 998 |
"purposes, references are strongly-typed, uncastable pointers with builtin " |
| 999 |
"reference-counting and destructor invocation." |
| 1000 |
msgstr "" |
| 1001 |
"السكالار ليس بالضرورة شيئًا واحدًا أو آخر. لا يوجد مكان للتصريح عن متغير " |
| 1002 |
"سكالار ليكون من نوع \"سلسلة نصية\"، أو نوع \"رقم\"، أو نوع \"مرجع\"، أو أي " |
| 1003 |
"شيء آخر. نظرًا للتحويل الآلي للسكالار، فإن العمليات التي تعيد سكالار لا تحتاج " |
| 1004 |
"للاهتمام (وفي الواقع، لا يمكنها الاهتمام) بما إذا كان المستدعي يبحث عن سلسلة " |
| 1005 |
"نصية، أو رقم، أو مرجع. بيرل لغة متعددة الأشكال سياقيًا حيث يمكن أن تكون قيم " |
| 1006 |
"السكالار سلاسل نصية، أو أرقامًا، أو مراجع (والتي تشمل الكائنات). رغم أن " |
| 1007 |
"السلاسل والأرقام تُعتبر الشيء نفسه تقريبًا لكافة الأغراض، إلا أن المراجع هي " |
| 1008 |
"مؤشرات قوية النوع وغير قابلة للتحويل القسري مع ميزة عد المراجع المدمجة " |
| 1009 |
"واستدعاء المدمر." |
| 1010 |
|
| 1011 |
#. type: Plain text |
| 1012 |
#: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 1013 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 1014 |
msgid "" |
| 1015 |
"A scalar value is interpreted as FALSE in the Boolean sense if it is " |
| 1016 |
"undefined, the null string or the number 0 (or its string equivalent, " |
| 1017 |
"\"0\"), and TRUE if it is anything else. The Boolean context is just a " |
| 1018 |
"special kind of scalar context where no conversion to a string or a number " |
| 1019 |
"is ever performed. Negation of a true value by CW<\\*(C`!\\*(C'> or " |
| 1020 |
"CW<\\*(C`not\\*(C'> returns a special false value. When evaluated as a " |
| 1021 |
"string it is treated as CW<\"\">, but as a number, it is treated as 0. Most " |
| 1022 |
"Perl operators that return true or false behave this way." |
| 1023 |
msgstr "" |
| 1024 |
"تُفسر قيمة السكالار على أنها خطأ (FALSE) بالمعنى البولياني إذا كانت غير " |
| 1025 |
"معرفة، أو كانت السلسلة الفارغة، أو الرقم 0 (أو ما يعادلها نصيًا \"0\")، وتكون " |
| 1026 |
"صواب (TRUE) إذا كانت أي شيء آخر. السياق البولياني هو مجرد نوع خاص من سياق " |
| 1027 |
"السكالار حيث لا يتم إجراء أي تحويل إلى نص أو رقم. نفي القيمة الصحيحة بواسطة " |
| 1028 |
"CW<\\*(C`!\\*(C'> أو CW<\\*(C`not\\*(C'> يعيد قيمة خطأ خاصة. عند تقييمها " |
| 1029 |
"كسلسلة نصية تُعامل كـ CW<\"\">، ولكن كرقم، تُعامل كـ 0. معظم معاملات بيرل" |
| 1030 |
" التي " |
| 1031 |
"تعيد صواب أو خطأ تتصرف بهذه الطريقة." |
| 1032 |
|
| 1033 |
#. type: IX |
| 1034 |
#: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 1035 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 1036 |
#, no-wrap |
| 1037 |
msgid "truth falsehood true false ! not negation 0 boolean bool" |
| 1038 |
msgstr "صواب خطأ صواب خطأ ! ليس نفي 0 بولياني بول" |
| 1039 |
|
| 1040 |
#. type: Plain text |
| 1041 |
#: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 1042 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 1043 |
msgid "" |
| 1044 |
"There are actually two varieties of null strings (sometimes referred to as " |
| 1045 |
"\"empty\" strings), a defined one and an undefined one. The defined version " |
| 1046 |
"is just a string of length zero, such as CW<\"\">. The undefined version is " |
| 1047 |
"the value that indicates that there is no real value for something, such as " |
| 1048 |
"when there was an error, or at end of file, or when you refer to an " |
| 1049 |
"uninitialized variable or element of an array or hash. Although in early " |
| 1050 |
"versions of Perl, an undefined scalar could become defined when first used " |
| 1051 |
"in a place expecting a defined value, this no longer happens except for rare " |
| 1052 |
"cases of autovivification as explained in perlref. You can use the " |
| 1053 |
"B<defined()> operator to determine whether a scalar value is defined (this " |
| 1054 |
"has no meaning on arrays or hashes), and the B<undef()> operator to produce " |
| 1055 |
"an undefined value." |
| 1056 |
msgstr "" |
| 1057 |
"هناك في الواقع نوعان من السلاسل النصية الخالية (يُشار إليها أحيانًا باسم " |
| 1058 |
"السلاسل \"الفارغة\")، واحدة معرفة وأخرى غير معرفة. النسخة المعرفة هي مجرد " |
| 1059 |
"سلسلة بطول صفر، مثل CW<\"\">. النسخة غير المعرفة هي القيمة التي تشير إلى عدم " |
| 1060 |
"وجود قيمة حقيقية لشيء ما، كما هو الحال عند حدوث خطأ، أو في نهاية ملف، أو عند " |
| 1061 |
"الإشارة إلى متغير غير مهيأ أو عنصر في مصفوفة أو hash. رغم أنه في إصدارات " |
| 1062 |
"بيرل المبكرة، كان بإمكان السكالار غير المعرف أن يصبح معرفًا عند استخدامه لأول " |
| 1063 |
"مرة في مكان يتوقع قيمة معرفة، إلا أن هذا لم يعد يحدث باستثناء حالات نادرة من " |
| 1064 |
"autovivification كما هو موضح في perlref. يمكنك استخدام معامل B<defined()> " |
| 1065 |
"لتحديد ما إذا كانت قيمة السكالار معرفة (ليس لهذا معنى في المصفوفات أو الـ " |
| 1066 |
"hashes)، ومعامل B<undef()> لإنتاج قيمة غير معرفة." |
| 1067 |
|
| 1068 |
#. type: IX |
| 1069 |
#: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 1070 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 1071 |
#, no-wrap |
| 1072 |
msgid "defined undefined undef null string, null" |
| 1073 |
msgstr "معرف غير معرف undef نص خالي، خالي" |
| 1074 |
|
| 1075 |
#. type: Plain text |
| 1076 |
#: debian-trixie debian-unstable |
| 1077 |
msgid "" |
| 1078 |
"To find out whether a given string is a valid non-zero number, it's " |
| 1079 |
"sometimes enough to test it against both numeric 0 and also lexical " |
| 1080 |
"\"0\" (although this will cause noises if warnings are on). That's because " |
| 1081 |
"strings that aren't numbers count as 0, just as they do in B<awk>:" |
| 1082 |
msgstr "" |
| 1083 |
"لمعرفة ما إذا كانت سلسلة نصية معينة رقمًا صالحًا غير صفري، يكفي أحيانًا " |
| 1084 |
"اختبارها مقابل كل من الرقم 0 والكلمة المعجمية \"0\" (رغم أن هذا سيسبب ضجيجًا " |
| 1085 |
"إذا كانت التحذيرات مفعلة). وذلك لأن السلاسل التي ليست أرقامًا تُحسب كـ 0، " |
| 1086 |
"تمامًا كما هو الحال في B<awk>:" |
| 1087 |
|
| 1088 |
#. type: Plain text |
| 1089 |
#: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 1090 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 1091 |
#, no-wrap |
| 1092 |
msgid "" |
| 1093 |
"\\& if ($str == 0 && $str ne \"0\") {\n" |
| 1094 |
"\\& warn \"That doesn\\*(Aqt look like a number\";\n" |
| 1095 |
"\\& }\n" |
| 1096 |
msgstr "" |
| 1097 |
"\\& if ($str == 0 && $str ne \"0\") {\n" |
| 1098 |
"\\& warn \"هذا لا يبدو وكأنه رقم\";\n" |
| 1099 |
"\\& }\n" |
| 1100 |
|
| 1101 |
#. type: Plain text |
| 1102 |
#: debian-trixie debian-unstable |
| 1103 |
msgid "" |
| 1104 |
"That method may be best because otherwise you won't treat IEEE notations " |
| 1105 |
"like CW<\\*(C`NaN\\*(C'> or CW<\\*(C`Infinity\\*(C'> properly. At other " |
| 1106 |
"times, you might prefer to determine whether string data can be used " |
| 1107 |
"numerically by calling the B<POSIX::strtod()> function or by inspecting your " |
| 1108 |
"string with a regular expression (as documented in perlre)." |
| 1109 |
msgstr "" |
| 1110 |
"قد تكون هذه الطريقة هي الأفضل لأنه بخلاف ذلك لن تعامل تدوينات IEEE مثل " |
| 1111 |
"CW<\\*(C`NaN\\*(C'> أو CW<\\*(C`Infinity\\*(C'> بشكل صحيح. في أوقات أخرى، قد " |
| 1112 |
"تفضل تحديد ما إذا كان يمكن استخدام بيانات السلسلة رقميًا من خلال استدعاء دالة " |
| 1113 |
"B<POSIX::strtod()> أو بفحص السلسلة باستخدام تعبير نمطي (كما هو موثق في " |
| 1114 |
"perlre)." |
| 1115 |
|
| 1116 |
#. type: Plain text |
| 1117 |
#: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 1118 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 1119 |
#, no-wrap |
| 1120 |
msgid "" |
| 1121 |
"\\& warn \"has nondigits\" if /\\eD/;\n" |
| 1122 |
"\\& warn \"not a natural number\" unless /^\\ed+$/; # rejects" |
| 1123 |
" -3\n" |
| 1124 |
"\\& warn \"not an integer\" unless /^-?\\ed+$/; # rejects" |
| 1125 |
" +3\n" |
| 1126 |
"\\& warn \"not an integer\" unless /^[+-]?\\ed+$/;\n" |
| 1127 |
"\\& warn \"not a decimal number\" unless /^-?\\ed+\\e.?\\ed*$/; #" |
| 1128 |
" rejects .2\n" |
| 1129 |
"\\& warn \"not a decimal number\" unless" |
| 1130 |
" /^-?(?:\\ed+(?:\\e.\\ed*)?|\\e.\\ed+)$/;\n" |
| 1131 |
"\\& warn \"not a C float\"\n" |
| 1132 |
"\\& unless /^([+-]?)(?=\\ed|\\e.\\ed)\\ed*(\\e.\\ed*)?([Ee]([+-]?\\ed+)" |
| 1133 |
")?$/;\n" |
| 1134 |
msgstr "" |
| 1135 |
"\\& warn \"يحتوي على غير أرقام\" if /\\eD/;\n" |
| 1136 |
"\\& warn \"ليس رقما طبيعيا\" unless /^\\ed+$/; # يرفض -3\n" |
| 1137 |
"\\& warn \"ليس عددا صحيحا\" unless /^-?\\ed+$/; # يرفض +3\n" |
| 1138 |
"\\& warn \"ليس عددا صحيحا\" unless /^[+-]?\\ed+$/;\n" |
| 1139 |
"\\& warn \"ليس رقما عشريا\" unless /^-?\\ed+\\e.?\\ed*$/; # يرفض .2\n" |
| 1140 |
"\\& warn \"ليس رقما عشريا\" unless /^-?(?:\\ed+(?:\\e.\\ed*)?|\\e.\\ed+)$/;" |
| 1141 |
"\n" |
| 1142 |
"\\& warn \"ليس عددا عائما بلغة C\"\n" |
| 1143 |
"\\& unless /^([+-]?)(?=\\ed|\\e.\\ed)\\ed*(\\e.\\ed*)?([Ee]([+-]?\\ed+)" |
| 1144 |
")?$/;\n" |
| 1145 |
|
| 1146 |
#. type: Plain text |
| 1147 |
#: debian-trixie debian-unstable |
| 1148 |
msgid "" |
| 1149 |
"The length of an array is a scalar value. You may find the length of array " |
| 1150 |
"CW<@days> by evaluating CW<$#days>, as in B<csh>. However, this isn't the " |
| 1151 |
"length of the array; it's the subscript of the last element, which is a " |
| 1152 |
"different value since there is ordinarily a 0th element. Assigning to " |
| 1153 |
"CW<$#days> actually changes the length of the array. Shortening an array " |
| 1154 |
"this way destroys intervening values. Lengthening an array that was " |
| 1155 |
"previously shortened does not recover values that were in those elements." |
| 1156 |
msgstr "" |
| 1157 |
"طول المصفوفة هو قيمة سكالار. يمكنك العثور على طول المصفوفة CW<@days> بتقييم " |
| 1158 |
"CW<$#days>، كما هو الحال في B<csh>. ومع ذلك، هذا ليس طول المصفوفة؛ بل هو " |
| 1159 |
"فهرس العنصر الأخير، وهي قيمة مختلفة نظرًا لوجود العنصر رقم 0 عادةً. التعيين" |
| 1160 |
" لـ " |
| 1161 |
"CW<$#days> يغير بالفعل طول المصفوفة. تقصير المصفوفة بهذه الطريقة يدمر القيم " |
| 1162 |
"المتداخلة. تطويل مصفوفة تم تقصيرها سابقًا لا يستعيد القيم التي كانت في تلك " |
| 1163 |
"العناصر." |
| 1164 |
|
| 1165 |
#. type: IX |
| 1166 |
#: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 1167 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 1168 |
#, no-wrap |
| 1169 |
msgid "$# array, length" |
| 1170 |
msgstr "$# مصفوفة، طول" |
| 1171 |
|
| 1172 |
#. type: Plain text |
| 1173 |
#: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 1174 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 1175 |
msgid "" |
| 1176 |
"You can also gain some minuscule measure of efficiency by pre-extending an " |
| 1177 |
"array that is going to get big. You can also extend an array by assigning " |
| 1178 |
"to an element that is off the end of the array. You can truncate an array " |
| 1179 |
"down to nothing by assigning the null list () to it. The following are " |
| 1180 |
"equivalent:" |
| 1181 |
msgstr "" |
| 1182 |
"يمكنك أيضًا كسب قدر ضئيل من الكفاءة من خلال تمديد مصفوفة مسبقًا ستصبح كبيرة. " |
| 1183 |
"يمكنك أيضًا تمديد مصفوفة من خلال التعيين لعنصر يقع خارج نهاية المصفوفة. يمكنك " |
| 1184 |
"اقتطاع مصفوفة لتصبح لا شيء عن طريق تعيين القائمة الفارغة () لها. ما يلي " |
| 1185 |
"متكافئ:" |
| 1186 |
|
| 1187 |
#. type: Plain text |
| 1188 |
#: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 1189 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 1190 |
#, no-wrap |
| 1191 |
msgid "" |
| 1192 |
"\\& @whatever = ();\n" |
| 1193 |
"\\& $#whatever = -1;\n" |
| 1194 |
msgstr "" |
| 1195 |
"\\& @whatever = ();\n" |
| 1196 |
"\\& $#whatever = -1;\n" |
| 1197 |
|
| 1198 |
#. type: Plain text |
| 1199 |
#: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 1200 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 1201 |
msgid "" |
| 1202 |
"If you evaluate an array in scalar context, it returns the length of the " |
| 1203 |
"array. (Note that this is not true of lists, which return the last value, " |
| 1204 |
"like the C comma operator, nor of built-in functions, which return whatever " |
| 1205 |
"they feel like returning.) The following is always true:" |
| 1206 |
msgstr "" |
| 1207 |
"إذا قمت بتقييم مصفوفة في سياق سكالار، فإنها تعيد طول المصفوفة. (لاحظ أن هذا " |
| 1208 |
"لا ينطبق على القوائم، التي تعيد القيمة الأخيرة، مثل معامل الفاصلة في لغة C، " |
| 1209 |
"ولا على الدوال المدمجة، التي تعيد ما تشاء إعادته). ما يلي صحيح دائمًا:" |
| 1210 |
|
| 1211 |
#. type: IX |
| 1212 |
#: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 1213 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 1214 |
#, no-wrap |
| 1215 |
msgid "array, length" |
| 1216 |
msgstr "مصفوفة، طول" |
| 1217 |
|
| 1218 |
#. type: Plain text |
| 1219 |
#: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 1220 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 1221 |
#, no-wrap |
| 1222 |
msgid "\\& scalar(@whatever) == $#whatever + 1;\n" |
| 1223 |
msgstr "\\& scalar(@whatever) == $#whatever + 1;\n" |
| 1224 |
|
| 1225 |
#. type: Plain text |
| 1226 |
#: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 1227 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 1228 |
msgid "" |
| 1229 |
"Some programmers choose to use an explicit conversion so as to leave nothing " |
| 1230 |
"to doubt:" |
| 1231 |
msgstr "يختار بعض المبرمجين استخدام تحويل صريح حتى لا يتركوا مجالاً للشك:" |
| 1232 |
|
| 1233 |
#. type: Plain text |
| 1234 |
#: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 1235 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 1236 |
#, no-wrap |
| 1237 |
msgid "\\& $element_count = scalar(@whatever);\n" |
| 1238 |
msgstr "\\& $element_count = scalar(@whatever);\n" |
| 1239 |
|
| 1240 |
#. type: Plain text |
| 1241 |
#: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 1242 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 1243 |
msgid "" |
| 1244 |
"If you evaluate a hash in scalar context, it returns a false value if the " |
| 1245 |
"hash is empty. If there are any key/value pairs, it returns a true value. " |
| 1246 |
"A more precise definition is version dependent." |
| 1247 |
msgstr "" |
| 1248 |
"إذا قمت بتقييم hash في سياق سكالار، فإنه يعيد قيمة خطأ إذا كان الـ hash " |
| 1249 |
"فارغًا. إذا كان هناك أي أزواج مفتاح/قيمة، فإنه يعيد قيمة صواب. يعتمد التعريف " |
| 1250 |
"الأكثر دقة على الإصدار." |
| 1251 |
|
| 1252 |
#. type: Plain text |
| 1253 |
#: debian-trixie debian-unstable |
| 1254 |
msgid "" |
| 1255 |
"Prior to Perl 5.25 the value returned was a string consisting of the number " |
| 1256 |
"of used buckets and the number of allocated buckets, separated by a slash. " |
| 1257 |
"This is pretty much useful only to find out whether Perl's internal hashing " |
| 1258 |
"algorithm is performing poorly on your data set. For example, you stick " |
| 1259 |
"10,000 things in a hash, but evaluating \\&CW<%HASH> in scalar context " |
| 1260 |
"reveals CW<\"1/16\">, which means only one out of sixteen buckets has been " |
| 1261 |
"touched, and presumably contains all 10,000 of your items. This isn't " |
| 1262 |
"supposed to happen." |
| 1263 |
msgstr "" |
| 1264 |
"قبل الإصدار 5.25 من بيرل، كانت القيمة المعادة عبارة عن سلسلة نصية تتكون من " |
| 1265 |
"عدد الحاويات (buckets) المستخدمة وعدد الحاويات المخصصة، مفصولة بشرطة مائلة. " |
| 1266 |
"هذا مفيد فقط لمعرفة ما إذا كانت خوارزمية الـ hashing الداخلية لبيرل تعمل " |
| 1267 |
"بشكل سيئ على مجموعة بياناتك. على سبيل المثال، تضع 10,000 عنصر في hash، لكن " |
| 1268 |
"تقييم \\&CW<%HASH> في سياق سكالار يكشف عن CW<\"1/16\">، مما يعني أنه تم لمس " |
| 1269 |
"واحدة فقط من أصل ست عشرة حاوية، ويُفترض أنها تحتوي على جميع العناصر الـ " |
| 1270 |
"10,000. ليس من المفترض أن يحدث هذا." |
| 1271 |
|
| 1272 |
#. type: Plain text |
| 1273 |
#: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 1274 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 1275 |
msgid "" |
| 1276 |
"As of Perl 5.25 the return was changed to be the count of keys in the hash. " |
| 1277 |
"If you need access to the old behavior you can use \\&CW<Hash::Util::" |
| 1278 |
"bucket_ratio()> instead." |
| 1279 |
msgstr "" |
| 1280 |
"بدءًا من الإصدار 5.25 من بيرل، غُيرت القيمة المعادة لتكون عدد المفاتيح في الـ " |
| 1281 |
"hash. إذا كنت بحاجة للوصول إلى السلوك القديم، يمكنك استخدام \\&CW<Hash::" |
| 1282 |
"Util::bucket_ratio()> بدلاً من ذلك." |
| 1283 |
|
| 1284 |
#. type: Plain text |
| 1285 |
#: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 1286 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 1287 |
msgid "" |
| 1288 |
"If a tied hash is evaluated in scalar context, the CW<\\*(C`SCALAR\\*(C'> " |
| 1289 |
"method is called (with a fallback to CW<\\*(C`FIRSTKEY\\*(C'>)." |
| 1290 |
msgstr "" |
| 1291 |
"إذا قُيمت دالة هاش مربوطة (tied hash) في سياق عددي (scalar context)، تُستدعى " |
| 1292 |
"الوسيلة CW<\\*(C`SCALAR\\*(C'> (مع الرجوع إلى CW<\\*(C`FIRSTKEY\\*(C'> في " |
| 1293 |
"حال الإخفاق)." |
| 1294 |
|
| 1295 |
#. type: IX |
| 1296 |
#: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 1297 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 1298 |
#, no-wrap |
| 1299 |
msgid "hash, scalar context hash, bucket bucket" |
| 1300 |
msgstr "دالة هاش، هاش السياق العددي، دلو bucket" |
| 1301 |
|
| 1302 |
#. type: Plain text |
| 1303 |
#: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 1304 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 1305 |
msgid "" |
| 1306 |
"You can preallocate space for a hash by assigning to the B<keys()> " |
| 1307 |
"function. This rounds up the allocated buckets to the next power of two:" |
| 1308 |
msgstr "" |
| 1309 |
"يمكنك حجز مساحة مسبقًا لدالة هاش عبر التعيين للدالة B<keys()>. يؤدي هذا إلى " |
| 1310 |
"تقريب الدلاء (buckets) المخصصة إلى القوة التالية للعدد اثنين:" |
| 1311 |
|
| 1312 |
#. type: Plain text |
| 1313 |
#: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 1314 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 1315 |
#, no-wrap |
| 1316 |
msgid "\\& keys(%users) = 1000; # allocate 1024 buckets\n" |
| 1317 |
msgstr "\\& keys(%users) = 1000; # حجز 1024 دلوًا\n" |
| 1318 |
|
| 1319 |
#. type: IX |
| 1320 |
#: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 1321 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 1322 |
#, no-wrap |
| 1323 |
msgid "Scalar value constructors" |
| 1324 |
msgstr "منشئات القيمة العددية" |
| 1325 |
|
| 1326 |
#. type: IX |
| 1327 |
#: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 1328 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 1329 |
#, no-wrap |
| 1330 |
msgid "scalar, literal scalar, constant" |
| 1331 |
msgstr "عددي، عددي حرفي، ثابت" |
| 1332 |
|
| 1333 |
#. type: Plain text |
| 1334 |
#: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 1335 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 1336 |
msgid "" |
| 1337 |
"Numeric literals are specified in any of the following floating point or " |
| 1338 |
"integer formats:" |
| 1339 |
msgstr "" |
| 1340 |
"تُحدد الأرقام الحرفية بأي من تنسيقات الفاصلة العائمة أو الأعداد الصحيحة " |
| 1341 |
"التالية:" |
| 1342 |
|
| 1343 |
#. type: Plain text |
| 1344 |
#: debian-trixie debian-unstable |
| 1345 |
#, no-wrap |
| 1346 |
msgid "" |
| 1347 |
"\\& 12345\n" |
| 1348 |
"\\& 12345.67\n" |
| 1349 |
"\\& .23E-10 # a very small number\n" |
| 1350 |
"\\& 3.14_15_92 # a very important number\n" |
| 1351 |
"\\& 4_294_967_296 # underscore for legibility\n" |
| 1352 |
"\\& 0xff # hex\n" |
| 1353 |
"\\& 0xdead_beef # more hex\n" |
| 1354 |
"\\& 0377 # octal (only numbers, begins with 0)\n" |
| 1355 |
"\\& 0o12_345 # alternative octal (introduced in Perl 5.33.5)\n" |
| 1356 |
"\\& 0b011011 # binary\n" |
| 1357 |
"\\& 0x1.999ap-4 # hexadecimal floating point (the \\*(Aqp\\*(Aq is" |
| 1358 |
" required)\n" |
| 1359 |
msgstr "" |
| 1360 |
"\\& 12345\n" |
| 1361 |
"\\& 12345.67\n" |
| 1362 |
"\\& .23E-10 # رقم صغير جدًا\n" |
| 1363 |
"\\& 3.14_15_92 # رقم مهم جدًا\n" |
| 1364 |
"\\& 4_294_967_296 # شرطة سفلية للوضوح\n" |
| 1365 |
"\\& 0xff # سداسي عشر\n" |
| 1366 |
"\\& 0xdead_beef # المزيد من السداسي عشر\n" |
| 1367 |
"\\& 0377 # ثماني (أرقام فقط، يبدأ بـ 0)\n" |
| 1368 |
"\\& 0o12_345 # ثماني بديل (أُدخل في بيرل 5.33.5)\n" |
| 1369 |
"\\& 0b011011 # ثنائي\n" |
| 1370 |
"\\& 0x1.999ap-4 # فاصلة عائمة سداسية عشرية (حرف \\*(Aqp\\*(Aq مطلوب)\n" |
| 1371 |
|
| 1372 |
#. type: Plain text |
| 1373 |
#: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 1374 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 1375 |
msgid "" |
| 1376 |
"You are allowed to use underscores (underbars) in numeric literals between " |
| 1377 |
"digits for legibility (but not multiple underscores in a row: " |
| 1378 |
"\\&CW<\\*(C`23_\\|_500\\*(C'> is not legal; CW<\\*(C`23_500\\*(C'> is). You " |
| 1379 |
"could, for example, group binary digits by threes (as for a Unix-style mode " |
| 1380 |
"argument such as 0b110_100_100) or by fours (to represent nibbles, as in " |
| 1381 |
"0b1010_0110) or in other groups." |
| 1382 |
msgstr "" |
| 1383 |
"يُسمح لك باستخدام الشرطات السفلية في الأرقام الحرفية بين الأرقام لسهولة " |
| 1384 |
"القراءة (ولكن ليس شرطات سفلية متعددة متتالية: \\&CW<\\*(C`23_\\|_500\\*(C'> " |
| 1385 |
"غير قانوني؛ بينما CW<\\*(C`23_500\\*(C'> قانوني). يمكنك، على سبيل المثال، " |
| 1386 |
"تجميع الأرقام الثنائية في مجموعات من ثلاثة (كما في معامل الوضع بأسلوب يونكس " |
| 1387 |
"مثل 0b110_100_100) أو أربعة (لتمثيل النيبلات nibbles، كما في 0b1010_0110) أو " |
| 1388 |
"في مجموعات أخرى." |
| 1389 |
|
| 1390 |
#. type: IX |
| 1391 |
#: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 1392 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 1393 |
#, no-wrap |
| 1394 |
msgid "number, literal" |
| 1395 |
msgstr "رقم، حرفي" |
| 1396 |
|
| 1397 |
#. type: Plain text |
| 1398 |
#: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 1399 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 1400 |
msgid "" |
| 1401 |
"String literals are usually delimited by either single or double quotes. " |
| 1402 |
"They work much like quotes in the standard Unix shells: double-quoted string " |
| 1403 |
"literals are subject to backslash and variable substitution; single-quoted " |
| 1404 |
"strings are not (except for CW<\\*(C`\\e\\*(Aq\\*(C'> and " |
| 1405 |
"\\&CW<\\*(C`\\e\\e\\*(C'>). The usual C-style backslash rules apply for " |
| 1406 |
"making characters such as newline, tab, etc., as well as some more exotic " |
| 1407 |
"forms. See \"Quote and Quote-like Operators\" in perlop for a list." |
| 1408 |
msgstr "" |
| 1409 |
"تُحدد السلاسل الحرفية عادةً إما بعلامات اقتباس مفردة أو مزدوجة. وهي تعمل بشكل " |
| 1410 |
"مشابه جدًا لعلامات الاقتباس في صدفات يونكس القياسية: تخضع السلاسل الحرفية ذات " |
| 1411 |
"الاقتباس المزدوج لتبديل المتغيرات والشرطة المائلة العكسية؛ بينما لا تخضع " |
| 1412 |
"السلاسل ذات الاقتباس المفرد لذلك (باستثناء CW<\\*(C`\\e\\*(Aq\\*(C'> و " |
| 1413 |
"\\&CW<\\*(C`\\e\\e\\*(C'>). تنطبق قواعد الشرطة المائلة العكسية المعتادة " |
| 1414 |
"بأسلوب C لإنشاء محارف مثل السطر الجديد، والتبويب، وما إلى ذلك، بالإضافة إلى " |
| 1415 |
"بعض الأشكال الأكثر غرابة. انظر \"Quote and Quote-like Operators\" في perlop " |
| 1416 |
"للحصول على قائمة." |
| 1417 |
|
| 1418 |
#. type: IX |
| 1419 |
#: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 1420 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 1421 |
#, no-wrap |
| 1422 |
msgid "string, literal" |
| 1423 |
msgstr "سلسلة نصية، حرفي" |
| 1424 |
|
| 1425 |
#. type: Plain text |
| 1426 |
#: debian-trixie debian-unstable |
| 1427 |
msgid "" |
| 1428 |
"Hexadecimal, octal, or binary, representations in string literals (e.g. " |
| 1429 |
"'0xff') are not automatically converted to their integer representation. " |
| 1430 |
"The B<hex()> and B<oct()> functions make these conversions for you. See " |
| 1431 |
"\"hex\" in perlfunc and \"oct\" in perlfunc for more details." |
| 1432 |
msgstr "" |
| 1433 |
"لا تُحول التمثيلات السداسية العشرية، أو الثمانية، أو الثنائية في السلاسل " |
| 1434 |
"الحرفية (مثل '0xff') آليًا إلى تمثيلها العددي الصحيح. تقوم الدالتان B<hex()> " |
| 1435 |
"و B<oct()> بهذه التحويلات لك. انظر \"hex\" في perlfunc و \"oct\" في perlfunc " |
| 1436 |
"لمزيد من التفاصيل." |
| 1437 |
|
| 1438 |
#. type: Plain text |
| 1439 |
#: debian-trixie debian-unstable |
| 1440 |
msgid "" |
| 1441 |
"Hexadecimal floating point can start just like a hexadecimal literal, and it " |
| 1442 |
"can be followed by an optional fractional hexadecimal part, but it must be " |
| 1443 |
"followed by CW<\\*(C`p\\*(C'>, an optional sign, and a power of two. The " |
| 1444 |
"format is useful for accurately presenting floating point values, avoiding " |
| 1445 |
"conversions to or from decimal floating point, and therefore avoiding " |
| 1446 |
"possible loss in precision. Notice that while most current platforms use " |
| 1447 |
"the 64-bit IEEE 754 floating point, not all do. Another potential source of " |
| 1448 |
"(low-order) differences are the floating point rounding modes, which can " |
| 1449 |
"differ between CPUs, operating systems, and compilers, and which Perl " |
| 1450 |
"doesn't control." |
| 1451 |
msgstr "" |
| 1452 |
"يمكن أن تبدأ الفاصلة العائمة السداسية العشرية تمامًا مثل الحرفي السداسي " |
| 1453 |
"العشر، ويمكن أن يتبعها جزء سداسي عشري كسرى اختياري، ولكن يجب أن يتبعها " |
| 1454 |
"CW<\\*(C`p\\*(C'>، وإشارة اختيارية، وقوة للعدد اثنين. هذا التنسيق مفيد " |
| 1455 |
"لتمثيل قيم الفاصلة العائمة بدقة، وتجنب التحويلات من أو إلى الفاصلة العائمة " |
| 1456 |
"العشرية، وبالتالي تجنب الفقد المحتمل في الدقة. لاحظ أنه بينما تستخدم معظم " |
| 1457 |
"المنصات الحالية فاصلة عائمة IEEE 754 بـ 64 بت، لا تفعل جميعها ذلك. مصدر " |
| 1458 |
"محتمل آخر للاختلافات (في المراتب الدنيا) هو أوضاع تقريب الفاصلة العائمة، " |
| 1459 |
"والتي يمكن أن تختلف بين المعالجات، وأنظمة التشغيل، والمترجمات، والتي لا " |
| 1460 |
"تتحكم فيها بيرل." |
| 1461 |
|
| 1462 |
#. type: Plain text |
| 1463 |
#: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 1464 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 1465 |
msgid "" |
| 1466 |
"You can also embed newlines directly in your strings, i.e., they can end on " |
| 1467 |
"a different line than they begin. This is nice, but if you forget your " |
| 1468 |
"trailing quote, the error will not be reported until Perl finds another line " |
| 1469 |
"containing the quote character, which may be much further on in the script. " |
| 1470 |
"Variable substitution inside strings is limited to scalar variables, arrays, " |
| 1471 |
"and array or hash slices. (In other words, names beginning with $ or @, " |
| 1472 |
"followed by an optional bracketed expression as a subscript.) The following " |
| 1473 |
"code segment prints out \"The price is CW<$100>.\"" |
| 1474 |
msgstr "" |
| 1475 |
"يمكنك أيضًا تضمين أسطر جديدة مباشرة في سلاسلك النصية، أي يمكن أن تنتهي في سطر " |
| 1476 |
"مختلف عن الذي بدأت فيه. هذا أمر جيد، ولكن إذا نسيت علامة الاقتباس الختامية، " |
| 1477 |
"فلن يُبلغ عن الخطأ حتى تجد بيرل سطرًا آخر يحتوي على محرف الاقتباس، والذي قد " |
| 1478 |
"يكون بعيدًا جدًا في السكربت. يقتصر تبديل المتغيرات داخل السلاسل النصية على " |
| 1479 |
"المتغيرات العددية، والمصفوفات، وشرائح المصفوفات أو الهاش. (بمعنى آخر، " |
| 1480 |
"الأسماء التي تبدأ بـ $ أو @، متبوعة بتعبير اختياري بين أقواس كمؤشر سفلي " |
| 1481 |
"subscript.) مقطع الكود التالي يطبع \"The price is CW<$100>.\"" |
| 1482 |
|
| 1483 |
#. type: IX |
| 1484 |
#: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 1485 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 1486 |
#, no-wrap |
| 1487 |
msgid "interpolation" |
| 1488 |
msgstr "الاستيفاء" |
| 1489 |
|
| 1490 |
#. type: Plain text |
| 1491 |
#: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 1492 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 1493 |
#, no-wrap |
| 1494 |
msgid "" |
| 1495 |
"\\& $Price = \\*(Aq$100\\*(Aq; # not interpolated\n" |
| 1496 |
"\\& print \"The price is $Price.\\en\"; # interpolated\n" |
| 1497 |
msgstr "" |
| 1498 |
"\\& $Price = \\*(Aq$100\\*(Aq; # لا يستوفى\n" |
| 1499 |
"\\& print \"The price is $Price.\\en\"; # يستوفى\n" |
| 1500 |
|
| 1501 |
#. type: Plain text |
| 1502 |
#: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 1503 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 1504 |
msgid "" |
| 1505 |
"There is no double interpolation in Perl, so the CW<$100> is left as is." |
| 1506 |
msgstr "لا يوجد استيفاء مزدوج في بيرل، لذا تترك CW<$100> كما هي." |
| 1507 |
|
| 1508 |
#. type: Plain text |
| 1509 |
#: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 1510 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 1511 |
msgid "" |
| 1512 |
"By default floating point numbers substituted inside strings use the dot (\"." |
| 1513 |
"\") as the decimal separator. If CW<\\*(C`use locale\\*(C'> is in effect, " |
| 1514 |
"and B<POSIX::setlocale()> has been called, the character used for the " |
| 1515 |
"decimal separator is affected by the LC_NUMERIC locale. See perllocale and " |
| 1516 |
"POSIX." |
| 1517 |
msgstr "" |
| 1518 |
"مبدئيًا، تستخدم أرقام الفاصلة العائمة المستبدلة داخل السلاسل النصية النقطة " |
| 1519 |
"(\".\") كفاصل عشري. إذا كان CW<\\*(C`use locale\\*(C'> قيد التنفيذ، واستُدعيت " |
| 1520 |
"B<POSIX::setlocale()>، فإن المحرف المستخدم للفاصل العشري يتأثر بإعدادات " |
| 1521 |
"LC_NUMERIC المحلية. انظر perllocale و POSIX." |
| 1522 |
|
| 1523 |
#. type: Plain text |
| 1524 |
#: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 1525 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 1526 |
msgid "I<Demarcated variable names using braces>" |
| 1527 |
msgstr "I<أسماء المتغيرات المحددة باستخدام الأقواس المعقوفة>" |
| 1528 |
|
| 1529 |
#. type: IX |
| 1530 |
#: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 1531 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 1532 |
#, no-wrap |
| 1533 |
msgid "Demarcated variable names using braces" |
| 1534 |
msgstr "أسماء المتغيرات المحددة باستخدام الأقواس المعقوفة" |
| 1535 |
|
| 1536 |
#. type: Plain text |
| 1537 |
#: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 1538 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 1539 |
msgid "" |
| 1540 |
"As in some shells, you can enclose the variable name in braces as a " |
| 1541 |
"demarcator to disambiguate it from following alphanumerics and underscores " |
| 1542 |
"or other text. You must also do this when interpolating a variable into a " |
| 1543 |
"string to separate the variable name from a following double-colon or an " |
| 1544 |
"apostrophe since these would be otherwise treated as a package separator:" |
| 1545 |
msgstr "" |
| 1546 |
"كما هو الحال في بعض الصدفات، يمكنك إحاطة اسم المتغير بأقواس معقوفة كعلامة " |
| 1547 |
"تحديد لرفع اللبس بينه وبين ما يليه من أحرف وأرقام وشرطات سفلية أو نصوص أخرى. " |
| 1548 |
"يجب عليك أيضًا القيام بذلك عند استيفاء متغير داخل سلسلة نصية لفصل اسم المتغير " |
| 1549 |
"عن نقطتين مزدوجتين تاليتين أو فاصلة عليا، حيث ستُعامل هذه غير ذلك كفاصل حزم:" |
| 1550 |
|
| 1551 |
#. type: Plain text |
| 1552 |
#: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 1553 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 1554 |
#, no-wrap |
| 1555 |
msgid "" |
| 1556 |
"\\& $who = \"Larry\";\n" |
| 1557 |
"\\& print PASSWD \"${who}::0:0:Superuser:/:/bin/perl\\en\";\n" |
| 1558 |
"\\& print \"We use ${who}speak when ${who}\\*(Aqs here.\\en\";\n" |
| 1559 |
msgstr "" |
| 1560 |
"\\& $who = \"Larry\";\n" |
| 1561 |
"\\& print PASSWD \"${who}::0:0:Superuser:/:/bin/perl\\en\";\n" |
| 1562 |
"\\& print \"We use ${who}speak when ${who}\\*(Aqs here.\\en\";\n" |
| 1563 |
|
| 1564 |
#. type: Plain text |
| 1565 |
#: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 1566 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 1567 |
msgid "" |
| 1568 |
"Without the braces, Perl would have looked for a CW<$whospeak>, a " |
| 1569 |
"\\&CW<$who::0>, and a CW<\\*(C`$who\\*(Aqs\\*(C'> variable. The last two " |
| 1570 |
"would be the \\&CW<$0> and the CW<$s> variables in the (presumably) non-" |
| 1571 |
"existent package \\&CW<\\*(C`who\\*(C'>." |
| 1572 |
msgstr "" |
| 1573 |
"بدون الأقواس المعقوفة، كانت بيرل ستبحث عن المتغيرات CW<$whospeak>، و " |
| 1574 |
"\\&CW<$who::0>، و CW<\\*(C`$who\\*(Aqs\\*(C'>. المتغيران الأخيران سيكونا " |
| 1575 |
"\\&CW<$0> و CW<$s> في حزمة (يُفترض) أنها غير موجودة تسمى " |
| 1576 |
"\\&CW<\\*(C`who\\*(C'>." |
| 1577 |
|
| 1578 |
#. type: Plain text |
| 1579 |
#: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 1580 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 1581 |
msgid "" |
| 1582 |
"In fact, a simple identifier within such curly braces is forced to be a " |
| 1583 |
"string, and likewise within a hash subscript. Neither need quoting. Our " |
| 1584 |
"earlier example, CW<$days{\\*(AqFeb\\*(Aq}> can be written as CW<$days{Feb}> " |
| 1585 |
"and the quotes will be assumed automatically. But anything more complicated " |
| 1586 |
"in the subscript will be interpreted as an expression. This means for " |
| 1587 |
"example that CW<\\*(C`$version{2.0}++\\*(C'> is equivalent to " |
| 1588 |
"CW<\\*(C`$version{2}++\\*(C'>, not to CW<\\*(C`$version{\\*(Aq2.0\\*(Aq}++" |
| 1589 |
"\\*(C'>." |
| 1590 |
msgstr "" |
| 1591 |
"في الواقع، يُجبر المعرف البسيط داخل هذه الأقواس المعقوفة على أن يكون سلسلة " |
| 1592 |
"نصية، وبالمثل داخل مؤشر الهاش السفلي. لا يحتاج أي منهما إلى اقتباس. مثالنا " |
| 1593 |
"السابق، CW<$days{\\*(AqFeb\\*(Aq}> يمكن كتابته كـ CW<$days{Feb}> وستُفترض " |
| 1594 |
"علامات الاقتباس آليًا. ولكن أي شيء أكثر تعقيدًا في المؤشر السفلي سيُفسر" |
| 1595 |
" كتعبير. " |
| 1596 |
"وهذا يعني على سبيل المثال أن CW<\\*(C`$version{2.0}++\\*(C'> تكافئ " |
| 1597 |
"CW<\\*(C`$version{2}++\\*(C'>، وليس CW<\\*(C`$version{\\*(Aq2.0\\*(Aq}++" |
| 1598 |
"\\*(C'>." |
| 1599 |
|
| 1600 |
#. type: Plain text |
| 1601 |
#: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 1602 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 1603 |
msgid "" |
| 1604 |
"There is a similar problem with interpolation with text that looks like " |
| 1605 |
"array or hash access notation. Placing a simple variable like CW<$who> " |
| 1606 |
"immediately in front of text like CW<\"[1]\"> or CW<\"{foo}\"> would cause " |
| 1607 |
"the variable to be interpolated as accessing an element of CW<@who> or a " |
| 1608 |
"value stored in CW<%who>:" |
| 1609 |
msgstr "" |
| 1610 |
"توجد مشكلة مماثلة في الاستيفاء مع النص الذي يشبه تدوين الوصول إلى المصفوفة " |
| 1611 |
"أو الهاش. وضع متغير بسيط مثل CW<$who> مباشرة أمام نص مثل CW<\"[1]\"> أو " |
| 1612 |
"CW<\"{foo}\"> سيؤدي إلى استيفاء المتغير كوصول إلى عنصر في CW<@who> أو قيمة " |
| 1613 |
"مخزنة في CW<%who>:" |
| 1614 |
|
| 1615 |
#. type: Plain text |
| 1616 |
#: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 1617 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 1618 |
#, no-wrap |
| 1619 |
msgid "" |
| 1620 |
"\\& $who = \"Larry Wall\";\n" |
| 1621 |
"\\& print \"$who[1] is the father of Perl.\\en\";\n" |
| 1622 |
msgstr "" |
| 1623 |
"\\& $who = \"Larry Wall\";\n" |
| 1624 |
"\\& print \"$who[1] is the father of Perl.\\en\";\n" |
| 1625 |
|
| 1626 |
#. type: Plain text |
| 1627 |
#: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 1628 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 1629 |
msgid "" |
| 1630 |
"would attempt to access index 1 of an array named CW<@who>. Again, using " |
| 1631 |
"braces will prevent this from happening:" |
| 1632 |
msgstr "" |
| 1633 |
"سيحاول الوصول إلى الفهرس 1 لمصفوفة تسمى CW<@who>. مرة أخرى، استخدام الأقواس " |
| 1634 |
"سيمنع حدوث ذلك:" |
| 1635 |
|
| 1636 |
#. type: Plain text |
| 1637 |
#: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 1638 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 1639 |
#, no-wrap |
| 1640 |
msgid "" |
| 1641 |
"\\& $who = \"Larry Wall\";\n" |
| 1642 |
"\\& print \"${who}[1] is the father of Perl.\\en\";\n" |
| 1643 |
msgstr "" |
| 1644 |
"\\& $who = \"Larry Wall\";\n" |
| 1645 |
"\\& print \"${who}[1] is the father of Perl.\\en\";\n" |
| 1646 |
|
| 1647 |
#. type: Plain text |
| 1648 |
#: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 1649 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 1650 |
msgid "will be treated the same as" |
| 1651 |
msgstr "سيُعامل بنفس طريقة" |
| 1652 |
|
| 1653 |
#. type: Plain text |
| 1654 |
#: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 1655 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 1656 |
#, no-wrap |
| 1657 |
msgid "" |
| 1658 |
"\\& $who = \"Larry Wall\";\n" |
| 1659 |
"\\& print $who . \"[1] is the father of Perl.\\en\";\n" |
| 1660 |
msgstr "" |
| 1661 |
"\\& $who = \"Larry Wall\";\n" |
| 1662 |
"\\& print $who . \"[1] is the father of Perl.\\en\";\n" |
| 1663 |
|
| 1664 |
#. type: Plain text |
| 1665 |
#: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 1666 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 1667 |
msgid "" |
| 1668 |
"This notation also applies to more complex variable descriptions, such as " |
| 1669 |
"array or hash access with subscripts. For instance" |
| 1670 |
msgstr "" |
| 1671 |
"ينطبق هذا التدوين أيضًا على أوصاف المتغيرات الأكثر تعقيدًا، مثل الوصول إلى " |
| 1672 |
"المصفوفة أو الهاش باستخدام المؤشرات السفلية. على سبيل المثال" |
| 1673 |
|
| 1674 |
#. type: Plain text |
| 1675 |
#: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 1676 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 1677 |
#, no-wrap |
| 1678 |
msgid "" |
| 1679 |
"\\& @name = qw(Larry Curly Moe);\n" |
| 1680 |
"\\& print \"Also ${name[0]}[1] was a member\\en\";\n" |
| 1681 |
msgstr "" |
| 1682 |
"\\& @name = qw(Larry Curly Moe);\n" |
| 1683 |
"\\& print \"Also ${name[0]}[1] was a member\\en\";\n" |
| 1684 |
|
| 1685 |
#. type: Plain text |
| 1686 |
#: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 1687 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 1688 |
msgid "" |
| 1689 |
"Without the braces the above example would be parsed as a two level array " |
| 1690 |
"subscript in the CW<@name> array, and under CW<\\*(C`use strict\\*(C'> would " |
| 1691 |
"likely produce a fatal exception, as it would be parsed like this:" |
| 1692 |
msgstr "" |
| 1693 |
"بدون الأقواس، سيُحلل المثال أعلاه كمؤشر مصفوفة من مستويين في مصفوفة " |
| 1694 |
"CW<@name>، وتحت CW<\\*(C`use strict\\*(C'> سينتج على الأرجح استثناءً قاتلاً، " |
| 1695 |
"لأنه سيُحلل هكذا:" |
| 1696 |
|
| 1697 |
#. type: Plain text |
| 1698 |
#: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 1699 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 1700 |
#, no-wrap |
| 1701 |
msgid "\\& print \"Also \" . $name[0][1] . \" was a member\\en\";\n" |
| 1702 |
msgstr "\\& print \"Also \" . $name[0][1] . \" was a member\\en\";\n" |
| 1703 |
|
| 1704 |
#. type: Plain text |
| 1705 |
#: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 1706 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 1707 |
msgid "and not as the intended:" |
| 1708 |
msgstr "وليس كما هو مقصود:" |
| 1709 |
|
| 1710 |
#. type: Plain text |
| 1711 |
#: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 1712 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 1713 |
#, no-wrap |
| 1714 |
msgid "\\& print \"Also \" . $name[0] . \"[1] was a member\\en\";\n" |
| 1715 |
msgstr "\\& print \"Also \" . $name[0] . \"[1] was a member\\en\";\n" |
| 1716 |
|
| 1717 |
#. type: Plain text |
| 1718 |
#: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 1719 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 1720 |
msgid "" |
| 1721 |
"A similar result may be derived by using a backslash on the first character " |
| 1722 |
"of the subscript or package notation that is not part of the variable you " |
| 1723 |
"want to access. Thus the above example could also be written:" |
| 1724 |
msgstr "" |
| 1725 |
"يمكن اشتقاق نتيجة مماثلة باستخدام شرطة مائلة عكسية على المحرف الأول من تدوين " |
| 1726 |
"المؤشر السفلي أو الحزمة الذي ليس جزءًا من المتغير الذي تريد الوصول إليه. " |
| 1727 |
"وبالتالي يمكن كتابة المثال أعلاه أيضًا:" |
| 1728 |
|
| 1729 |
#. type: Plain text |
| 1730 |
#: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 1731 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 1732 |
#, no-wrap |
| 1733 |
msgid "" |
| 1734 |
"\\& @name = qw(Larry Curly Moe);\n" |
| 1735 |
"\\& print \"Also $name[0]\\e[1] was a member\\en\";\n" |
| 1736 |
msgstr "" |
| 1737 |
"\\& @name = qw(Larry Curly Moe);\n" |
| 1738 |
"\\& print \"Also $name[0]\\e[1] was a member\\en\";\n" |
| 1739 |
|
| 1740 |
#. type: Plain text |
| 1741 |
#: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 1742 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 1743 |
msgid "" |
| 1744 |
"however for some special variables (multi character caret variables) the " |
| 1745 |
"demarcated form using curly braces is the B<only> way you can reference the " |
| 1746 |
"variable at all, and the only way you can access a subscript of the variable " |
| 1747 |
"via interpolation." |
| 1748 |
msgstr "" |
| 1749 |
"ومع ذلك، بالنسبة لبعض المتغيرات الخاصة (متغيرات علامة الإقحام متعددة " |
| 1750 |
"المحارف)، فإن الشكل المحدد باستخدام الأقواس المعقوفة هو الطريقة B<الوحيدة> " |
| 1751 |
"التي يمكنك بها الإشارة إلى المتغير على الإطلاق، والطريقة الوحيدة التي يمكنك " |
| 1752 |
"بها الوصول إلى مؤشر سفلي للمتغير عبر الاستيفاء." |
| 1753 |
|
| 1754 |
#. type: Plain text |
| 1755 |
#: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 1756 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 1757 |
msgid "" |
| 1758 |
"Consider the magic array CW<\\*(C`@{^CAPTURE}\\*(C'> which is populated by " |
| 1759 |
"the regex engine with the contents of all of the capture buffers in a " |
| 1760 |
"pattern (see perlvar and perlre). The B<only> way you can access one of " |
| 1761 |
"these members inside of a string is via the braced (demarcated) form:" |
| 1762 |
msgstr "" |
| 1763 |
"تأمل المصفوفة السحرية CW<\\*(C`@{^CAPTURE}\\*(C'> التي يملؤها محرك التعبيرات " |
| 1764 |
"النمطية بمحتويات جميع مخازن الالتقاط في نمط ما (انظر perlvar و perlre). " |
| 1765 |
"الطريقة B<الوحيدة> التي يمكنك بها الوصول إلى أحد هذه الأعضاء داخل سلسلة نصية " |
| 1766 |
"هي عبر الشكل المحاط بأقواس (المحدد):" |
| 1767 |
|
| 1768 |
#. type: Plain text |
| 1769 |
#: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 1770 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 1771 |
#, no-wrap |
| 1772 |
msgid "" |
| 1773 |
"\\& \"abc\"=~/(.)(.)(.)/\n" |
| 1774 |
"\\& and print \"Second buffer is ${^CAPTURE[1]}\";\n" |
| 1775 |
msgstr "" |
| 1776 |
"\\& \"abc\"=~/(.)(.)(.)/\n" |
| 1777 |
"\\& and print \"Second buffer is ${^CAPTURE[1]}\";\n" |
| 1778 |
|
| 1779 |
#. type: Plain text |
| 1780 |
#: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 1781 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 1782 |
msgid "is equivalent to" |
| 1783 |
msgstr "يكافئ" |
| 1784 |
|
| 1785 |
#. type: Plain text |
| 1786 |
#: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 1787 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 1788 |
#, no-wrap |
| 1789 |
msgid "" |
| 1790 |
"\\& \"abc\"=~/(.)(.)(.)/\n" |
| 1791 |
"\\& and print \"Second buffer is \" . ${^CAPTURE}[1];\n" |
| 1792 |
msgstr "" |
| 1793 |
"\\& \"abc\"=~/(.)(.)(.)/\n" |
| 1794 |
"\\& and print \"Second buffer is \" . ${^CAPTURE}[1];\n" |
| 1795 |
|
| 1796 |
#. type: Plain text |
| 1797 |
#: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 1798 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 1799 |
msgid "" |
| 1800 |
"Saying CW<\\*(C`@^CAPTURE\\*(C'> is a syntax error, so it B<must> be " |
| 1801 |
"referenced as \\&CW<\\*(C`@{^CAPTURE}\\*(C'>, and to access one of its " |
| 1802 |
"elements in normal code you would write CW<\\*(C` ${^CAPTURE}[1] \\*(C'>. " |
| 1803 |
"However when interpolating in a string \\&CW<\"${^CAPTURE}[1]\"> would be " |
| 1804 |
"equivalent to CW<\\*(C`${^CAPTURE} . \"[1]\"\\*(C'>, which does not even " |
| 1805 |
"refer to the same variable! Thus the subscripts must \\&B<also> be placed " |
| 1806 |
"B<inside> of the braces: CW<\"${^CAPTURE[1]}\">." |
| 1807 |
msgstr "" |
| 1808 |
"قول CW<\\*(C`@^CAPTURE\\*(C'> هو خطأ في بناء الجملة، لذا B<يجب> الإشارة إليه " |
| 1809 |
"كـ \\&CW<\\*(C`@{^CAPTURE}\\*(C'>، وللوصول إلى أحد عناصره في الكود العادي " |
| 1810 |
"ستكتب CW<\\*(C` ${^CAPTURE}[1] \\*(C'>. ومع ذلك عند الاستيفاء في سلسلة نصية " |
| 1811 |
"\\&CW<\"${^CAPTURE}[1]\"> سيكون مكافئًا لـ CW<\\*(C`${^CAPTURE} . " |
| 1812 |
"\"[1]\"\\*(C'>، والذي لا يشير حتى إلى نفس المتغير! وبالتالي يجب B<أيضًا> وضع " |
| 1813 |
"المؤشرات السفلية B<داخل> الأقواس: CW<\"${^CAPTURE[1]}\">." |
| 1814 |
|
| 1815 |
#. type: Plain text |
| 1816 |
#: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 1817 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 1818 |
msgid "" |
| 1819 |
"The demarcated form using curly braces can be used with all the different " |
| 1820 |
"types of variable access, including array and hash slices. For instance code " |
| 1821 |
"like the following:" |
| 1822 |
msgstr "" |
| 1823 |
"يمكن استخدام الشكل المحدد باستخدام الأقواس المعقوفة مع جميع الأنواع المختلفة " |
| 1824 |
"للوصول إلى المتغيرات، بما في ذلك شرائح المصفوفة والهاش. على سبيل المثال كود " |
| 1825 |
"مثل التالي:" |
| 1826 |
|
| 1827 |
#. type: Plain text |
| 1828 |
#: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 1829 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 1830 |
#, no-wrap |
| 1831 |
msgid "" |
| 1832 |
"\\& @name = qw(Larry Curly Moe);\n" |
| 1833 |
"\\& local $\" = \" and \";\n" |
| 1834 |
"\\& print \"My favorites were @{name[1,2]}.\\en\";\n" |
| 1835 |
msgstr "" |
| 1836 |
"\\& @name = qw(Larry Curly Moe);\n" |
| 1837 |
"\\& local $\" = \" and \";\n" |
| 1838 |
"\\& print \"My favorites were @{name[1,2]}.\\en\";\n" |
| 1839 |
|
| 1840 |
#. type: Plain text |
| 1841 |
#: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 1842 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 1843 |
msgid "would output" |
| 1844 |
msgstr "سيخرج" |
| 1845 |
|
| 1846 |
#. type: Plain text |
| 1847 |
#: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 1848 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 1849 |
#, no-wrap |
| 1850 |
msgid "\\& My favorites were Curly and Moe.\n" |
| 1851 |
msgstr "\\& My favorites were Curly and Moe.\n" |
| 1852 |
|
| 1853 |
#. type: Plain text |
| 1854 |
#: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 1855 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 1856 |
msgid "I<Special floating point: infinity (Inf) and not-a-number (NaN)>" |
| 1857 |
msgstr "I<فاصلة عائمة خاصة: اللانهاية (Inf) وليس رقمًا (NaN)>" |
| 1858 |
|
| 1859 |
#. type: IX |
| 1860 |
#: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 1861 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 1862 |
#, no-wrap |
| 1863 |
msgid "Special floating point: infinity (Inf) and not-a-number (NaN)" |
| 1864 |
msgstr "فاصلة عائمة خاصة: اللانهاية (Inf) وليس رقمًا (NaN)" |
| 1865 |
|
| 1866 |
#. type: Plain text |
| 1867 |
#: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 1868 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 1869 |
msgid "" |
| 1870 |
"Floating point values include the special values CW<\\*(C`Inf\\*(C'> and " |
| 1871 |
"CW<\\*(C`NaN\\*(C'>, for infinity and not-a-number. The infinity can be " |
| 1872 |
"also negative." |
| 1873 |
msgstr "" |
| 1874 |
"تتضمن قيم الفاصلة العائمة القيم الخاصة CW<\\*(C`Inf\\*(C'> و " |
| 1875 |
"CW<\\*(C`NaN\\*(C'>، للانهاية وليس رقمًا. يمكن أن تكون اللانهاية سالبة أيضًا." |
| 1876 |
|
| 1877 |
#. type: Plain text |
| 1878 |
#: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 1879 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 1880 |
msgid "" |
| 1881 |
"The infinity is the result of certain math operations that overflow the " |
| 1882 |
"floating point range, like 9**9**9. The not-a-number is the result when the " |
| 1883 |
"result is undefined or unrepresentable. Though note that you cannot get " |
| 1884 |
"CW<\\*(C`NaN\\*(C'> from some common \"undefined\" or \"out-of-range\" " |
| 1885 |
"operations like dividing by zero, or square root of a negative number, since " |
| 1886 |
"Perl generates fatal errors for those." |
| 1887 |
msgstr "" |
| 1888 |
"اللانهاية هي نتيجة لعمليات حسابية معينة تتجاوز نطاق الفاصلة العائمة، مثل " |
| 1889 |
"9**9**9. وقيمة \"ليس رقمًا\" هي النتيجة عندما تكون النتيجة غير محددة أو غير " |
| 1890 |
"قابلة للتمثيل. لاحظ أنه لا يمكنك الحصول على CW<\\*(C`NaN\\*(C'> من بعض " |
| 1891 |
"العمليات الشائعة \"غير المحددة\" أو \"خارج النطاق\" مثل القسمة على صفر، أو " |
| 1892 |
"الجذر التربيعي لعدد سالب، لأن بيرل تولد أخطاءً قاتلة لهذه الحالات." |
| 1893 |
|
| 1894 |
#. type: Plain text |
| 1895 |
#: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 1896 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 1897 |
msgid "" |
| 1898 |
"The infinity and not-a-number have their own special arithmetic rules. The " |
| 1899 |
"general rule is that they are \"contagious\": CW<\\*(C`Inf\\*(C'> plus one " |
| 1900 |
"is \\&CW<\\*(C`Inf\\*(C'>, and CW<\\*(C`NaN\\*(C'> plus one is " |
| 1901 |
"CW<\\*(C`NaN\\*(C'>. Where things get interesting is when you combine " |
| 1902 |
"infinities and not-a-numbers: CW<\\*(C`Inf\\*(C'> minus CW<\\*(C`Inf\\*(C'> " |
| 1903 |
"and CW<\\*(C`Inf\\*(C'> divided by CW<\\*(C`Inf\\*(C'> are " |
| 1904 |
"CW<\\*(C`NaN\\*(C'> (while CW<\\*(C`Inf\\*(C'> plus CW<\\*(C`Inf\\*(C'> is " |
| 1905 |
"\\&CW<\\*(C`Inf\\*(C'> and CW<\\*(C`Inf\\*(C'> times CW<\\*(C`Inf\\*(C'> is " |
| 1906 |
"CW<\\*(C`Inf\\*(C'>). CW<\\*(C`NaN\\*(C'> is also curious in that it does " |
| 1907 |
"not equal any number, I<including> itself: \\&CW<\\*(C`NaN\\*(C'> != " |
| 1908 |
"CW<\\*(C`NaN\\*(C'>." |
| 1909 |
msgstr "" |
| 1910 |
"للانهاية و \"ليس رقمًا\" قواعد حسابية خاصة بهما. القاعدة العامة هي أنهما " |
| 1911 |
"\"معديان\": CW<\\*(C`Inf\\*(C'> زائد واحد هو \\&CW<\\*(C`Inf\\*(C'>، و " |
| 1912 |
"CW<\\*(C`NaN\\*(C'> زائد واحد هو CW<\\*(C`NaN\\*(C'>. تزداد الأمور إثارة " |
| 1913 |
"عندما تجمع بين اللانهايات وقيم \"ليس رقمًا\": CW<\\*(C`Inf\\*(C'> ناقص " |
| 1914 |
"CW<\\*(C`Inf\\*(C'> و CW<\\*(C`Inf\\*(C'> مقسومًا على CW<\\*(C`Inf\\*(C'> هي " |
| 1915 |
"CW<\\*(C`NaN\\*(C'> (بينما CW<\\*(C`Inf\\*(C'> زائد CW<\\*(C`Inf\\*(C'> هو " |
| 1916 |
"\\&CW<\\*(C`Inf\\*(C'> و CW<\\*(C`Inf\\*(C'> ضرب CW<\\*(C`Inf\\*(C'> هو " |
| 1917 |
"CW<\\*(C`Inf\\*(C'>). وقيمة CW<\\*(C`NaN\\*(C'> غريبة أيضًا في أنها لا تساوي " |
| 1918 |
"أي رقم، I<بما في ذلك> نفسها: \\&CW<\\*(C`NaN\\*(C'> != CW<\\*(C`NaN\\*(C'>." |
| 1919 |
|
| 1920 |
#. type: Plain text |
| 1921 |
#: debian-trixie debian-unstable |
| 1922 |
msgid "" |
| 1923 |
"Perl doesn't understand CW<\\*(C`Inf\\*(C'> and CW<\\*(C`NaN\\*(C'> as " |
| 1924 |
"numeric literals, but you can have them as strings, and Perl will convert " |
| 1925 |
"them as needed: \"Inf\" + 1. (You can, however, import them from the POSIX " |
| 1926 |
"extension; \\&CW<\\*(C`use POSIX qw(Inf NaN);\\*(C'> and then use them as " |
| 1927 |
"literals.)" |
| 1928 |
msgstr "" |
| 1929 |
"لا تفهم بيرل قيم CW<\\*(C`Inf\\*(C'> و CW<\\*(C`NaN\\*(C'> كأرقام حرفية، " |
| 1930 |
"ولكن يمكنك الحصول عليها كسلاسل نصية، وستقوم بيرل بتحويلها حسب الحاجة: " |
| 1931 |
"\"Inf\" + 1. (ومع ذلك، يمكنك استيرادها من ملحق POSIX؛ \\&CW<\\*(C`use POSIX " |
| 1932 |
"qw(Inf NaN);\\*(C'> ثم استخدامها كأرقام حرفية.)" |
| 1933 |
|
| 1934 |
#. type: Plain text |
| 1935 |
#: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 1936 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 1937 |
msgid "" |
| 1938 |
"Note that on input (string to number) Perl accepts CW<\\*(C`Inf\\*(C'> and " |
| 1939 |
"CW<\\*(C`NaN\\*(C'> in many forms. Case is ignored, and the Win32-specific " |
| 1940 |
"forms like \\&CW<\\*(C`1.#INF\\*(C'> are understood, but on output the " |
| 1941 |
"values are normalized to \\&CW<\\*(C`Inf\\*(C'> and CW<\\*(C`NaN\\*(C'>." |
| 1942 |
msgstr "" |
| 1943 |
"لاحظ أنه عند الإدخال (من سلسلة نصية إلى رقم) تقبل بيرل CW<\\*(C`Inf\\*(C'> و " |
| 1944 |
"CW<\\*(C`NaN\\*(C'> بأشكال عديدة. يتم تجاهل حالة الأحرف، وتُفهم الأشكال " |
| 1945 |
"الخاصة بـ Win32 مثل \\&CW<\\*(C`1.#INF\\*(C'>، ولكن عند الإخراج يتم تطبيع " |
| 1946 |
"القيم إلى \\&CW<\\*(C`Inf\\*(C'> و CW<\\*(C`NaN\\*(C'>." |
| 1947 |
|
| 1948 |
#. type: Plain text |
| 1949 |
#: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 1950 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 1951 |
msgid "I<Version Strings>" |
| 1952 |
msgstr "I<سلاسل الإصدار>" |
| 1953 |
|
| 1954 |
#. type: IX |
| 1955 |
#: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 1956 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 1957 |
#, no-wrap |
| 1958 |
msgid "version string vstring v-string" |
| 1959 |
msgstr "سلسلة إصدار vstring v-string" |
| 1960 |
|
| 1961 |
#. type: IX |
| 1962 |
#: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 1963 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 1964 |
#, no-wrap |
| 1965 |
msgid "Version Strings" |
| 1966 |
msgstr "سلاسل الإصدار" |
| 1967 |
|
| 1968 |
#. type: Plain text |
| 1969 |
#: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 1970 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 1971 |
msgid "" |
| 1972 |
"A literal of the form CW<\\*(C`v1.20.300.4000\\*(C'> is parsed as a string " |
| 1973 |
"composed of characters with the specified ordinals. This form, known as v-" |
| 1974 |
"strings, provides an alternative, more readable way to construct strings, " |
| 1975 |
"rather than use the somewhat less readable interpolation form " |
| 1976 |
"\\&CW<\"\\ex{1}\\ex{14}\\ex{12c}\\ex{fa0}\">. This is useful for " |
| 1977 |
"representing Unicode strings, and for comparing version \"numbers\" using " |
| 1978 |
"the string comparison operators, CW<\\*(C`cmp\\*(C'>, CW<\\*(C`gt\\*(C'>, " |
| 1979 |
"CW<\\*(C`lt\\*(C'> etc. If there are two or more dots in the literal, the " |
| 1980 |
"leading CW<\\*(C`v\\*(C'> may be omitted." |
| 1981 |
msgstr "" |
| 1982 |
"يُحلل الحرفي الذي يأتي على الشكل CW<\\*(C`v1.20.300.4000\\*(C'> كسلسلة نصية " |
| 1983 |
"مكونة من محارف ذات أرقام ترتيبية محددة. يوفر هذا الشكل، المعروف باسم v-" |
| 1984 |
"strings، طريقة بديلة وأكثر قابلية للقراءة لإنشاء السلاسل، بدلاً من استخدام " |
| 1985 |
"شكل الاستيفاء الأقل قابلية للقراءة " |
| 1986 |
"\\&CW<\"\\ex{1}\\ex{14}\\ex{12c}\\ex{fa0}\">. هذا مفيد لتمثيل سلاسل يونيكود، " |
| 1987 |
"ومقارنة \"أرقام\" الإصدارات باستخدام معاملات مقارنة السلاسل، " |
| 1988 |
"CW<\\*(C`cmp\\*(C'>، و CW<\\*(C`gt\\*(C'>، و CW<\\*(C`lt\\*(C'> وما إلى ذلك. " |
| 1989 |
"إذا كان هناك نقطتان أو أكثر في الحرفي، فيمكن حذف حرف CW<\\*(C`v\\*(C'> " |
| 1990 |
"البادئ." |
| 1991 |
|
| 1992 |
#. type: Plain text |
| 1993 |
#: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 1994 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 1995 |
#, no-wrap |
| 1996 |
msgid "" |
| 1997 |
"\\& print v9786; # prints SMILEY, \"\\ex{263a}\"\n" |
| 1998 |
"\\& print v102.111.111; # prints \"foo\"\n" |
| 1999 |
"\\& print 102.111.111; # same\n" |
| 2000 |
msgstr "" |
| 2001 |
"\\& print v9786; # يطبع SMILEY، \"\\ex{263a}\"\n" |
| 2002 |
"\\& print v102.111.111; # يطبع \"foo\"\n" |
| 2003 |
"\\& print 102.111.111; # نفس الشيء\n" |
| 2004 |
|
| 2005 |
#. type: Plain text |
| 2006 |
#: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 2007 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 2008 |
msgid "" |
| 2009 |
"Such literals are accepted by both CW<\\*(C`require\\*(C'> and " |
| 2010 |
"CW<\\*(C`use\\*(C'> for doing a version check. Note that using the v-" |
| 2011 |
"strings for IPv4 addresses is not portable unless you also use the " |
| 2012 |
"\\&B<inet_aton()>/B<inet_ntoa()> routines of the Socket package." |
| 2013 |
msgstr "" |
| 2014 |
"تُقبل هذه الأحرف الحرفية من قِبل كل من CW<\\*(C`require\\*(C'> و " |
| 2015 |
"CW<\\*(C`use\\*(C'> لإجراء فحص الإصدار. لاحظ أن استخدام v-strings لعناوين " |
| 2016 |
"IPv4 ليس قابلاً للنقل ما لم تستخدم أيضًا روتينات \\&B<inet_aton()>/" |
| 2017 |
"B<inet_ntoa()> الخاصة بحزمة Socket." |
| 2018 |
|
| 2019 |
#. type: Plain text |
| 2020 |
#: debian-trixie debian-unstable |
| 2021 |
msgid "" |
| 2022 |
"Note that since Perl 5.8.1 the single-number v-strings (like " |
| 2023 |
"CW<\\*(C`v65\\*(C'>) are not v-strings before the CW<\\*(C`=E<gt>\\*(C'> " |
| 2024 |
"operator (which is usually used to separate a hash key from a hash value); " |
| 2025 |
"instead they are interpreted as literal strings ('v65'). They were v-" |
| 2026 |
"strings from Perl 5.6.0 to Perl 5.8.0, but that caused more confusion and " |
| 2027 |
"breakage than good. Multi-number v-strings like CW<\\*(C`v65.66\\*(C'> and " |
| 2028 |
"CW<65.66.67> continue to be v-strings always." |
| 2029 |
msgstr "" |
| 2030 |
"لاحظ أنه منذ الإصدار بيرل 5.8.1، لا تُعد v-strings ذات الرقم الواحد (مثل " |
| 2031 |
"CW<\\*(C`v65\\*(C'>) سلاسل v-strings قبل معامل CW<\\*(C`=E<gt>\\*(C'> (الذي " |
| 2032 |
"يُستخدم عادةً لفصل مفتاح الهاش عن قيمته)؛ وبدلاً من ذلك تُفسر كسلاسل حرفية " |
| 2033 |
"('v65'). كانت تُعتبر v-strings من الإصدار بيرل 5.6.0 إلى 5.8.0، ولكن ذلك تسبب " |
| 2034 |
"في ارتباك وأعطال أكثر من النفع. أما v-strings متعددة الأرقام مثل " |
| 2035 |
"CW<\\*(C`v65.66\\*(C'> و CW<65.66.67> فتستمر في كونها v-strings دائمًا." |
| 2036 |
|
| 2037 |
#. type: Plain text |
| 2038 |
#: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 2039 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 2040 |
msgid "I<Special Literals>" |
| 2041 |
msgstr "I<أحرف حرفية خاصة>" |
| 2042 |
|
| 2043 |
#. type: IX |
| 2044 |
#: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 2045 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 2046 |
#, no-wrap |
| 2047 |
msgid "special literal __END__ __DATA__ END DATA end data ^D ^Z" |
| 2048 |
msgstr "حرفي خاص __END__ __DATA__ END DATA end data ^D ^Z" |
| 2049 |
|
| 2050 |
#. type: IX |
| 2051 |
#: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 2052 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 2053 |
#, no-wrap |
| 2054 |
msgid "Special Literals" |
| 2055 |
msgstr "أحرف حرفية خاصة" |
| 2056 |
|
| 2057 |
#. type: Plain text |
| 2058 |
#: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 2059 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 2060 |
msgid "" |
| 2061 |
"The special literals _\\|_FILE_\\|_, _\\|_LINE_\\|_, and _\\|_PACKAGE_\\|_ " |
| 2062 |
"represent the current filename, line number, and package name at that point " |
| 2063 |
"in your program. _\\|_SUB_\\|_ gives a reference to the current " |
| 2064 |
"subroutine. They may be used only as separate tokens; they will not be " |
| 2065 |
"interpolated into strings. If there is no current package (due to an empty " |
| 2066 |
"CW<\\*(C`package;\\*(C'> directive), _\\|_PACKAGE_\\|_ is the undefined " |
| 2067 |
"value. (But the empty CW<\\*(C`package;\\*(C'> is no longer supported, as " |
| 2068 |
"of version 5.10.) Outside of a subroutine, _\\|_SUB_\\|_ is the undefined " |
| 2069 |
"value. _\\|_SUB_\\|_ is only available in 5.16 or higher, and only with a " |
| 2070 |
"CW<\\*(C`use v5.16\\*(C'> or \\&CW<\\*(C`use feature \"current_sub\"\\*(C'> " |
| 2071 |
"declaration." |
| 2072 |
msgstr "" |
| 2073 |
"تمثل الأحرف الحرفية الخاصة _\\|_FILE_\\|_ و _\\|_LINE_\\|_ و _\\|_PACKAGE_\\|" |
| 2074 |
"_ اسم الملف الحالي، ورقم السطر، واسم الحزمة في تلك النقطة من برنامجك. ويعطي " |
| 2075 |
"_\\|_SUB_\\|_ مرجعًا للروتين الفرعي الحالي. لا يجوز استخدامها إلا كرموز " |
| 2076 |
"(tokens) منفصلة؛ ولن تُستوفى داخل السلاسل النصية. إذا لم تكن هناك حزمة حالية " |
| 2077 |
"(بسبب توجيه CW<\\*(C`package;\\*(C'> فارغ)، فإن _\\|_PACKAGE_\\|_ سيكون " |
| 2078 |
"القيمة غير المحددة. (لكن CW<\\*(C`package;\\*(C'> الفارغ لم يعد مدعومًا " |
| 2079 |
"اعتبارًا من الإصدار 5.10.) خارج الروتين الفرعي، يكون _\\|_SUB_\\|_ هو القيمة " |
| 2080 |
"غير المحددة. لا يتوفر _\\|_SUB_\\|_ إلا في الإصدار 5.16 أو أعلى، وفقط مع " |
| 2081 |
"إعلان CW<\\*(C`use v5.16\\*(C'> أو \\&CW<\\*(C`use feature " |
| 2082 |
"\"current_sub\"\\*(C'>." |
| 2083 |
|
| 2084 |
#. type: IX |
| 2085 |
#: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 2086 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 2087 |
#, no-wrap |
| 2088 |
msgid "__FILE__ __LINE__ __PACKAGE__ __SUB__ line file package" |
| 2089 |
msgstr "__FILE__ __LINE__ __PACKAGE__ __SUB__ سطر ملف حزمة" |
| 2090 |
|
| 2091 |
#. type: Plain text |
| 2092 |
#: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 2093 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 2094 |
msgid "" |
| 2095 |
"The two control characters ^D and ^Z, and the tokens _\\|_END_\\|_ and _\\|" |
| 2096 |
"_DATA_\\|_ may be used to indicate the logical end of the script before the " |
| 2097 |
"actual end of file. Any following text is ignored by the interpreter unless " |
| 2098 |
"read by the program as described below." |
| 2099 |
msgstr "" |
| 2100 |
"يمكن استخدام محرفي التحكم ^D و ^Z، والرمزين _\\|_END_\\|_ و _\\|_DATA_\\|_ " |
| 2101 |
"للإشارة إلى النهاية المنطقية للسكربت قبل نهاية الملف الفعلية. يتم تجاهل أي " |
| 2102 |
"نص تالٍ من قِبل المفسر ما لم يقرأه البرنامج كما هو موضح أدناه." |
| 2103 |
|
| 2104 |
#. type: Plain text |
| 2105 |
#: debian-trixie debian-unstable |
| 2106 |
msgid "" |
| 2107 |
"Text after _\\|_DATA_\\|_ may be read via the filehandle CW<\\*(C`PACKNAME::" |
| 2108 |
"DATA\\*(C'>, where CW<\\*(C`PACKNAME\\*(C'> is the package that was current " |
| 2109 |
"when the _\\|_DATA_\\|_ token was encountered. The filehandle is left open " |
| 2110 |
"pointing to the line after _\\|_DATA_\\|_. The program should " |
| 2111 |
"CW<\\*(C`close DATA\\*(C'> when it is done reading from it. (Leaving it " |
| 2112 |
"open leaks filehandles if the module is reloaded for any reason, so it's a " |
| 2113 |
"safer practice to close it.) For compatibility with older scripts written " |
| 2114 |
"before _\\|_DATA_\\|_ was introduced, _\\|_END_\\|_ behaves like _\\|" |
| 2115 |
"_DATA_\\|_ in the top level script (but not in files loaded with " |
| 2116 |
"CW<\\*(C`require\\*(C'> or CW<\\*(C`do\\*(C'>) and leaves the remaining " |
| 2117 |
"contents of the file accessible via CW<\\*(C`main::DATA\\*(C'>." |
| 2118 |
msgstr "" |
| 2119 |
"يمكن قراءة النص بعد _\\|_DATA_\\|_ عبر مقبض الملف CW<\\*(C`PACKNAME::" |
| 2120 |
"DATA\\*(C'>، حيث CW<\\*(C`PACKNAME\\*(C'> هي الحزمة التي كانت نشطة عند " |
| 2121 |
"العثور على الرمز _\\|_DATA_\\|_. يُترك مقبض الملف مفتوحًا ليشير إلى السطر" |
| 2122 |
" الذي " |
| 2123 |
"يلي _\\|_DATA_\\|_. يجب على البرنامج CW<\\*(C`close DATA\\*(C'> عند الانتهاء " |
| 2124 |
"من القراءة منه. (تركه مفتوحًا يسرب مقابض الملفات إذا أُعيد تحميل الوحدة لأي " |
| 2125 |
"سبب، لذا فمن الممارسات الأكثر أمانًا إغلاقه.) للتوافق مع السكربتات القديمة " |
| 2126 |
"المكتوبة قبل إدخال _\\|_DATA_\\|_، يتصرف _\\|_END_\\|_ مثل _\\|_DATA_\\|_ في " |
| 2127 |
"السكربت ذي المستوى الأعلى (ولكن ليس في الملفات المحملة عبر " |
| 2128 |
"CW<\\*(C`require\\*(C'> أو CW<\\*(C`do\\*(C'>) ويترك بقية محتويات الملف " |
| 2129 |
"قابلة للوصول عبر CW<\\*(C`main::DATA\\*(C'>." |
| 2130 |
|
| 2131 |
#. type: Plain text |
| 2132 |
#: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 2133 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 2134 |
#, no-wrap |
| 2135 |
msgid "" |
| 2136 |
"\\& while (my $line = E<lt>DATAE<gt>) { print $line; }\n" |
| 2137 |
"\\& close DATA;\n" |
| 2138 |
"\\& _\\|_DATA_\\|_\n" |
| 2139 |
"\\& Hello world.\n" |
| 2140 |
msgstr "" |
| 2141 |
"\\& while (my $line = E<lt>DATAE<gt>) { print $line; }\n" |
| 2142 |
"\\& close DATA;\n" |
| 2143 |
"\\& _\\|_DATA_\\|_\n" |
| 2144 |
"\\& Hello world.\n" |
| 2145 |
|
| 2146 |
#. type: Plain text |
| 2147 |
#: debian-trixie debian-unstable |
| 2148 |
msgid "" |
| 2149 |
"The CW<\\*(C`DATA\\*(C'> file handle by default has whatever PerlIO layers " |
| 2150 |
"were in place when Perl read the file to parse the source. Normally that " |
| 2151 |
"means that the file is being read bytewise, as if it were encoded in " |
| 2152 |
"Latin-1, but there are two major ways for it to be otherwise. Firstly, if " |
| 2153 |
"the CW<\\*(C`_\\|_END_\\|_\\*(C'>/CW<\\*(C`_\\|_DATA_\\|_\\*(C'> token is in " |
| 2154 |
"the scope of a CW<\\*(C`use utf8\\*(C'> pragma then the CW<\\*(C`DATA\\*(C'> " |
| 2155 |
"handle will be in UTF-8 mode. And secondly, if the source is being read " |
| 2156 |
"from perl's standard input then the CW<\\*(C`DATA\\*(C'> file handle is " |
| 2157 |
"actually aliased to the CW<\\*(C`STDIN\\*(C'> file handle, and may be in " |
| 2158 |
"UTF-8 mode because of the CW<\\*(C`PERL_UNICODE\\*(C'> environment variable " |
| 2159 |
"or perl's command-line switches." |
| 2160 |
msgstr "" |
| 2161 |
"يمتلك مقبض الملف CW<\\*(C`DATA\\*(C'> مبدئيًا أي طبقات PerlIO كانت موجودة " |
| 2162 |
"عندما قرأت بيرل الملف لتحليل المصدر. يعني هذا عادةً أن الملف يُقرأ بالبايت، " |
| 2163 |
"كما لو كان مرموزًا بـ Latin-1، ولكن هناك طريقتان رئيستان ليكون الأمر خلاف " |
| 2164 |
"ذلك. أولاً، إذا كان الرمز CW<\\*(C`_\\|_END_\\|_\\*(C'>/CW<\\*(C`_\\|_DATA_\\|" |
| 2165 |
"_\\*(C'> في نطاق براغما CW<\\*(C`use utf8\\*(C'> فإن مقبض " |
| 2166 |
"CW<\\*(C`DATA\\*(C'> سيكون في وضع UTF-8. وثانيًا، إذا كان المصدر يُقرأ من دخل " |
| 2167 |
"بيرل القياسي، فإن مقبض الملف CW<\\*(C`DATA\\*(C'> يُلقب فعليًا باسم مقبض" |
| 2168 |
" الملف " |
| 2169 |
"CW<\\*(C`STDIN\\*(C'>، وقد يكون في وضع UTF-8 بسبب متغير البيئة " |
| 2170 |
"CW<\\*(C`PERL_UNICODE\\*(C'> أو مفاتيح سطر الأوامر الخاصة بـ بيرل." |
| 2171 |
|
| 2172 |
#. type: Plain text |
| 2173 |
#: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 2174 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 2175 |
msgid "" |
| 2176 |
"See SelfLoader for more description of _\\|_DATA_\\|_, and an example of its " |
| 2177 |
"use. Note that you cannot read from the DATA filehandle in a BEGIN block: " |
| 2178 |
"the BEGIN block is executed as soon as it is seen (during compilation), at " |
| 2179 |
"which point the corresponding _\\|_DATA_\\|_ (or _\\|_END_\\|_) token has " |
| 2180 |
"not yet been seen." |
| 2181 |
msgstr "" |
| 2182 |
"انظر SelfLoader لمزيد من الوصف لـ _\\|_DATA_\\|_، ومثال على استخدامه. لاحظ " |
| 2183 |
"أنه لا يمكنك القراءة من مقبض ملف DATA في كتلة BEGIN: تُنفذ كتلة BEGIN بمجرد " |
| 2184 |
"رؤيتها (أثناء الترجمة)، وفي تلك النقطة يكون الرمز المقابل _\\|_DATA_\\|_ (أو " |
| 2185 |
"_\\|_END_\\|_) لم يُرَ بعد." |
| 2186 |
|
| 2187 |
#. type: Plain text |
| 2188 |
#: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 2189 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 2190 |
msgid "I<Barewords>" |
| 2191 |
msgstr "I<Barewords (الكلمات المجردة)>" |
| 2192 |
|
| 2193 |
#. type: IX |
| 2194 |
#: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 2195 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 2196 |
#, no-wrap |
| 2197 |
msgid "bareword" |
| 2198 |
msgstr "bareword" |
| 2199 |
|
| 2200 |
#. type: IX |
| 2201 |
#: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 2202 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 2203 |
#, no-wrap |
| 2204 |
msgid "Barewords" |
| 2205 |
msgstr "Barewords" |
| 2206 |
|
| 2207 |
#. type: Plain text |
| 2208 |
#: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 2209 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 2210 |
msgid "" |
| 2211 |
"A word that has no other interpretation in the grammar will be treated as if " |
| 2212 |
"it were a quoted string. These are known as \"barewords\". As with " |
| 2213 |
"filehandles and labels, a bareword that consists entirely of lowercase " |
| 2214 |
"letters risks conflict with future reserved words, and if you use the " |
| 2215 |
"CW<\\*(C`use warnings\\*(C'> pragma or the B<-w> switch, Perl will warn you " |
| 2216 |
"about any such words. Perl limits barewords (like identifiers) to about 250 " |
| 2217 |
"characters. Future versions of Perl are likely to eliminate these arbitrary " |
| 2218 |
"limitations." |
| 2219 |
msgstr "" |
| 2220 |
"تُعامل الكلمة التي ليس لها تفسير آخر في قواعد اللغة كما لو كانت سلسلة نصية " |
| 2221 |
"مقتبسة. تُعرف هذه باسم \"barewords\". كما هو الحال مع مقابض الملفات واللصائق، " |
| 2222 |
"فإن الكلمة المجردة التي تتكون بالكامل من أحرف صغيرة تخاطر بالتعارض مع كلمات " |
| 2223 |
"محجوزة مستقبلاً، وإذا كنت تستخدم براغما CW<\\*(C`use warnings\\*(C'> أو مفتاح " |
| 2224 |
"B<-w>، فستحذرك بيرل من أي كلمات من هذا القبيل. تحد بيرل الكلمات المجردة (مثل " |
| 2225 |
"المعرفات) بحوالي 250 محرفًا. ومن المرجح أن تلغي الإصدارات المستقبلية من بيرل " |
| 2226 |
"هذه القيود التعسفية." |
| 2227 |
|
| 2228 |
#. type: Plain text |
| 2229 |
#: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 2230 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 2231 |
msgid "Some people may wish to outlaw barewords entirely. If you say" |
| 2232 |
msgstr "قد يرغب البعض في منع الكلمات المجردة تمامًا. إذا قلت" |
| 2233 |
|
| 2234 |
#. type: Plain text |
| 2235 |
#: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 2236 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 2237 |
#, no-wrap |
| 2238 |
msgid "\\& use strict \\*(Aqsubs\\*(Aq;\n" |
| 2239 |
msgstr "\\& use strict \\*(Aqsubs\\*(Aq;\n" |
| 2240 |
|
| 2241 |
#. type: Plain text |
| 2242 |
#: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 2243 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 2244 |
msgid "" |
| 2245 |
"then any bareword that would NOT be interpreted as a subroutine call " |
| 2246 |
"produces a compile-time error instead. The restriction lasts to the end of " |
| 2247 |
"the enclosing block. An inner block may countermand this by saying " |
| 2248 |
"CW<\\*(C`no strict \\*(Aqsubs\\*(Aq\\*(C'>." |
| 2249 |
msgstr "" |
| 2250 |
"فإن أي كلمة مجردة لن تُفسر كاستدعاء روتين فرعي ستنتج خطأ في وقت الترجمة بدلاً " |
| 2251 |
"من ذلك. يستمر هذا القيد حتى نهاية الكتلة المحيطة. ويمكن لكتلة داخلية إلغاء " |
| 2252 |
"هذا بقول CW<\\*(C`no strict \\*(Aqsubs\\*(Aq\\*(C'>." |
| 2253 |
|
| 2254 |
#. type: Plain text |
| 2255 |
#: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 2256 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 2257 |
msgid "I<Array Interpolation>" |
| 2258 |
msgstr "I<استيفاء المصفوفة>" |
| 2259 |
|
| 2260 |
#. type: IX |
| 2261 |
#: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 2262 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 2263 |
#, no-wrap |
| 2264 |
msgid "array, interpolation interpolation, array $\"" |
| 2265 |
msgstr "مصفوفة، استيفاء استيفاء، مصفوفة $\"" |
| 2266 |
|
| 2267 |
#. type: IX |
| 2268 |
#: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 2269 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 2270 |
#, no-wrap |
| 2271 |
msgid "Array Interpolation" |
| 2272 |
msgstr "استيفاء المصفوفة" |
| 2273 |
|
| 2274 |
#. type: Plain text |
| 2275 |
#: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 2276 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 2277 |
msgid "" |
| 2278 |
"Arrays and slices are interpolated into double-quoted strings by joining the " |
| 2279 |
"elements with the delimiter specified in the CW<$\"> variable " |
| 2280 |
"(CW<$LIST_SEPARATOR> if \"use English;\" is specified), space by default. " |
| 2281 |
"The following are equivalent:" |
| 2282 |
msgstr "" |
| 2283 |
"تُستوفى المصفوفات والشرائح داخل السلاسل النصية ذات الاقتباس المزدوج عبر ربط " |
| 2284 |
"العناصر بالفاصل المحدد في المتغير CW<$\"> (أو CW<$LIST_SEPARATOR> إذا حُدد " |
| 2285 |
"\"use English;\")، وهو المسافة مبدئيًا. ما يلي متكافئ:" |
| 2286 |
|
| 2287 |
#. type: Plain text |
| 2288 |
#: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 2289 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 2290 |
#, no-wrap |
| 2291 |
msgid "" |
| 2292 |
"\\& $temp = join($\", @ARGV);\n" |
| 2293 |
"\\& system \"echo $temp\";\n" |
| 2294 |
"\\&\n" |
| 2295 |
"\\& system \"echo @ARGV\";\n" |
| 2296 |
msgstr "" |
| 2297 |
"\\& $temp = join($\", @ARGV);\n" |
| 2298 |
"\\& system \"echo $temp\";\n" |
| 2299 |
"\\&\n" |
| 2300 |
"\\& system \"echo @ARGV\";\n" |
| 2301 |
|
| 2302 |
#. type: Plain text |
| 2303 |
#: debian-trixie debian-unstable |
| 2304 |
msgid "" |
| 2305 |
"Within search patterns (which also undergo double-quotish substitution) " |
| 2306 |
"there is an unfortunate ambiguity: Is CW<\\*(C`/$foo[bar]/\\*(C'> to be " |
| 2307 |
"interpreted as \\&CW<\\*(C`/${foo}[bar]/\\*(C'> (where CW<\\*(C`[bar]\\*(C'> " |
| 2308 |
"is a character class for the regular expression) or as CW<\\*(C`/${foo[bar]}/" |
| 2309 |
"\\*(C'> (where CW<\\*(C`[bar]\\*(C'> is the subscript to array \\&CW<@foo>)? " |
| 2310 |
"If CW<@foo> doesn't otherwise exist, then it's obviously a character class. " |
| 2311 |
"If CW<@foo> exists, Perl takes a good guess about CW<\\*(C`[bar]\\*(C'>, and " |
| 2312 |
"is almost always right. If it does guess wrong, or if you're just plain " |
| 2313 |
"paranoid, you can force the correct interpretation with curly braces as " |
| 2314 |
"above." |
| 2315 |
msgstr "" |
| 2316 |
"داخل أنماط البحث (التي تخضع أيضًا لتبديل الاقتباس المزدوج) هناك لبس مؤسف: هل " |
| 2317 |
"يُفسر CW<\\*(C`/$foo[bar]/\\*(C'> على أنه \\&CW<\\*(C`/${foo}[bar]/\\*(C'> " |
| 2318 |
"(حيث CW<\\*(C`[bar]\\*(C'> هي فئة محارف للتعبير النمطي) أم على أنه CW<\\*(C`/" |
| 2319 |
"${foo[bar]}/\\*(C'> (حيث CW<\\*(C`[bar]\\*(C'> هو المؤشر السفلي للمصفوفة " |
| 2320 |
"\\&CW<@foo>)؟ إذا كانت CW<@foo> غير موجودة أصلاً، فمن الواضح أنها فئة محارف. " |
| 2321 |
"وإذا كانت CW<@foo> موجودة، فإن بيرل تخمن بشأن CW<\\*(C`[bar]\\*(C'>، وغالبًا " |
| 2322 |
"ما تكون محقة. وإذا خمنت بشكل خاطئ، أو إذا كنت تشعر بالقلق، يمكنك فرض التفسير " |
| 2323 |
"الصحيح باستخدام الأقواس المعقوفة كما سبق." |
| 2324 |
|
| 2325 |
#. type: Plain text |
| 2326 |
#: debian-trixie debian-unstable |
| 2327 |
msgid "" |
| 2328 |
"If you're looking for the information on how to use here-documents, which " |
| 2329 |
"used to be here, that's been moved to \"Quote and Quote-like Operators\" in " |
| 2330 |
"perlop." |
| 2331 |
msgstr "" |
| 2332 |
"إذا كنت تبحث عن معلومات حول كيفية استخدام مستندات-هنا (here-documents)، " |
| 2333 |
"والتي كانت موجودة هنا سابقًا، فقد نُقلت إلى \"Quote and Quote-like" |
| 2334 |
" Operators\" " |
| 2335 |
"في perlop." |
| 2336 |
|
| 2337 |
#. type: IX |
| 2338 |
#: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 2339 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 2340 |
#, no-wrap |
| 2341 |
msgid "List value constructors" |
| 2342 |
msgstr "منشئات قيمة القائمة" |
| 2343 |
|
| 2344 |
#. type: IX |
| 2345 |
#: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 2346 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 2347 |
#, no-wrap |
| 2348 |
msgid "list" |
| 2349 |
msgstr "قائمة" |
| 2350 |
|
| 2351 |
#. type: Plain text |
| 2352 |
#: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 2353 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 2354 |
msgid "" |
| 2355 |
"List values are denoted by separating individual values by commas (and " |
| 2356 |
"enclosing the list in parentheses where precedence requires it):" |
| 2357 |
msgstr "" |
| 2358 |
"يُشار إلى قيم القائمة بفصل القيم الفردية بفاصلات (وإحاطة القائمة بأقواس حيث " |
| 2359 |
"تتطلب الأسبقية ذلك):" |
| 2360 |
|
| 2361 |
#. type: Plain text |
| 2362 |
#: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 2363 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 2364 |
#, no-wrap |
| 2365 |
msgid "\\& (LIST)\n" |
| 2366 |
msgstr "\\& (قائمة)\n" |
| 2367 |
|
| 2368 |
#. type: Plain text |
| 2369 |
#: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 2370 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 2371 |
msgid "" |
| 2372 |
"In a context not requiring a list value, the value of what appears to be a " |
| 2373 |
"list literal is simply the value of the final element, as with the C comma " |
| 2374 |
"operator. For example," |
| 2375 |
msgstr "" |
| 2376 |
"في سياق لا يتطلب قيمة قائمة، تكون قيمة ما يبدو أنه حرفي قائمة هي ببساطة قيمة " |
| 2377 |
"العنصر الأخير، كما هو الحال مع معامل الفاصلة في C. على سبيل المثال،" |
| 2378 |
|
| 2379 |
#. type: Plain text |
| 2380 |
#: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 2381 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 2382 |
#, no-wrap |
| 2383 |
msgid "\\& @foo = (\\*(Aqcc\\*(Aq, \\*(Aq-E\\*(Aq, $bar);\n" |
| 2384 |
msgstr "\\& @foo = (\\*(Aqcc\\*(Aq, \\*(Aq-E\\*(Aq, $bar);\n" |
| 2385 |
|
| 2386 |
#. type: Plain text |
| 2387 |
#: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 2388 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 2389 |
msgid "assigns the entire list value to array CW<@foo>, but" |
| 2390 |
msgstr "يعين قيمة القائمة بأكملها للمصفوفة CW<@foo>، ولكن" |
| 2391 |
|
| 2392 |
#. type: Plain text |
| 2393 |
#: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 2394 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 2395 |
#, no-wrap |
| 2396 |
msgid "\\& $foo = (\\*(Aqcc\\*(Aq, \\*(Aq-E\\*(Aq, $bar);\n" |
| 2397 |
msgstr "\\& $foo = (\\*(Aqcc\\*(Aq, \\*(Aq-E\\*(Aq, $bar);\n" |
| 2398 |
|
| 2399 |
#. type: Plain text |
| 2400 |
#: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 2401 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 2402 |
msgid "" |
| 2403 |
"assigns the value of variable CW<$bar> to the scalar variable CW<$foo>. " |
| 2404 |
"Note that the value of an actual array in scalar context is the length of " |
| 2405 |
"the array; the following assigns the value 3 to CW<$foo:>" |
| 2406 |
msgstr "" |
| 2407 |
"يعين قيمة المتغير CW<$bar> للمتغير العددي CW<$foo>. لاحظ أن قيمة المصفوفة " |
| 2408 |
"الفعلية في السياق العددي هي طول المصفوفة؛ التالي يعين القيمة 3 لـ CW<$foo:>" |
| 2409 |
|
| 2410 |
#. type: Plain text |
| 2411 |
#: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 2412 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 2413 |
#, no-wrap |
| 2414 |
msgid "" |
| 2415 |
"\\& @foo = (\\*(Aqcc\\*(Aq, \\*(Aq-E\\*(Aq, $bar);\n" |
| 2416 |
"\\& $foo = @foo; # $foo gets 3\n" |
| 2417 |
msgstr "" |
| 2418 |
"\\& @foo = (\\*(Aqcc\\*(Aq, \\*(Aq-E\\*(Aq, $bar);\n" |
| 2419 |
"\\& $foo = @foo; # $foo يحصل على 3\n" |
| 2420 |
|
| 2421 |
#. type: Plain text |
| 2422 |
#: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 2423 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 2424 |
msgid "" |
| 2425 |
"You may have an optional comma before the closing parenthesis of a list " |
| 2426 |
"literal, so that you can say:" |
| 2427 |
msgstr "" |
| 2428 |
"يمكنك وضع فاصلة اختيارية قبل قوس الإغلاق لحرفي القائمة، بحيث يمكنك قول:" |
| 2429 |
|
| 2430 |
#. type: Plain text |
| 2431 |
#: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 2432 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 2433 |
#, no-wrap |
| 2434 |
msgid "" |
| 2435 |
"\\& @foo = (\n" |
| 2436 |
"\\& 1,\n" |
| 2437 |
"\\& 2,\n" |
| 2438 |
"\\& 3,\n" |
| 2439 |
"\\& );\n" |
| 2440 |
msgstr "" |
| 2441 |
"\\& @foo = (\n" |
| 2442 |
"\\& 1,\n" |
| 2443 |
"\\& 2,\n" |
| 2444 |
"\\& 3,\n" |
| 2445 |
"\\& );\n" |
| 2446 |
|
| 2447 |
#. type: Plain text |
| 2448 |
#: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 2449 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 2450 |
msgid "" |
| 2451 |
"To use a here-document to assign an array, one line per element, you might " |
| 2452 |
"use an approach like this:" |
| 2453 |
msgstr "" |
| 2454 |
"لاستخدام مستند-هنا لتعيين مصفوفة، سطر واحد لكل عنصر، قد تستخدم نهجًا مثل هذا:" |
| 2455 |
|
| 2456 |
#. type: Plain text |
| 2457 |
#: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 2458 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 2459 |
#, no-wrap |
| 2460 |
msgid "" |
| 2461 |
"\\& @sauces = E<lt>E<lt>End_Lines =~ m/(\\eS.*\\eS)/g;\n" |
| 2462 |
"\\& normal tomato\n" |
| 2463 |
"\\& spicy tomato\n" |
| 2464 |
"\\& green chile\n" |
| 2465 |
"\\& pesto\n" |
| 2466 |
"\\& white wine\n" |
| 2467 |
"\\& End_Lines\n" |
| 2468 |
msgstr "" |
| 2469 |
"\\& @sauces = E<lt>E<lt>End_Lines =~ m/(\\eS.*\\eS)/g;\n" |
| 2470 |
"\\& normal tomato\n" |
| 2471 |
"\\& spicy tomato\n" |
| 2472 |
"\\& green chile\n" |
| 2473 |
"\\& pesto\n" |
| 2474 |
"\\& white wine\n" |
| 2475 |
"\\& End_Lines\n" |
| 2476 |
|
| 2477 |
#. type: Plain text |
| 2478 |
#: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 2479 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 2480 |
msgid "" |
| 2481 |
"LISTs do automatic interpolation of sublists. That is, when a LIST is " |
| 2482 |
"evaluated, each element of the list is evaluated in list context, and the " |
| 2483 |
"resulting list value is interpolated into LIST just as if each individual " |
| 2484 |
"element were a member of LIST. Thus arrays and hashes lose their identity " |
| 2485 |
"in a LIST--the list" |
| 2486 |
msgstr "" |
| 2487 |
"تجري القوائم (LISTs) استكمالاً آلياً للقوائم الفرعية. أي أنه عند تقييم قائمة " |
| 2488 |
"(LIST)، يُقيّم كل عنصر من عناصرها في سياق القائمة، وتُستكمل قيمة القائمة " |
| 2489 |
"الناتجة داخل القائمة (LIST) تماماً كما لو كان كل عنصر فردي عضواً في القائمة. " |
| 2490 |
"وبالتالي تفقد المصفوفات والمفرومات هويتها في القائمة (LIST)--حيث إن القائمة" |
| 2491 |
|
| 2492 |
#. type: Plain text |
| 2493 |
#: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 2494 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 2495 |
#, no-wrap |
| 2496 |
msgid "\\& (@foo,@bar,&SomeSub,%glarch)\n" |
| 2497 |
msgstr "\\& (@foo,@bar,&SomeSub,%glarch)\n" |
| 2498 |
|
| 2499 |
#. type: Plain text |
| 2500 |
#: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 2501 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 2502 |
msgid "" |
| 2503 |
"contains all the elements of CW<@foo> followed by all the elements of " |
| 2504 |
"CW<@bar>, followed by all the elements returned by the subroutine named " |
| 2505 |
"SomeSub called in list context, followed by the key/value pairs of " |
| 2506 |
"CW<%glarch>. To make a list reference that does I<NOT> interpolate, see " |
| 2507 |
"perlref." |
| 2508 |
msgstr "" |
| 2509 |
"تحتوي على كافة عناصر CW<@foo> تليها كافة عناصر CW<@bar>، تليها كافة العناصر " |
| 2510 |
"التي يعيدها الروتين الفرعي المسمى SomeSub والمستدعى في سياق القائمة، تليها " |
| 2511 |
"أزواج المفتاح/القيمة لـ CW<%glarch>. لإنشاء مرجع قائمة I<لا> يُستكمل، انظر " |
| 2512 |
"perlref." |
| 2513 |
|
| 2514 |
#. type: Plain text |
| 2515 |
#: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 2516 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 2517 |
msgid "" |
| 2518 |
"The null list is represented by (). Interpolating it in a list has no " |
| 2519 |
"effect. Thus ((),(),()) is equivalent to (). Similarly, interpolating an " |
| 2520 |
"array with no elements is the same as if no array had been interpolated at " |
| 2521 |
"that point." |
| 2522 |
msgstr "" |
| 2523 |
"تُمثّل القائمة الفارغة بالرمز (). ولا يكون لاستكمالها في قائمة أي أثر. " |
| 2524 |
"وبالتالي فإن ((),(),()) تكافئ (). وبالمثل، فإن استكمال مصفوفة بلا عناصر هو " |
| 2525 |
"تماماً كعدم استكمال أي مصفوفة في تلك النقطة." |
| 2526 |
|
| 2527 |
#. type: Plain text |
| 2528 |
#: debian-trixie debian-unstable |
| 2529 |
msgid "" |
| 2530 |
"This interpolation combines with the facts that the opening and closing " |
| 2531 |
"parentheses are optional (except when necessary for precedence) and lists " |
| 2532 |
"may end with an optional comma to mean that multiple commas within lists are " |
| 2533 |
"legal syntax. The list CW<\\*(C`1,,3\\*(C'> is a concatenation of two " |
| 2534 |
"lists, CW<\\*(C`1,\\*(C'> and CW<3>, the first of which ends with that " |
| 2535 |
"optional comma. CW<\\*(C`1,,3\\*(C'> is CW<\\*(C`(1,),(3)\\*(C'> is " |
| 2536 |
"CW<\\*(C`1,3\\*(C'> (And similarly for CW<\\*(C`1,,,3\\*(C'> is " |
| 2537 |
"CW<\\*(C`(1,),(,),3\\*(C'> is CW<\\*(C`1,3\\*(C'> and so on.) Not that we'd " |
| 2538 |
"advise you to use this obfuscation." |
| 2539 |
msgstr "" |
| 2540 |
"يتحد هذا الاستكمال مع حقيقة أن القوسين الافتتاحي والختامي اختياربان (إلا عند " |
| 2541 |
"الضرورة لتحديد الأسبقية) وأن القوائم قد تنتهي بفاصلة اختيارية، مما يعني أن " |
| 2542 |
"الفواصل المتعددة داخل القوائم تعد صياغة قانونية. القائمة " |
| 2543 |
"CW<\\*(C`1,,3\\*(C'> هي دمج لقائمتين، CW<\\*(C`1,\\*(C'> و CW<3>، الأولى " |
| 2544 |
"منهما تنتهي بتلك الفاصلة الاختيارية. CW<\\*(C`1,,3\\*(C'> هي CW<\\*(C`(1,)," |
| 2545 |
"(3)\\*(C'> وهي CW<\\*(C`1,3\\*(C'> (وبالمثل لـ CW<\\*(C`1,,,3\\*(C'> التي هي " |
| 2546 |
"CW<\\*(C`(1,),(,),3\\*(C'> وهي CW<\\*(C`1,3\\*(C'> وهكذا دواليك.) لا يعني " |
| 2547 |
"هذا أننا ننصحك باستخدام هذا التعمية." |
| 2548 |
|
| 2549 |
#. type: Plain text |
| 2550 |
#: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 2551 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 2552 |
msgid "" |
| 2553 |
"A list value may also be subscripted like a normal array. You must put the " |
| 2554 |
"list in parentheses to avoid ambiguity. For example:" |
| 2555 |
msgstr "" |
| 2556 |
"يمكن أيضًا فهرسة قيمة القائمة مثل المصفوفة العادية. يجب وضع القائمة بين قوسين " |
| 2557 |
"لتجنب اللبس. على سبيل المثال:" |
| 2558 |
|
| 2559 |
#. type: Plain text |
| 2560 |
#: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 2561 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 2562 |
#, no-wrap |
| 2563 |
msgid "" |
| 2564 |
"\\& # Stat returns list value.\n" |
| 2565 |
"\\& $time = (stat($file))[8];\n" |
| 2566 |
"\\&\n" |
| 2567 |
"\\& # SYNTAX ERROR HERE.\n" |
| 2568 |
"\\& $time = stat($file)[8]; # OOPS, FORGOT PARENTHESES\n" |
| 2569 |
"\\&\n" |
| 2570 |
"\\& # Find a hex digit.\n" |
| 2571 |
"\\& $hexdigit = (\\*(Aqa\\*(Aq,\\*(Aqb\\*(Aq,\\*(Aqc\\*(Aq,\\*(Aqd\\*(Aq," |
| 2572 |
"\\*(Aqe\\*(Aq,\\*(Aqf\\*(Aq)[$digit-10];\n" |
| 2573 |
"\\&\n" |
| 2574 |
"\\& # A \"reverse comma operator\".\n" |
| 2575 |
"\\& return (pop(@foo),pop(@foo))[0];\n" |
| 2576 |
msgstr "" |
| 2577 |
"\\& # تعيد Stat قيمة قائمة.\n" |
| 2578 |
"\\& $time = (stat($file))[8];\n" |
| 2579 |
"\\&\n" |
| 2580 |
"\\& # خطأ في الصيغة هنا.\n" |
| 2581 |
"\\& $time = stat($file)[8]; # عذراً، نسيت الأقواس\n" |
| 2582 |
"\\&\n" |
| 2583 |
"\\& # البحث عن رقم ست عشري.\n" |
| 2584 |
"\\& $hexdigit = (\\*(Aqa\\*(Aq,\\*(Aqb\\*(Aq,\\*(Aqc\\*(Aq,\\*(Aqd\\*(Aq," |
| 2585 |
"\\*(Aqe\\*(Aq,\\*(Aqf\\*(Aq)[$digit-10];\n" |
| 2586 |
"\\&\n" |
| 2587 |
"\\& # \"عامل فاصلة عكسي\".\n" |
| 2588 |
"\\& return (pop(@foo),pop(@foo))[0];\n" |
| 2589 |
|
| 2590 |
#. type: Plain text |
| 2591 |
#: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 2592 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 2593 |
msgid "" |
| 2594 |
"Lists may be assigned to only when each element of the list is itself legal " |
| 2595 |
"to assign to:" |
| 2596 |
msgstr "" |
| 2597 |
"لا يمكن التعيين للقوائم إلا عندما يكون كل عنصر في القائمة قابلاً للتعيين إليه " |
| 2598 |
"قانونياً:" |
| 2599 |
|
| 2600 |
#. type: Plain text |
| 2601 |
#: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 2602 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 2603 |
#, no-wrap |
| 2604 |
msgid "" |
| 2605 |
"\\& ($x, $y, $z) = (1, 2, 3);\n" |
| 2606 |
"\\&\n" |
| 2607 |
"\\& ($map{\\*(Aqred\\*(Aq}, $map{\\*(Aqblue\\*(Aq}," |
| 2608 |
" $map{\\*(Aqgreen\\*(Aq}) = (0x00f, 0x0f0, 0xf00);\n" |
| 2609 |
msgstr "" |
| 2610 |
"\\& ($x, $y, $z) = (1, 2, 3);\n" |
| 2611 |
"\\&\n" |
| 2612 |
"\\& ($map{\\*(Aqred\\*(Aq}, $map{\\*(Aqblue\\*(Aq}," |
| 2613 |
" $map{\\*(Aqgreen\\*(Aq}) = (0x00f, 0x0f0, 0xf00);\n" |
| 2614 |
|
| 2615 |
#. type: Plain text |
| 2616 |
#: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 2617 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 2618 |
msgid "" |
| 2619 |
"An exception to this is that you may assign to CW<\\*(C`undef\\*(C'> in a " |
| 2620 |
"list. This is useful for throwing away some of the return values of a " |
| 2621 |
"function:" |
| 2622 |
msgstr "" |
| 2623 |
"الاستثناء الوحيد لهذا هو إمكانية التعيين لـ CW<\\*(C`undef\\*(C'> في قائمة. " |
| 2624 |
"وهذا مفيد للتخلص من بعض القيم التي يعيدها التابع:" |
| 2625 |
|
| 2626 |
#. type: Plain text |
| 2627 |
#: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 2628 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 2629 |
#, no-wrap |
| 2630 |
msgid "\\& ($dev, $ino, undef, undef, $uid, $gid) = stat($file);\n" |
| 2631 |
msgstr "\\& ($dev, $ino, undef, undef, $uid, $gid) = stat($file);\n" |
| 2632 |
|
| 2633 |
#. type: Plain text |
| 2634 |
#: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 2635 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 2636 |
msgid "" |
| 2637 |
"As of Perl 5.22, you can also use CW<\\*(C`(undef)x2\\*(C'> instead of " |
| 2638 |
"CW<\\*(C`undef, undef\\*(C'>. (You can also do CW<\\*(C`($x) x 2\\*(C'>, " |
| 2639 |
"which is less useful, because it assigns to the same variable twice, " |
| 2640 |
"clobbering the first value assigned.)" |
| 2641 |
msgstr "" |
| 2642 |
"بدءاً من بيرل 5.22، يمكنك أيضًا استخدام CW<\\*(C`(undef)x2\\*(C'> بدلاً من " |
| 2643 |
"CW<\\*(C`undef, undef\\*(C'>. (يمكنك أيضًا إجراء CW<\\*(C`($x) x 2\\*(C'>، " |
| 2644 |
"وهو أقل فائدة لأنه يعين لنفس المتغير مرتين، مما يؤدي لمحو القيمة الأولى " |
| 2645 |
"المعينة.)" |
| 2646 |
|
| 2647 |
#. type: Plain text |
| 2648 |
#: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 2649 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 2650 |
msgid "" |
| 2651 |
"When you assign a list of scalars to an array, all previous values in that " |
| 2652 |
"array are wiped out and the number of elements in the array will now be " |
| 2653 |
"equal to the number of elements in the right-hand list -- the list from " |
| 2654 |
"which assignment was made. The array will automatically resize itself to " |
| 2655 |
"precisely accommodate each element in the right-hand list." |
| 2656 |
msgstr "" |
| 2657 |
"عند تعيين قائمة من القيم السلمية إلى مصفوفة، تُمسح كافة القيم السابقة في تلك " |
| 2658 |
"المصفوفة ويصبح عدد عناصر المصفوفة الآن مساوياً لعدد العناصر في القائمة التي " |
| 2659 |
"على الطرف الأيمن -- القائمة التي تم التعيين منها. ستغير المصفوفة حجمها آلياً " |
| 2660 |
"لتتسع بدقة لكل عنصر في القائمة اليمنى." |
| 2661 |
|
| 2662 |
#. type: Plain text |
| 2663 |
#: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 2664 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 2665 |
#, no-wrap |
| 2666 |
msgid "" |
| 2667 |
"\\& use warnings;\n" |
| 2668 |
"\\& my (@xyz, $x, $y, $z);\n" |
| 2669 |
"\\&\n" |
| 2670 |
"\\& @xyz = (1, 2, 3);\n" |
| 2671 |
"\\& print \"@xyz\\en\"; # 1 2 3\n" |
| 2672 |
"\\&\n" |
| 2673 |
"\\& @xyz = (\\*(Aqal\\*(Aq, \\*(Aqbe\\*(Aq, \\*(Aqga\\*(Aq," |
| 2674 |
" \\*(Aqde\\*(Aq);\n" |
| 2675 |
"\\& print \"@xyz\\en\"; # al be ga de\n" |
| 2676 |
"\\&\n" |
| 2677 |
"\\& @xyz = (101, 102);\n" |
| 2678 |
"\\& print \"@xyz\\en\"; # 101 102\n" |
| 2679 |
msgstr "" |
| 2680 |
"\\& use warnings;\n" |
| 2681 |
"\\& my (@xyz, $x, $y, $z);\n" |
| 2682 |
"\\&\n" |
| 2683 |
"\\& @xyz = (1, 2, 3);\n" |
| 2684 |
"\\& print \"@xyz\\en\"; # 1 2 3\n" |
| 2685 |
"\\&\n" |
| 2686 |
"\\& @xyz = (\\*(Aqal\\*(Aq, \\*(Aqbe\\*(Aq, \\*(Aqga\\*(Aq," |
| 2687 |
" \\*(Aqde\\*(Aq);\n" |
| 2688 |
"\\& print \"@xyz\\en\"; # al be ga de\n" |
| 2689 |
"\\&\n" |
| 2690 |
"\\& @xyz = (101, 102);\n" |
| 2691 |
"\\& print \"@xyz\\en\"; # 101 102\n" |
| 2692 |
|
| 2693 |
#. type: Plain text |
| 2694 |
#: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 2695 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 2696 |
msgid "" |
| 2697 |
"When, however, you assign a list of scalars to another list of scalars, the " |
| 2698 |
"results differ according to whether the left-hand list -- the list being " |
| 2699 |
"assigned to -- has the same, more or fewer elements than the right-hand list." |
| 2700 |
msgstr "" |
| 2701 |
"أما عندما تعين قائمة من القيم السلمية إلى قائمة أخرى من القيم السلمية، " |
| 2702 |
"فتختلف النتائج بناءً على ما إذا كانت القائمة التي على الطرف الأيسر -- القائمة " |
| 2703 |
"التي يُعين إليها -- تحتوي على عدد عناصر مساوٍ، أو أكثر، أو أقل من القائمة " |
| 2704 |
"اليمنى." |
| 2705 |
|
| 2706 |
#. type: Plain text |
| 2707 |
#: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 2708 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 2709 |
#, no-wrap |
| 2710 |
msgid "" |
| 2711 |
"\\& ($x, $y, $z) = (1, 2, 3);\n" |
| 2712 |
"\\& print \"$x $y $z\\en\"; # 1 2 3\n" |
| 2713 |
"\\&\n" |
| 2714 |
"\\& ($x, $y, $z) = (\\*(Aqal\\*(Aq, \\*(Aqbe\\*(Aq, \\*(Aqga\\*(Aq," |
| 2715 |
" \\*(Aqde\\*(Aq);\n" |
| 2716 |
"\\& print \"$x $y $z\\en\"; # al be ga\n" |
| 2717 |
"\\&\n" |
| 2718 |
"\\& ($x, $y, $z) = (101, 102);\n" |
| 2719 |
"\\& print \"$x $y $z\\en\"; # 101 102\n" |
| 2720 |
"\\& # Use of uninitialized value $z in concatenation (.)\n" |
| 2721 |
"\\& # or string at [program] line [line number].\n" |
| 2722 |
msgstr "" |
| 2723 |
"\\& ($x, $y, $z) = (1, 2, 3);\n" |
| 2724 |
"\\& print \"$x $y $z\\en\"; # 1 2 3\n" |
| 2725 |
"\\&\n" |
| 2726 |
"\\& ($x, $y, $z) = (\\*(Aqal\\*(Aq, \\*(Aqbe\\*(Aq, \\*(Aqga\\*(Aq," |
| 2727 |
" \\*(Aqde\\*(Aq);\n" |
| 2728 |
"\\& print \"$x $y $z\\en\"; # al be ga\n" |
| 2729 |
"\\&\n" |
| 2730 |
"\\& ($x, $y, $z) = (101, 102);\n" |
| 2731 |
"\\& print \"$x $y $z\\en\"; # 101 102\n" |
| 2732 |
"\\& # استخدام قيمة غير مهيأة $z في السلسلة (.)\n" |
| 2733 |
"\\& # أو السلسلة النصية في [البرنامج] السطر [رقم السطر].\n" |
| 2734 |
|
| 2735 |
#. type: Plain text |
| 2736 |
#: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 2737 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 2738 |
msgid "" |
| 2739 |
"If the number of scalars in the left-hand list is less than that in the " |
| 2740 |
"right-hand list, the \"extra\" scalars in the right-hand list will simply " |
| 2741 |
"not be assigned." |
| 2742 |
msgstr "" |
| 2743 |
"إذا كان عدد القيم السلمية في القائمة اليسرى أقل من القائمة اليمنى، فلن تُعين " |
| 2744 |
"القيم السلمية \"الزائدة\" في القائمة اليمنى ببساطة." |
| 2745 |
|
| 2746 |
#. type: Plain text |
| 2747 |
#: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 2748 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 2749 |
msgid "" |
| 2750 |
"If the number of scalars in the left-hand list is greater than that in the " |
| 2751 |
"left-hand list, the \"missing\" scalars will become undefined." |
| 2752 |
msgstr "" |
| 2753 |
"إذا كان عدد القيم السلمية في القائمة اليسرى أكبر من القائمة اليمنى، فستصبح " |
| 2754 |
"القيم السلمية \"المفقودة\" غير معرفة (undefined)." |
| 2755 |
|
| 2756 |
#. type: Plain text |
| 2757 |
#: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 2758 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 2759 |
#, no-wrap |
| 2760 |
msgid "" |
| 2761 |
"\\& ($x, $y, $z) = (101, 102);\n" |
| 2762 |
"\\& for my $el ($x, $y, $z) {\n" |
| 2763 |
"\\& (defined $el) ? print \"$el \" : print \"E<lt>undefE<gt>\";\n" |
| 2764 |
"\\& }\n" |
| 2765 |
"\\& print \"\\en\";\n" |
| 2766 |
"\\& # 101 102 E<lt>undefE<gt>\n" |
| 2767 |
msgstr "" |
| 2768 |
"\\& ($x, $y, $z) = (101, 102);\n" |
| 2769 |
"\\& for my $el ($x, $y, $z) {\n" |
| 2770 |
"\\& (defined $el) ? print \"$el \" : print \"E<lt>undefE<gt>\";\n" |
| 2771 |
"\\& }\n" |
| 2772 |
"\\& print \"\\en\";\n" |
| 2773 |
"\\& # 101 102 E<lt>undefE<gt>\n" |
| 2774 |
|
| 2775 |
#. type: Plain text |
| 2776 |
#: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 2777 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 2778 |
msgid "" |
| 2779 |
"List assignment in scalar context returns the number of elements produced by " |
| 2780 |
"the expression on the right side of the assignment:" |
| 2781 |
msgstr "" |
| 2782 |
"يعيد تعيين القائمة في سياق سلمي عدد العناصر التي أنتجها التعبير على الطرف " |
| 2783 |
"الأيمن من التعيين:" |
| 2784 |
|
| 2785 |
#. type: Plain text |
| 2786 |
#: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 2787 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 2788 |
#, no-wrap |
| 2789 |
msgid "" |
| 2790 |
"\\& $x = (($foo,$bar) = (3,2,1)); # set $x to 3, not 2\n" |
| 2791 |
"\\& $x = (($foo,$bar) = f()); # set $x to f()\\*(Aqs return" |
| 2792 |
" count\n" |
| 2793 |
msgstr "" |
| 2794 |
"\\& $x = (($foo,$bar) = (3,2,1)); # تُضبط $x لتكون 3، وليس 2\n" |
| 2795 |
"\\& $x = (($foo,$bar) = f()); # تُضبط $x لتكون عدد القيم التي" |
| 2796 |
" أعادها f()\n" |
| 2797 |
|
| 2798 |
#. type: Plain text |
| 2799 |
#: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 2800 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 2801 |
msgid "" |
| 2802 |
"This is handy when you want to do a list assignment in a Boolean context, " |
| 2803 |
"because most list functions return a null list when finished, which when " |
| 2804 |
"assigned produces a 0, which is interpreted as FALSE." |
| 2805 |
msgstr "" |
| 2806 |
"يكون هذا مفيداً عندما تريد إجراء تعيين قائمة في سياق منطقي، لأن معظم دوال " |
| 2807 |
"القوائم تعيد قائمة فارغة عند الانتهاء، مما ينتج 0 عند التعيين، وهو ما يُفسر " |
| 2808 |
"على أنه خطأ (FALSE)." |
| 2809 |
|
| 2810 |
#. type: Plain text |
| 2811 |
#: debian-trixie debian-unstable |
| 2812 |
msgid "" |
| 2813 |
"It's also the source of a useful idiom for executing a function or " |
| 2814 |
"performing an operation in list context and then counting the number of " |
| 2815 |
"return values, by assigning to an empty list and then using that assignment " |
| 2816 |
"in scalar context. For example, this code:" |
| 2817 |
msgstr "" |
| 2818 |
"وهو أيضًا مصدر لأسلوب مفيد لتنفيذ دالة أو إجراء عملية في سياق قائمة ثم عدّ" |
| 2819 |
" عدد " |
| 2820 |
"القيم المعادة، وذلك عبر التعيين لقائمة فارغة ثم استخدام هذا التعيين في سياق " |
| 2821 |
"سلمي. على سبيل المثال، هذا الكود:" |
| 2822 |
|
| 2823 |
#. type: Plain text |
| 2824 |
#: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 2825 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 2826 |
#, no-wrap |
| 2827 |
msgid "\\& $count = () = $string =~ /\\ed+/g;\n" |
| 2828 |
msgstr "\\& $count = () = $string =~ /\\ed+/g;\n" |
| 2829 |
|
| 2830 |
#. type: Plain text |
| 2831 |
#: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 2832 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 2833 |
msgid "" |
| 2834 |
"will place into CW<$count> the number of digit groups found in CW<$string>. " |
| 2835 |
"This happens because the pattern match is in list context (since it is being " |
| 2836 |
"assigned to the empty list), and will therefore return a list of all " |
| 2837 |
"matching parts of the string. The list assignment in scalar context will " |
| 2838 |
"translate that into the number of elements (here, the number of times the " |
| 2839 |
"pattern matched) and assign that to CW<$count>. Note that simply using" |
| 2840 |
msgstr "" |
| 2841 |
"سيضع في CW<$count> عدد مجموعات الأرقام الموجودة في CW<$string>. يحدث هذا لأن " |
| 2842 |
"مطابقة النمط تكون في سياق قائمة (بما أنها تُعين لقائمة فارغة)، وبالتالي ستعيد " |
| 2843 |
"قائمة بجميع الأجزاء المطابقة من السلسلة النصية. سيترجم تعيين القائمة في " |
| 2844 |
"السياق السلمي ذلك إلى عدد العناصر (هنا، عدد مرات مطابقة النمط) ويعين ذلك لـ " |
| 2845 |
"CW<$count>. لاحظ أن مجرد استخدام" |
| 2846 |
|
| 2847 |
#. type: Plain text |
| 2848 |
#: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 2849 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 2850 |
#, no-wrap |
| 2851 |
msgid "\\& $count = $string =~ /\\ed+/g;\n" |
| 2852 |
msgstr "\\& $count = $string =~ /\\ed+/g;\n" |
| 2853 |
|
| 2854 |
#. type: Plain text |
| 2855 |
#: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 2856 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 2857 |
msgid "" |
| 2858 |
"would not have worked, since a pattern match in scalar context will only " |
| 2859 |
"return true or false, rather than a count of matches." |
| 2860 |
msgstr "" |
| 2861 |
"ما كان ليعمل، لأن مطابقة النمط في السياق السلمي لن تعيد سوى صح أو خطأ، بدلاً " |
| 2862 |
"من عدد المطابقات." |
| 2863 |
|
| 2864 |
#. type: Plain text |
| 2865 |
#: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 2866 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 2867 |
msgid "The final element of a list assignment may be an array or a hash:" |
| 2868 |
msgstr "قد يكون العنصر الأخير في تعيين القائمة مصفوفة أو مفرومة:" |
| 2869 |
|
| 2870 |
#. type: Plain text |
| 2871 |
#: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 2872 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 2873 |
#, no-wrap |
| 2874 |
msgid "" |
| 2875 |
"\\& ($x, $y, @rest) = split;\n" |
| 2876 |
"\\& my($x, $y, %rest) = @_;\n" |
| 2877 |
msgstr "" |
| 2878 |
"\\& ($x, $y, @rest) = split;\n" |
| 2879 |
"\\& my($x, $y, %rest) = @_;\n" |
| 2880 |
|
| 2881 |
#. type: Plain text |
| 2882 |
#: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 2883 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 2884 |
msgid "" |
| 2885 |
"You can actually put an array or hash anywhere in the list, but the first " |
| 2886 |
"one in the list will soak up all the values, and anything after it will " |
| 2887 |
"become undefined. This may be useful in a B<my()> or B<local()>." |
| 2888 |
msgstr "" |
| 2889 |
"يمكنك في الواقع وضع مصفوفة أو مفرومة في أي مكان في القائمة، ولكن الأولى في " |
| 2890 |
"القائمة ستمتص جميع القيم، وأي شيء بعدها سيصبح غير معرف (undefined). قد يكون " |
| 2891 |
"هذا مفيداً في B<my()> أو B<local()>." |
| 2892 |
|
| 2893 |
#. type: Plain text |
| 2894 |
#: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 2895 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 2896 |
msgid "" |
| 2897 |
"A hash can be initialized using a literal list holding pairs of items to be " |
| 2898 |
"interpreted as a key and a value:" |
| 2899 |
msgstr "" |
| 2900 |
"يمكن تهيئة المفرومة باستخدام قائمة حرفية تحتوي على أزواج من العناصر التي " |
| 2901 |
"ستُفسر كمفتاح وقيمة:" |
| 2902 |
|
| 2903 |
#. type: Plain text |
| 2904 |
#: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 2905 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 2906 |
#, no-wrap |
| 2907 |
msgid "" |
| 2908 |
"\\& # same as map assignment above\n" |
| 2909 |
"\\& %map = (\\*(Aqred\\*(Aq,0x00f,\\*(Aqblue\\*(Aq,0x0f0,\\*(Aqgreen\\*(Aq," |
| 2910 |
"0xf00);\n" |
| 2911 |
msgstr "" |
| 2912 |
"\\& # نفس تعيين الخارطة أعلاه\n" |
| 2913 |
"\\& %map = (\\*(Aqred\\*(Aq,0x00f,\\*(Aqblue\\*(Aq,0x0f0,\\*(Aqgreen\\*(Aq," |
| 2914 |
"0xf00);\n" |
| 2915 |
|
| 2916 |
#. type: Plain text |
| 2917 |
#: debian-trixie debian-unstable |
| 2918 |
msgid "" |
| 2919 |
"While literal lists and named arrays are often interchangeable, that's not " |
| 2920 |
"the case for hashes. Just because you can subscript a list value like a " |
| 2921 |
"normal array does not mean that you can subscript a list value as a hash. " |
| 2922 |
"Likewise, hashes included as parts of other lists (including parameters " |
| 2923 |
"lists and return lists from functions) always flatten out into key/value " |
| 2924 |
"pairs. That's why it's good to use references sometimes." |
| 2925 |
msgstr "" |
| 2926 |
"بينما تكون القوائم الحرفية والمصفوفات المسماة قابلة للتبادل غالباً، إلا أن " |
| 2927 |
"الأمر ليس كذلك بالنسبة للمفرومات. مجرد قدرتك على فهرسة قيمة قائمة مثل مصفوفة " |
| 2928 |
"عادية لا يعني أنه يمكنك فهرسة قيمة قائمة كمفرومة. وبالمثل، فإن المفرومات " |
| 2929 |
"المضمنة كأجزاء من قوائم أخرى (بما في ذلك قوائم المعاملات وقوائم القيم " |
| 2930 |
"المعادة من الدوال) تتسطح دائماً لتصبح أزواجاً من المفاتيح/القيم. لهذا السبب " |
| 2931 |
"يحسن استخدام المراجع أحياناً." |
| 2932 |
|
| 2933 |
#. type: Plain text |
| 2934 |
#: debian-trixie debian-unstable |
| 2935 |
msgid "" |
| 2936 |
"It is often more readable to use the CW<\\*(C`=E<gt>\\*(C'> operator between " |
| 2937 |
"key/value pairs. The CW<\\*(C`=E<gt>\\*(C'> operator is mostly just a more " |
| 2938 |
"visually distinctive synonym for a comma, but it also arranges for its left-" |
| 2939 |
"hand operand to be interpreted as a string if it's a bareword that would be " |
| 2940 |
"a legal simple identifier. CW<\\*(C`=E<gt>\\*(C'> doesn't quote compound " |
| 2941 |
"identifiers, that contain double colons. This makes it nice for " |
| 2942 |
"initializing hashes:" |
| 2943 |
msgstr "" |
| 2944 |
"غالباً ما يكون استخدام عامل التشغيل CW<\\*(C`=E<gt>\\*(C'> بين أزواج المفاتيح/" |
| 2945 |
"القيم أكثر قابلية للقراءة. عامل التشغيل CW<\\*(C`=E<gt>\\*(C'> هو في الغالب " |
| 2946 |
"مجرد مرادف مميز بصرياً للفاصلة، ولكنه يرتب أيضًا لتفسير معامله الأيسر كسللسلة " |
| 2947 |
"نصية إذا كان كلمة مجردة (bareword) يمكن أن تكون معرفاً بسيطاً قانونياً. لا" |
| 2948 |
" يضع " |
| 2949 |
"CW<\\*(C`=E<gt>\\*(C'> المعرفات المركبة التي تحتوي على نقطتين مزدوجتين بين " |
| 2950 |
"علامتي اقتباس. هذا يجعله رائعاً لتهيئة المفرومات:" |
| 2951 |
|
| 2952 |
#. type: Plain text |
| 2953 |
#: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 2954 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 2955 |
#, no-wrap |
| 2956 |
msgid "" |
| 2957 |
"\\& %map = (\n" |
| 2958 |
"\\& red =E<gt> 0x00f,\n" |
| 2959 |
"\\& blue =E<gt> 0x0f0,\n" |
| 2960 |
"\\& green =E<gt> 0xf00,\n" |
| 2961 |
"\\& );\n" |
| 2962 |
msgstr "" |
| 2963 |
"\\& %map = (\n" |
| 2964 |
"\\& red =E<gt> 0x00f,\n" |
| 2965 |
"\\& blue =E<gt> 0x0f0,\n" |
| 2966 |
"\\& green =E<gt> 0xf00,\n" |
| 2967 |
"\\& );\n" |
| 2968 |
|
| 2969 |
#. type: Plain text |
| 2970 |
#: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 2971 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 2972 |
msgid "or for initializing hash references to be used as records:" |
| 2973 |
msgstr "أو لتهيئة مراجع مفرومات لتستخدم كسجلات:" |
| 2974 |
|
| 2975 |
#. type: Plain text |
| 2976 |
#: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 2977 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 2978 |
#, no-wrap |
| 2979 |
msgid "" |
| 2980 |
"\\& $rec = {\n" |
| 2981 |
"\\& witch =E<gt> \\*(AqMable the Merciless\\*(Aq,\n" |
| 2982 |
"\\& cat =E<gt> \\*(AqFluffy the Ferocious\\*(Aq,\n" |
| 2983 |
"\\& date =E<gt> \\*(Aq10/31/1776\\*(Aq,\n" |
| 2984 |
"\\& };\n" |
| 2985 |
msgstr "" |
| 2986 |
"\\& $rec = {\n" |
| 2987 |
"\\& witch =E<gt> \\*(AqMable the Merciless\\*(Aq,\n" |
| 2988 |
"\\& cat =E<gt> \\*(AqFluffy the Ferocious\\*(Aq,\n" |
| 2989 |
"\\& date =E<gt> \\*(Aq10/31/1776\\*(Aq,\n" |
| 2990 |
"\\& };\n" |
| 2991 |
|
| 2992 |
#. type: Plain text |
| 2993 |
#: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 2994 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 2995 |
msgid "or for using call-by-named-parameter to complicated functions:" |
| 2996 |
msgstr "أو لاستخدام الاستدعاء بالمعاملات المسماة للدوال المعقدة:" |
| 2997 |
|
| 2998 |
#. type: Plain text |
| 2999 |
#: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 3000 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 3001 |
#, no-wrap |
| 3002 |
msgid "" |
| 3003 |
"\\& $field = $query-E<gt>radio_group(\n" |
| 3004 |
"\\& name =E<gt> \\*(Aqgroup_name\\*(Aq,\n" |
| 3005 |
"\\& values =E<gt> [\\*(Aqeenie\\*(Aq,\\*(Aqmeenie\\*(Aq,\\*(A" |
| 3006 |
"qminie\\*(Aq],\n" |
| 3007 |
"\\& default =E<gt> \\*(Aqmeenie\\*(Aq,\n" |
| 3008 |
"\\& linebreak =E<gt> \\*(Aqtrue\\*(Aq,\n" |
| 3009 |
"\\& labels =E<gt> \\e%labels\n" |
| 3010 |
"\\& );\n" |
| 3011 |
msgstr "" |
| 3012 |
"\\& $field = $query-E<gt>radio_group(\n" |
| 3013 |
"\\& name =E<gt> \\*(Aqgroup_name\\*(Aq,\n" |
| 3014 |
"\\& values =E<gt> [\\*(Aqeenie\\*(Aq,\\*(Aqmeenie\\*(Aq,\\*(A" |
| 3015 |
"qminie\\*(Aq],\n" |
| 3016 |
"\\& default =E<gt> \\*(Aqmeenie\\*(Aq,\n" |
| 3017 |
"\\& linebreak =E<gt> \\*(Aqtrue\\*(Aq,\n" |
| 3018 |
"\\& labels =E<gt> \\e%labels\n" |
| 3019 |
"\\& );\n" |
| 3020 |
|
| 3021 |
#. type: Plain text |
| 3022 |
#: debian-trixie debian-unstable |
| 3023 |
msgid "" |
| 3024 |
"Note that just because a hash is initialized in that order doesn't mean that " |
| 3025 |
"it comes out in that order. See \"sort\" in perlfunc for examples of how to " |
| 3026 |
"arrange for an output ordering." |
| 3027 |
msgstr "" |
| 3028 |
"لاحظ أنه مجرد تهيئة مفرومة بهذا الترتيب لا يعني أنها ستخرج بنفس الترتيب. " |
| 3029 |
"انظر \"sort\" في perlfunc لمعرفة أمثلة عن كيفية ترتيب المخرجات." |
| 3030 |
|
| 3031 |
#. type: Plain text |
| 3032 |
#: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 3033 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 3034 |
msgid "" |
| 3035 |
"If a key appears more than once in the initializer list of a hash, the last " |
| 3036 |
"occurrence wins:" |
| 3037 |
msgstr "" |
| 3038 |
"إذا ظهر مفتاح أكثر من مرة في قائمة تهيئة مفرومة، فإن الظهور الأخير هو الذي " |
| 3039 |
"يسود:" |
| 3040 |
|
| 3041 |
#. type: Plain text |
| 3042 |
#: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 3043 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 3044 |
#, no-wrap |
| 3045 |
msgid "" |
| 3046 |
"\\& %circle = (\n" |
| 3047 |
"\\& center =E<gt> [5, 10],\n" |
| 3048 |
"\\& center =E<gt> [27, 9],\n" |
| 3049 |
"\\& radius =E<gt> 100,\n" |
| 3050 |
"\\& color =E<gt> [0xDF, 0xFF, 0x00],\n" |
| 3051 |
"\\& radius =E<gt> 54,\n" |
| 3052 |
"\\& );\n" |
| 3053 |
"\\&\n" |
| 3054 |
"\\& # same as\n" |
| 3055 |
"\\& %circle = (\n" |
| 3056 |
"\\& center =E<gt> [27, 9],\n" |
| 3057 |
"\\& color =E<gt> [0xDF, 0xFF, 0x00],\n" |
| 3058 |
"\\& radius =E<gt> 54,\n" |
| 3059 |
"\\& );\n" |
| 3060 |
msgstr "" |
| 3061 |
"\\& %circle = (\n" |
| 3062 |
"\\& center =E<gt> [5, 10],\n" |
| 3063 |
"\\& center =E<gt> [27, 9],\n" |
| 3064 |
"\\& radius =E<gt> 100,\n" |
| 3065 |
"\\& color =E<gt> [0xDF, 0xFF, 0x00],\n" |
| 3066 |
"\\& radius =E<gt> 54,\n" |
| 3067 |
"\\& );\n" |
| 3068 |
"\\&\n" |
| 3069 |
"\\& # نفس\n" |
| 3070 |
"\\& %circle = (\n" |
| 3071 |
"\\& center =E<gt> [27, 9],\n" |
| 3072 |
"\\& color =E<gt> [0xDF, 0xFF, 0x00],\n" |
| 3073 |
"\\& radius =E<gt> 54,\n" |
| 3074 |
"\\& );\n" |
| 3075 |
|
| 3076 |
#. type: Plain text |
| 3077 |
#: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 3078 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 3079 |
msgid "This can be used to provide overridable configuration defaults:" |
| 3080 |
msgstr "يمكن استخدام هذا لتوفير إعدادات مبدئية للتكوين قابلة للتجاوز:" |
| 3081 |
|
| 3082 |
#. type: Plain text |
| 3083 |
#: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 3084 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 3085 |
#, no-wrap |
| 3086 |
msgid "" |
| 3087 |
"\\& # values in %args take priority over %config_defaults\n" |
| 3088 |
"\\& %config = (%config_defaults, %args);\n" |
| 3089 |
msgstr "" |
| 3090 |
"\\& # القيم في %args لها الأولوية على %config_defaults\n" |
| 3091 |
"\\& %config = (%config_defaults, %args);\n" |
| 3092 |
|
| 3093 |
#. type: IX |
| 3094 |
#: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 3095 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 3096 |
#, no-wrap |
| 3097 |
msgid "Subscripts" |
| 3098 |
msgstr "الفهارس (Subscripts)" |
| 3099 |
|
| 3100 |
#. type: Plain text |
| 3101 |
#: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 3102 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 3103 |
msgid "" |
| 3104 |
"An array can be accessed one scalar at a time by specifying a dollar sign " |
| 3105 |
"(CW<\\*(C`$\\*(C'>), then the name of the array (without the leading " |
| 3106 |
"CW<\\*(C`@\\*(C'>), then the subscript inside square brackets. For example:" |
| 3107 |
msgstr "" |
| 3108 |
"يمكن الوصول إلى المصفوفة عنصراً سلمياً واحداً في كل مرة بتحديد علامة الدولار " |
| 3109 |
"(CW<\\*(C`$\\*(C'>)، ثم اسم المصفوفة (بدون علامة CW<\\*(C`@\\*(C'> البادئة)، " |
| 3110 |
"ثم الفهرس داخل أقواس مربعة. على سبيل المثال:" |
| 3111 |
|
| 3112 |
#. type: Plain text |
| 3113 |
#: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 3114 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 3115 |
#, no-wrap |
| 3116 |
msgid "" |
| 3117 |
"\\& @myarray = (5, 50, 500, 5000);\n" |
| 3118 |
"\\& print \"The Third Element is\", $myarray[2], \"\\en\";\n" |
| 3119 |
msgstr "" |
| 3120 |
"\\& @myarray = (5, 50, 500, 5000);\n" |
| 3121 |
"\\& print \"العنصر الثالث هو \", $myarray[2], \"\\en\";\n" |
| 3122 |
|
| 3123 |
#. type: Plain text |
| 3124 |
#: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 3125 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 3126 |
msgid "" |
| 3127 |
"The array indices start with 0. A negative subscript retrieves its value " |
| 3128 |
"from the end. In our example, CW<$myarray[-1]> would have been 5000, and " |
| 3129 |
"CW<$myarray[-2]> would have been 500." |
| 3130 |
msgstr "" |
| 3131 |
"تبدأ فهارس المصفوفة بـ 0. الفهرس السالب يستعيد قيمته من النهاية. في مثالنا، " |
| 3132 |
"ستكون قيمة CW<$myarray[-1]> هي 5000، وقيمة CW<$myarray[-2]> هي 500." |
| 3133 |
|
| 3134 |
#. type: Plain text |
| 3135 |
#: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 3136 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 3137 |
msgid "" |
| 3138 |
"Hash subscripts are similar, only instead of square brackets curly brackets " |
| 3139 |
"are used. For example:" |
| 3140 |
msgstr "" |
| 3141 |
"فهارس المفرومات مشابهة، ولكن تستخدم الأقواس المجعدة بدلاً من الأقواس المربعة. " |
| 3142 |
"على سبيل المثال:" |
| 3143 |
|
| 3144 |
#. type: Plain text |
| 3145 |
#: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 3146 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 3147 |
#, no-wrap |
| 3148 |
msgid "" |
| 3149 |
"\\& %scientists = \n" |
| 3150 |
"\\& (\n" |
| 3151 |
"\\& \"Newton\" =E<gt> \"Isaac\",\n" |
| 3152 |
"\\& \"Einstein\" =E<gt> \"Albert\",\n" |
| 3153 |
"\\& \"Darwin\" =E<gt> \"Charles\",\n" |
| 3154 |
"\\& \"Feynman\" =E<gt> \"Richard\",\n" |
| 3155 |
"\\& );\n" |
| 3156 |
"\\&\n" |
| 3157 |
"\\& print \"Darwin\\*(Aqs First Name is \", $scientists{\"Darwin\"}," |
| 3158 |
" \"\\en\";\n" |
| 3159 |
msgstr "" |
| 3160 |
"\\& %scientists = \n" |
| 3161 |
"\\& (\n" |
| 3162 |
"\\& \"Newton\" =E<gt> \"Isaac\",\n" |
| 3163 |
"\\& \"Einstein\" =E<gt> \"Albert\",\n" |
| 3164 |
"\\& \"Darwin\" =E<gt> \"Charles\",\n" |
| 3165 |
"\\& \"Feynman\" =E<gt> \"Richard\",\n" |
| 3166 |
"\\& );\n" |
| 3167 |
"\\&\n" |
| 3168 |
"\\& print \"الاسم الأول لداروين هو \", $scientists{\"Darwin\"}, \"\\en\";\n" |
| 3169 |
|
| 3170 |
#. type: Plain text |
| 3171 |
#: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 3172 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 3173 |
msgid "You can also subscript a list to get a single element from it:" |
| 3174 |
msgstr "يمكنك أيضًا فهرسة قائمة للحصول على عنصر واحد منها:" |
| 3175 |
|
| 3176 |
#. type: Plain text |
| 3177 |
#: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 3178 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 3179 |
#, no-wrap |
| 3180 |
msgid "\\& $dir = (getpwnam(\"daemon\"))[7];\n" |
| 3181 |
msgstr "\\& $dir = (getpwnam(\"daemon\"))[7];\n" |
| 3182 |
|
| 3183 |
#. type: IX |
| 3184 |
#: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 3185 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 3186 |
#, no-wrap |
| 3187 |
msgid "Multi-dimensional array emulation" |
| 3188 |
msgstr "محاكاة المصفوفة متعددة الأبعاد" |
| 3189 |
|
| 3190 |
#. type: Plain text |
| 3191 |
#: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 3192 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 3193 |
msgid "" |
| 3194 |
"Multidimensional arrays may be emulated by subscripting a hash with a list. " |
| 3195 |
"The elements of the list are joined with the subscript separator (see \"$;\" " |
| 3196 |
"in perlvar)." |
| 3197 |
msgstr "" |
| 3198 |
"يمكن محاكاة المصفوفات متعددة الأبعاد بفهرسة مفرومة بواسطة قائمة. تُدمج عناصر " |
| 3199 |
"القائمة باستخدام فاصل الفهارس (انظر \"$;\" في perlvar)." |
| 3200 |
|
| 3201 |
#. type: Plain text |
| 3202 |
#: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 3203 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 3204 |
#, no-wrap |
| 3205 |
msgid "\\& $foo{$x,$y,$z}\n" |
| 3206 |
msgstr "\\& $foo{$x,$y,$z}\n" |
| 3207 |
|
| 3208 |
#. type: Plain text |
| 3209 |
#: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 3210 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 3211 |
#, no-wrap |
| 3212 |
msgid "\\& $foo{join($;, $x, $y, $z)}\n" |
| 3213 |
msgstr "\\& $foo{join($;, $x, $y, $z)}\n" |
| 3214 |
|
| 3215 |
#. type: Plain text |
| 3216 |
#: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 3217 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 3218 |
msgid "" |
| 3219 |
"The default subscript separator is \"\\e034\", the same as SUBSEP in B<awk>." |
| 3220 |
msgstr "فاصل الفهارس المبدئي هو \"\\e034\"، وهو نفس SUBSEP في B<awk>." |
| 3221 |
|
| 3222 |
#. type: IX |
| 3223 |
#: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 3224 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 3225 |
#, no-wrap |
| 3226 |
msgid "Slices" |
| 3227 |
msgstr "الشرائح (Slices)" |
| 3228 |
|
| 3229 |
#. type: IX |
| 3230 |
#: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 3231 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 3232 |
#, no-wrap |
| 3233 |
msgid "slice array, slice hash, slice" |
| 3234 |
msgstr "شريحة مصفوفة، شريحة مفرومة، شريحة" |
| 3235 |
|
| 3236 |
#. type: Plain text |
| 3237 |
#: debian-trixie debian-unstable |
| 3238 |
msgid "" |
| 3239 |
"A slice accesses several elements of a list, an array, or a hash " |
| 3240 |
"simultaneously using a list of subscripts. It's more convenient than " |
| 3241 |
"writing out the individual elements as a list of separate scalar values." |
| 3242 |
msgstr "" |
| 3243 |
"تصل الشريحة إلى عدة عناصر من قائمة، أو مصفوفة، أو مفرومة في آن واحد باستخدام " |
| 3244 |
"قائمة من الفهارس. وهي أكثر ملاءمة من كتابة العناصر الفردية كقائمة من القيم " |
| 3245 |
"السلمية المنفصلة." |
| 3246 |
|
| 3247 |
#. type: Plain text |
| 3248 |
#: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 3249 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 3250 |
#, no-wrap |
| 3251 |
msgid "" |
| 3252 |
"\\& ($him, $her) = @folks[0,-1]; # array slice\n" |
| 3253 |
"\\& @them = @folks[0 .. 3]; # array slice\n" |
| 3254 |
"\\& ($who, $home) = @ENV{\"USER\", \"HOME\"}; # hash slice\n" |
| 3255 |
"\\& ($uid, $dir) = (getpwnam(\"daemon\"))[2,7]; # list slice\n" |
| 3256 |
msgstr "" |
| 3257 |
"\\& ($him, $her) = @folks[0,-1]; # شريحة مصفوفة\n" |
| 3258 |
"\\& @them = @folks[0 .. 3]; # شريحة مصفوفة\n" |
| 3259 |
"\\& ($who, $home) = @ENV{\"USER\", \"HOME\"}; # شريحة مفرومة\n" |
| 3260 |
"\\& ($uid, $dir) = (getpwnam(\"daemon\"))[2,7]; # شريحة قائمة\n" |
| 3261 |
|
| 3262 |
#. type: Plain text |
| 3263 |
#: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 3264 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 3265 |
msgid "" |
| 3266 |
"Since you can assign to a list of variables, you can also assign to an array " |
| 3267 |
"or hash slice." |
| 3268 |
msgstr "" |
| 3269 |
"بما أنه يمكنك التعيين لقائمة من المتغيرات، يمكنك أيضًا التعيين لشريحة مصفوفة " |
| 3270 |
"أو مفرومة." |
| 3271 |
|
| 3272 |
#. type: Plain text |
| 3273 |
#: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 3274 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 3275 |
#, no-wrap |
| 3276 |
msgid "" |
| 3277 |
"\\& @days[3..5] = qw/Wed Thu Fri/;\n" |
| 3278 |
"\\& @colors{\\*(Aqred\\*(Aq,\\*(Aqblue\\*(Aq,\\*(Aqgreen\\*(Aq} \n" |
| 3279 |
"\\& = (0xff0000, 0x0000ff, 0x00ff00);\n" |
| 3280 |
"\\& @folks[0, -1] = @folks[-1, 0];\n" |
| 3281 |
msgstr "" |
| 3282 |
"\\& @days[3..5] = qw/Wed Thu Fri/;\n" |
| 3283 |
"\\& @colors{\\*(Aqred\\*(Aq,\\*(Aqblue\\*(Aq,\\*(Aqgreen\\*(Aq} \n" |
| 3284 |
"\\& = (0xff0000, 0x0000ff, 0x00ff00);\n" |
| 3285 |
"\\& @folks[0, -1] = @folks[-1, 0];\n" |
| 3286 |
|
| 3287 |
#. type: Plain text |
| 3288 |
#: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 3289 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 3290 |
msgid "The previous assignments are exactly equivalent to" |
| 3291 |
msgstr "التعيينات السابقة تكافئ تماماً" |
| 3292 |
|
| 3293 |
#. type: Plain text |
| 3294 |
#: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 3295 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 3296 |
#, no-wrap |
| 3297 |
msgid "" |
| 3298 |
"\\& ($days[3], $days[4], $days[5]) = qw/Wed Thu Fri/;\n" |
| 3299 |
"\\& ($colors{\\*(Aqred\\*(Aq}, $colors{\\*(Aqblue\\*(Aq}," |
| 3300 |
" $colors{\\*(Aqgreen\\*(Aq})\n" |
| 3301 |
"\\& = (0xff0000, 0x0000ff, 0x00ff00);\n" |
| 3302 |
"\\& ($folks[0], $folks[-1]) = ($folks[-1], $folks[0]);\n" |
| 3303 |
msgstr "" |
| 3304 |
"\\& ($days[3], $days[4], $days[5]) = qw/Wed Thu Fri/;\n" |
| 3305 |
"\\& ($colors{\\*(Aqred\\*(Aq}, $colors{\\*(Aqblue\\*(Aq}," |
| 3306 |
" $colors{\\*(Aqgreen\\*(Aq})\n" |
| 3307 |
"\\& = (0xff0000, 0x0000ff, 0x00ff00);\n" |
| 3308 |
"\\& ($folks[0], $folks[-1]) = ($folks[-1], $folks[0]);\n" |
| 3309 |
|
| 3310 |
#. type: Plain text |
| 3311 |
#: debian-trixie debian-unstable |
| 3312 |
msgid "" |
| 3313 |
"Since changing a slice changes the original array or hash that it's slicing, " |
| 3314 |
"a CW<\\*(C`foreach\\*(C'> construct will alter some--or even all--of the " |
| 3315 |
"values of the array or hash." |
| 3316 |
msgstr "" |
| 3317 |
"بما أن تغيير شريحة يغير المصفوفة أو المفرومة الأصلية التي تم تشريحها، فإن " |
| 3318 |
"بنية CW<\\*(C`foreach\\*(C'> ستغير بعض -- أو حتى كل -- قيم المصفوفة أو " |
| 3319 |
"المفرومة." |
| 3320 |
|
| 3321 |
#. type: Plain text |
| 3322 |
#: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 3323 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 3324 |
#, no-wrap |
| 3325 |
msgid "" |
| 3326 |
"\\& foreach (@array[ 4 .. 10 ]) { s/peter/paul/ } \n" |
| 3327 |
"\\&\n" |
| 3328 |
"\\& foreach (@hash{qw[key1 key2]}) {\n" |
| 3329 |
"\\& s/^\\es+//; # trim leading whitespace\n" |
| 3330 |
"\\& s/\\es+$//; # trim trailing whitespace\n" |
| 3331 |
"\\& s/\\eb(\\ew)(\\ew*)\\eb/\\eu$1\\eL$2/g; # \"titlecase\" words\n" |
| 3332 |
"\\& }\n" |
| 3333 |
msgstr "" |
| 3334 |
"\\& foreach (@array[ 4 .. 10 ]) { s/peter/paul/ } \n" |
| 3335 |
"\\&\n" |
| 3336 |
"\\& foreach (@hash{qw[key1 key2]}) {\n" |
| 3337 |
"\\& s/^\\es+//; # تقليم المساحات البيضاء" |
| 3338 |
" البادئة\n" |
| 3339 |
"\\& s/\\es+$//; # تقليم المساحات البيضاء" |
| 3340 |
" اللاحقة\n" |
| 3341 |
"\\& s/\\eb(\\ew)(\\ew*)\\eb/\\eu$1\\eL$2/g; # تحويل الكلمات إلى" |
| 3342 |
" \"حالة العنوان\"\n" |
| 3343 |
"\\& }\n" |
| 3344 |
|
| 3345 |
#. type: Plain text |
| 3346 |
#: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 3347 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 3348 |
msgid "" |
| 3349 |
"As a special exception, when you slice a list (but not an array or a hash), " |
| 3350 |
"if the list evaluates to empty, then taking a slice of that empty list will " |
| 3351 |
"always yield the empty list in turn. Thus:" |
| 3352 |
msgstr "" |
| 3353 |
"كاستثناء خاص، عند تشريح قائمة (وليس مصفوفة أو مفرومة)، إذا كانت القائمة " |
| 3354 |
"فارغة، فإن أخذ شريحة من تلك القائمة الفارغة سينتج دائماً قائمة فارغة بدورها. " |
| 3355 |
"وبالتالي:" |
| 3356 |
|
| 3357 |
#. type: Plain text |
| 3358 |
#: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 3359 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 3360 |
#, no-wrap |
| 3361 |
msgid "" |
| 3362 |
"\\& @a = ()[0,1]; # @a has no elements\n" |
| 3363 |
"\\& @b = (@a)[0,1]; # @b has no elements\n" |
| 3364 |
"\\& @c = (sub{}-E<gt>())[0,1]; # @c has no elements\n" |
| 3365 |
"\\& @d = (\\*(Aqa\\*(Aq,\\*(Aqb\\*(Aq)[0,1]; # @d has two elements\n" |
| 3366 |
"\\& @e = (@d)[0,1,8,9]; # @e has four elements\n" |
| 3367 |
"\\& @f = (@d)[8,9]; # @f has two elements\n" |
| 3368 |
msgstr "" |
| 3369 |
"\\& @a = ()[0,1]; # @a ليس بها عناصر\n" |
| 3370 |
"\\& @b = (@a)[0,1]; # @b ليس بها عناصر\n" |
| 3371 |
"\\& @c = (sub{}-E<gt>())[0,1]; # @c ليس بها عناصر\n" |
| 3372 |
"\\& @d = (\\*(Aqa\\*(Aq,\\*(Aqb\\*(Aq)[0,1]; # @d بها عنصران\n" |
| 3373 |
"\\& @e = (@d)[0,1,8,9]; # @e بها أربعة عناصر\n" |
| 3374 |
"\\& @f = (@d)[8,9]; # @f بها عنصران\n" |
| 3375 |
|
| 3376 |
#. type: Plain text |
| 3377 |
#: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 3378 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 3379 |
msgid "" |
| 3380 |
"This makes it easy to write loops that terminate when a null list is " |
| 3381 |
"returned:" |
| 3382 |
msgstr "هذا يسهل كتابة حلقات تنتهي عندما تُعاد قائمة فارغة:" |
| 3383 |
|
| 3384 |
#. type: Plain text |
| 3385 |
#: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 3386 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 3387 |
#, no-wrap |
| 3388 |
msgid "" |
| 3389 |
"\\& while ( ($home, $user) = (getpwent)[7,0] ) {\n" |
| 3390 |
"\\& printf \"%-8s %s\\en\", $user, $home;\n" |
| 3391 |
"\\& }\n" |
| 3392 |
msgstr "" |
| 3393 |
"\\& while ( ($home, $user) = (getpwent)[7,0] ) {\n" |
| 3394 |
"\\& printf \"%-8s %s\\en\", $user, $home;\n" |
| 3395 |
"\\& }\n" |
| 3396 |
|
| 3397 |
#. type: Plain text |
| 3398 |
#: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 3399 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 3400 |
msgid "" |
| 3401 |
"As noted earlier in this document, the scalar sense of list assignment is " |
| 3402 |
"the number of elements on the right-hand side of the assignment. The null " |
| 3403 |
"list contains no elements, so when the password file is exhausted, the " |
| 3404 |
"result is 0, not 2." |
| 3405 |
msgstr "" |
| 3406 |
"كما ذُكر سابقاً في هذا المستند، المعنى السلمي لتعيين القائمة هو عدد العناصر " |
| 3407 |
"الموجودة على الطرف الأيمن من التعيين. القائمة الفارغة لا تحتوي على عناصر، " |
| 3408 |
"لذا عندما ينفد ملف كلمة السر، تكون النتيجة 0، وليس 2." |
| 3409 |
|
| 3410 |
#. type: Plain text |
| 3411 |
#: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 3412 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 3413 |
msgid "Slices in scalar context return the last item of the slice." |
| 3414 |
msgstr "تعيد الشرائح في السياق السلمي العنصر الأخير من الشريحة." |
| 3415 |
|
| 3416 |
#. type: Plain text |
| 3417 |
#: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 3418 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 3419 |
#, no-wrap |
| 3420 |
msgid "" |
| 3421 |
"\\& @a = qw/first second third/;\n" |
| 3422 |
"\\& %h = (first =E<gt> \\*(AqA\\*(Aq, second =E<gt> \\*(AqB\\*(Aq);\n" |
| 3423 |
"\\& $t = @a[0, 1]; # $t is now \\*(Aqsecond\\*(Aq\n" |
| 3424 |
"\\& $u = @h{\\*(Aqfirst\\*(Aq, \\*(Aqsecond\\*(Aq}; # $u is now" |
| 3425 |
" \\*(AqB\\*(Aq\n" |
| 3426 |
msgstr "" |
| 3427 |
"\\& @a = qw/first second third/;\n" |
| 3428 |
"\\& %h = (first =E<gt> \\*(AqA\\*(Aq, second =E<gt> \\*(AqB\\*(Aq);\n" |
| 3429 |
"\\& $t = @a[0, 1]; # قيمة $t الآن هي \\*(Aqsecond\\*(Aq\n" |
| 3430 |
"\\& $u = @h{\\*(Aqfirst\\*(Aq, \\*(Aqsecond\\*(Aq}; # قيمة $u الآن هي" |
| 3431 |
" \\*(AqB\\*(Aq\n" |
| 3432 |
|
| 3433 |
#. type: Plain text |
| 3434 |
#: debian-trixie debian-unstable |
| 3435 |
msgid "" |
| 3436 |
"If you're confused about why you use an '@' there on a hash slice instead of " |
| 3437 |
"a '%', think of it like this. The type of bracket (square or curly) governs " |
| 3438 |
"whether it's an array or a hash being looked at. On the other hand, the " |
| 3439 |
"leading symbol ('$' or '@') on the array or hash indicates whether you are " |
| 3440 |
"getting back a singular value (a scalar) or a plural one (a list)." |
| 3441 |
msgstr "" |
| 3442 |
"إذا كنت مرتبكاً بشأن سبب استخدام '@' في شريحة المفرومة بدلاً من '%'، ففكر في " |
| 3443 |
"الأمر على النحو التالي. نوع القوس (مربع أو مجعد) يحدد ما إذا كان ما يُنظر " |
| 3444 |
"إليه هو مصفوفة أم مفرومة. من ناحية أخرى، فإن الرمز البادئ ('$' أو '@') على " |
| 3445 |
"المصفوفة أو المفرومة يشير إلى ما إذا كنت ستحصل على قيمة مفردة (سلمية) أو جمع " |
| 3446 |
"(قائمة)." |
| 3447 |
|
| 3448 |
#. type: Plain text |
| 3449 |
#: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 3450 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 3451 |
msgid "I<Key/Value Hash Slices>" |
| 3452 |
msgstr "I<شرائح مفتاح/قيمة للمفرومة>" |
| 3453 |
|
| 3454 |
#. type: IX |
| 3455 |
#: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 3456 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 3457 |
#, no-wrap |
| 3458 |
msgid "Key/Value Hash Slices" |
| 3459 |
msgstr "شرائح مفتاح/قيمة للمفرومة" |
| 3460 |
|
| 3461 |
#. type: Plain text |
| 3462 |
#: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 3463 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 3464 |
msgid "" |
| 3465 |
"Starting in Perl 5.20, a hash slice operation with the % symbol is a variant " |
| 3466 |
"of slice operation returning a list of key/value pairs rather than just " |
| 3467 |
"values:" |
| 3468 |
msgstr "" |
| 3469 |
"بدءاً من بيرل 5.20، تعد عملية شريحة المفرومة باستخدام الرمز % نوعاً من أنواع " |
| 3470 |
"عمليات التشريح التي تعيد قائمة من أزواج المفتاح/القيمة بدلاً من القيم فقط:" |
| 3471 |
|
| 3472 |
#. type: Plain text |
| 3473 |
#: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 3474 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 3475 |
#, no-wrap |
| 3476 |
msgid "" |
| 3477 |
"\\& %h = (blonk =E<gt> 2, foo =E<gt> 3, squink =E<gt> 5, bar =E<gt> 8);\n" |
| 3478 |
"\\& %subset = %h{\\*(Aqfoo\\*(Aq, \\*(Aqbar\\*(Aq}; # key/value hash" |
| 3479 |
" slice\n" |
| 3480 |
"\\& # %subset is now (foo =E<gt> 3, bar =E<gt> 8)\n" |
| 3481 |
"\\& %removed = delete %h{\\*(Aqfoo\\*(Aq, \\*(Aqbar\\*(Aq};\n" |
| 3482 |
"\\& # %removed is now (foo =E<gt> 3, bar =E<gt> 8)\n" |
| 3483 |
"\\& # %h is now (blonk =E<gt> 2, squink =E<gt> 5)\n" |
| 3484 |
msgstr "" |
| 3485 |
"\\& %h = (blonk =E<gt> 2, foo =E<gt> 3, squink =E<gt> 5, bar =E<gt> 8);\n" |
| 3486 |
"\\& %subset = %h{\\*(Aqfoo\\*(Aq, \\*(Aqbar\\*(Aq}; # شريحة مفتاح/قيمة" |
| 3487 |
" للمفرومة\n" |
| 3488 |
"\\& # %subset هي الآن (foo =E<gt> 3, bar =E<gt> 8)\n" |
| 3489 |
"\\& %removed = delete %h{\\*(Aqfoo\\*(Aq, \\*(Aqbar\\*(Aq};\n" |
| 3490 |
"\\& # %removed هي الآن (foo =E<gt> 3, bar =E<gt> 8)\n" |
| 3491 |
"\\& # %h هي الآن (blonk =E<gt> 2, squink =E<gt> 5)\n" |
| 3492 |
|
| 3493 |
#. type: Plain text |
| 3494 |
#: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 3495 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 3496 |
msgid "" |
| 3497 |
"However, the result of such a slice cannot be localized or assigned to. " |
| 3498 |
"These are otherwise very much consistent with hash slices using the @ symbol." |
| 3499 |
msgstr "" |
| 3500 |
"ومع ذلك، لا يمكن إضفاء طابع محلي (localized) على نتيجة مثل هذه الشريحة أو " |
| 3501 |
"التعيين إليها. وهي خلاف ذلك تتسق تماماً مع شرائح المفرومة التي تستخدم الرمز @." |
| 3502 |
|
| 3503 |
#. type: Plain text |
| 3504 |
#: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 3505 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 3506 |
msgid "I<Index/Value Array Slices>" |
| 3507 |
msgstr "I<شرائح فهرس/قيمة للمصفوفة>" |
| 3508 |
|
| 3509 |
#. type: IX |
| 3510 |
#: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 3511 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 3512 |
#, no-wrap |
| 3513 |
msgid "Index/Value Array Slices" |
| 3514 |
msgstr "شرائح فهرس/قيمة للمصفوفة" |
| 3515 |
|
| 3516 |
#. type: Plain text |
| 3517 |
#: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 3518 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 3519 |
msgid "" |
| 3520 |
"Similar to key/value hash slices (and also introduced in Perl 5.20), the % " |
| 3521 |
"array slice syntax returns a list of index/value pairs:" |
| 3522 |
msgstr "" |
| 3523 |
"على غرار شرائح مفتاح/قيمة للمفرومة (والتي قُدمت أيضًا في بيرل 5.20)، تعيد" |
| 3524 |
" صيغة " |
| 3525 |
"شريحة المصفوفة % قائمة من أزواج الفهرس/القيمة:" |
| 3526 |
|
| 3527 |
#. type: Plain text |
| 3528 |
#: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 3529 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 3530 |
#, no-wrap |
| 3531 |
msgid "" |
| 3532 |
"\\& @a = \"a\"..\"z\";\n" |
| 3533 |
"\\& @list = %a[3,4,6];\n" |
| 3534 |
"\\& # @list is now (3, \"d\", 4, \"e\", 6, \"g\")\n" |
| 3535 |
"\\& @removed = delete %a[3,4,6]\n" |
| 3536 |
"\\& # @removed is now (3, \"d\", 4, \"e\", 6, \"g\")\n" |
| 3537 |
"\\& # @list[3,4,6] are now undef\n" |
| 3538 |
msgstr "" |
| 3539 |
"\\& @a = \"a\"..\"z\";\n" |
| 3540 |
"\\& @list = %a[3,4,6];\n" |
| 3541 |
"\\& # @list هي الآن (3, \"d\", 4, \"e\", 6, \"g\")\n" |
| 3542 |
"\\& @removed = delete %a[3,4,6]\n" |
| 3543 |
"\\& # @removed هي الآن (3, \"d\", 4, \"e\", 6, \"g\")\n" |
| 3544 |
"\\& # @list[3,4,6] هي الآن undef\n" |
| 3545 |
|
| 3546 |
#. type: Plain text |
| 3547 |
#: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 3548 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 3549 |
msgid "" |
| 3550 |
"Note that calling CW<\\*(C`delete\\*(C'> on array values is strongly " |
| 3551 |
"discouraged." |
| 3552 |
msgstr "" |
| 3553 |
"لاحظ أن استدعاء CW<\\*(C`delete\\*(C'> على قيم المصفوفة هو أمر غير محبذ بشدة." |
| 3554 |
|
| 3555 |
#. type: IX |
| 3556 |
#: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 3557 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 3558 |
#, no-wrap |
| 3559 |
msgid "Typeglobs and Filehandles" |
| 3560 |
msgstr "أشكال الأنواع (Typeglobs) ومقابض الملفات" |
| 3561 |
|
| 3562 |
#. type: IX |
| 3563 |
#: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 3564 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 3565 |
#, no-wrap |
| 3566 |
msgid "typeglob filehandle *" |
| 3567 |
msgstr "typeglob filehandle *" |
| 3568 |
|
| 3569 |
#. type: Plain text |
| 3570 |
#: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 3571 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 3572 |
msgid "" |
| 3573 |
"Perl uses an internal type called a I<typeglob> to hold an entire symbol " |
| 3574 |
"table entry. The type prefix of a typeglob is a CW<\\*(C`*\\*(C'>, because " |
| 3575 |
"it represents all types. This used to be the preferred way to pass arrays " |
| 3576 |
"and hashes by reference into a function, but now that we have real " |
| 3577 |
"references, this is seldom needed." |
| 3578 |
msgstr "" |
| 3579 |
"تستخدم بيرل نوعاً داخلياً يسمى I<typeglob> لحفظ مدخل كامل في جدول الرموز. " |
| 3580 |
"بادئة النوع لـ typeglob هي CW<\\*(C`*\\*(C'>، لأنها تمثل جميع الأنواع. كان " |
| 3581 |
"هذا هو الأسلوب المفضل لتمرير المصفوفات والمفرومات بالمرجع إلى الدالة، ولكن " |
| 3582 |
"الآن بما أننا نملك مراجع حقيقية، نادراً ما تبرز الحاجة إلى ذلك." |
| 3583 |
|
| 3584 |
#. type: Plain text |
| 3585 |
#: debian-trixie debian-unstable |
| 3586 |
msgid "" |
| 3587 |
"The main use of typeglobs in modern Perl is create symbol table aliases. " |
| 3588 |
"This assignment:" |
| 3589 |
msgstr "" |
| 3590 |
"الاستخدام الرئيسي لـ typeglobs في بيرل الحديثة هو إنشاء أسماء مستعارة لجدول " |
| 3591 |
"الرموز. هذا التعيين:" |
| 3592 |
|
| 3593 |
#. type: Plain text |
| 3594 |
#: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 3595 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 3596 |
#, no-wrap |
| 3597 |
msgid "\\& *this = *that;\n" |
| 3598 |
msgstr "\\& *this = *that;\n" |
| 3599 |
|
| 3600 |
#. type: Plain text |
| 3601 |
#: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 3602 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 3603 |
msgid "" |
| 3604 |
"makes CW<$this> an alias for CW<$that>, CW<@this> an alias for CW<@that>, " |
| 3605 |
"CW<%this> an alias for CW<%that>, &this an alias for &that, etc. Much safer " |
| 3606 |
"is to use a reference. This:" |
| 3607 |
msgstr "" |
| 3608 |
"يجعل CW<$this> اسماً مستعاراً لـ CW<$that>، و CW<@this> اسماً مستعاراً لـ " |
| 3609 |
"CW<@that>، و CW<%this> اسماً مستعاراً لـ CW<%that>، و &this اسماً مستعاراً لـ " |
| 3610 |
"&that، إلخ. الأكثر أماناً هو استخدام المرجع. هذا:" |
| 3611 |
|
| 3612 |
#. type: Plain text |
| 3613 |
#: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 3614 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 3615 |
#, no-wrap |
| 3616 |
msgid "\\& local *Here::blue = \\e$There::green;\n" |
| 3617 |
msgstr "\\& local *Here::blue = \\e$There::green;\n" |
| 3618 |
|
| 3619 |
#. type: Plain text |
| 3620 |
#: debian-trixie debian-unstable |
| 3621 |
msgid "" |
| 3622 |
"temporarily makes CW<$Here::blue> an alias for CW<$There::green>, but " |
| 3623 |
"doesn't make CW<@Here::blue> an alias for CW<@There::green>, or CW<%Here::" |
| 3624 |
"blue> an alias for \\&CW<%There::green>, etc. See \"Symbol Tables\" in " |
| 3625 |
"perlmod for more examples of this. Strange though this may seem, this is " |
| 3626 |
"the basis for the whole module import/export system." |
| 3627 |
msgstr "" |
| 3628 |
"يجعل CW<$Here::blue> مؤقتاً اسماً مستعاراً لـ CW<$There::green>، ولكنه لا" |
| 3629 |
" يجعل " |
| 3630 |
"CW<@Here::blue> اسماً مستعاراً لـ CW<@There::green>، أو CW<%Here::blue> اسماً " |
| 3631 |
"مستعاراً لـ \\&CW<%There::green>، إلخ. انظر \"Symbol Tables\" في perlmod " |
| 3632 |
"لمزيد من الأمثلة على ذلك. رغم غرابة الأمر، إلا أن هذا هو الأساس لنظام " |
| 3633 |
"استيراد وتصدير الوحدات بأكمله." |
| 3634 |
|
| 3635 |
#. type: Plain text |
| 3636 |
#: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 3637 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 3638 |
msgid "" |
| 3639 |
"Another use for typeglobs is to pass filehandles into a function or to " |
| 3640 |
"create new filehandles. If you need to use a typeglob to save away a " |
| 3641 |
"filehandle, do it this way:" |
| 3642 |
msgstr "" |
| 3643 |
"استخدام آخر لـ typeglobs هو تمرير مقابض الملفات إلى دالة أو إنشاء مقابض " |
| 3644 |
"ملفات جديدة. إذا كنت بحاجة لاستخدام typeglob لحفظ مقبض ملف، فافعل ذلك بهذه " |
| 3645 |
"الطريقة:" |
| 3646 |
|
| 3647 |
#. type: Plain text |
| 3648 |
#: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 3649 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 3650 |
#, no-wrap |
| 3651 |
msgid "\\& $fh = *STDOUT;\n" |
| 3652 |
msgstr "\\& $fh = *STDOUT;\n" |
| 3653 |
|
| 3654 |
#. type: Plain text |
| 3655 |
#: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 3656 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 3657 |
msgid "or perhaps as a real reference, like this:" |
| 3658 |
msgstr "أو ربما كمرجع حقيقي، هكذا:" |
| 3659 |
|
| 3660 |
#. type: Plain text |
| 3661 |
#: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 3662 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 3663 |
#, no-wrap |
| 3664 |
msgid "\\& $fh = \\e*STDOUT;\n" |
| 3665 |
msgstr "\\& $fh = \\e*STDOUT;\n" |
| 3666 |
|
| 3667 |
#. type: Plain text |
| 3668 |
#: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 3669 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 3670 |
msgid "" |
| 3671 |
"See perlsub for examples of using these as indirect filehandles in functions." |
| 3672 |
msgstr "" |
| 3673 |
"انظر perlsub لمعرفة أمثلة عن استخدام هذه كمقابض ملفات غير مباشرة في الدوال." |
| 3674 |
|
| 3675 |
#. type: Plain text |
| 3676 |
#: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 3677 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 3678 |
msgid "" |
| 3679 |
"Typeglobs are also a way to create a local filehandle using the B<local()> " |
| 3680 |
"operator. These last until their block is exited, but may be passed back. " |
| 3681 |
"For example:" |
| 3682 |
msgstr "" |
| 3683 |
"تعد Typeglobs أيضًا وسيلة لإنشاء مقبض ملف محلي باستخدام عامل التشغيل " |
| 3684 |
"B<local()>. تستمر هذه حتى يتم الخروج من كتلتها، ولكن يمكن إعادتها. على سبيل " |
| 3685 |
"المثال:" |
| 3686 |
|
| 3687 |
#. type: Plain text |
| 3688 |
#: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 3689 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 3690 |
#, no-wrap |
| 3691 |
msgid "" |
| 3692 |
"\\& sub newopen {\n" |
| 3693 |
"\\& my $path = shift;\n" |
| 3694 |
"\\& local *FH; # not my!\n" |
| 3695 |
"\\& open (FH, $path) or return undef;\n" |
| 3696 |
"\\& return *FH;\n" |
| 3697 |
"\\& }\n" |
| 3698 |
"\\& $fh = newopen(\\*(Aq/etc/passwd\\*(Aq);\n" |
| 3699 |
msgstr "" |
| 3700 |
"\\& sub newopen {\n" |
| 3701 |
"\\& my $path = shift;\n" |
| 3702 |
"\\& local *FH; # not my!\n" |
| 3703 |
"\\& open (FH, $path) or return undef;\n" |
| 3704 |
"\\& return *FH;\n" |
| 3705 |
"\\& }\n" |
| 3706 |
"\\& $fh = newopen(\\*(Aq/etc/passwd\\*(Aq);\n" |
| 3707 |
|
| 3708 |
#. type: Plain text |
| 3709 |
#: debian-trixie debian-unstable |
| 3710 |
msgid "" |
| 3711 |
"Now that we have the CW<*foo{THING}> notation, typeglobs aren't used as much " |
| 3712 |
"for filehandle manipulations, although they're still needed to pass brand " |
| 3713 |
"new file and directory handles into or out of functions. That's because " |
| 3714 |
"\\&CW<*HANDLE{IO}> only works if HANDLE has already been used as a handle. " |
| 3715 |
"In other words, CW<*FH> must be used to create new symbol table entries; " |
| 3716 |
"\\&CW<*foo{THING}> cannot. When in doubt, use CW<*FH>." |
| 3717 |
msgstr "" |
| 3718 |
"الآن بعد أن أصبح لدينا تدوين CW<*foo{THING}>، لم تعد تستخدم globs الأنواع " |
| 3719 |
"(typeglobs) بكثرة لمعالجة مقابض الملفات، رغم أنها لا تزال مطلوبة لتمرير " |
| 3720 |
"مقابض ملفات وأدلة جديدة كليًا إلى الدوال أو منها. ذلك لأن CW<*HANDLE{IO}> لا " |
| 3721 |
"تعمل إلا إذا كان HANDLE قد استُخدم بالفعل كمقبض. بمعنى آخر، يجب استخدام " |
| 3722 |
"CW<*FH> لإنشاء مدخلات جديدة في جدول الرموز؛ ولا يمكن لـ CW<*foo{THING}> فعل " |
| 3723 |
"ذلك. عند الشك، استخدم CW<*FH>." |
| 3724 |
|
| 3725 |
#. type: Plain text |
| 3726 |
#: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 3727 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 3728 |
msgid "" |
| 3729 |
"All functions that are capable of creating filehandles (B<open()>, " |
| 3730 |
"\\&B<opendir()>, B<pipe()>, B<socketpair()>, B<sysopen()>, B<socket()>, and " |
| 3731 |
"B<accept()>) automatically create an anonymous filehandle if the handle " |
| 3732 |
"passed to them is an uninitialized scalar variable. This allows the " |
| 3733 |
"constructs such as CW<\\*(C`open(my $fh, ...)\\*(C'> and CW<\\*(C`open(local " |
| 3734 |
"$fh,...)\\*(C'> to be used to create filehandles that will conveniently be " |
| 3735 |
"closed automatically when the scope ends, provided there are no other " |
| 3736 |
"references to them. This largely eliminates the need for typeglobs when " |
| 3737 |
"opening filehandles that must be passed around, as in the following example:" |
| 3738 |
msgstr "" |
| 3739 |
"كل الدوال القادرة على إنشاء مقابض الملفات (B<open()>، و\\&B<opendir()>، " |
| 3740 |
"وB<pipe()>، وB<socketpair()>، وB<sysopen()>، وB<socket()>، وB<accept()>) " |
| 3741 |
"تُنشئ آليًا مقبض ملف مجهول إذا كان المقبض الممرر إليها متغيرًا سلميًا غير" |
| 3742 |
" مُهيأ. " |
| 3743 |
"يسمح هذا لاستخدام تراكيب مثل CW<\\*(C`open(my $fh, ...)\\*(C'> و " |
| 3744 |
"CW<\\*(C`open(local $fh,...)\\*(C'> لإنشاء مقابض ملفات ستُغلق آليًا بشكل" |
| 3745 |
" ملائم " |
| 3746 |
"عند انتهاء النطاق، شريطة عدم وجود مراجع أخرى لها. يقلل هذا إلى حد كبير من " |
| 3747 |
"الحاجة إلى typeglobs عند فتح مقابض الملفات التي يجب تمريرها، كما في المثال " |
| 3748 |
"التالي:" |
| 3749 |
|
| 3750 |
#. type: Plain text |
| 3751 |
#: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 3752 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 3753 |
#, no-wrap |
| 3754 |
msgid "" |
| 3755 |
"\\& sub myopen {\n" |
| 3756 |
"\\& open my $fh, \"@_\"\n" |
| 3757 |
"\\& or die \"Can\\*(Aqt open \\*(Aq@_\\*(Aq: $!\";\n" |
| 3758 |
"\\& return $fh;\n" |
| 3759 |
"\\& }\n" |
| 3760 |
"\\&\n" |
| 3761 |
"\\& {\n" |
| 3762 |
"\\& my $f = myopen(\"E<lt>/etc/motd\");\n" |
| 3763 |
"\\& print E<lt>$fE<gt>;\n" |
| 3764 |
"\\& # $f implicitly closed here\n" |
| 3765 |
"\\& }\n" |
| 3766 |
msgstr "" |
| 3767 |
"\\& sub myopen {\n" |
| 3768 |
"\\& open my $fh, \"@_\"\n" |
| 3769 |
"\\& or die \"Can\\*(Aqt open \\*(Aq@_\\*(Aq: $!\";\n" |
| 3770 |
"\\& return $fh;\n" |
| 3771 |
"\\& }\n" |
| 3772 |
"\\&\n" |
| 3773 |
"\\& {\n" |
| 3774 |
"\\& my $f = myopen(\"E<lt>/etc/motd\");\n" |
| 3775 |
"\\& print E<lt>$fE<gt>;\n" |
| 3776 |
"\\& # $f implicitly closed here\n" |
| 3777 |
"\\& }\n" |
| 3778 |
|
| 3779 |
#. type: Plain text |
| 3780 |
#: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 3781 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 3782 |
msgid "" |
| 3783 |
"Note that if an initialized scalar variable is used instead the result is " |
| 3784 |
"different: CW<\\*(C`my $fh=\\*(Aqzzz\\*(Aq; open($fh, ...)\\*(C'> is " |
| 3785 |
"equivalent to CW<\\*(C`open( *{\\*(Aqzzz\\*(Aq}, ...)\\*(C'>. " |
| 3786 |
"\\&CW<\\*(C`use strict \\*(Aqrefs\\*(Aq\\*(C'> forbids such practice." |
| 3787 |
msgstr "" |
| 3788 |
"لاحظ أنه إذا استُخدم متغير عددي ممهد بدلاً من ذلك، فإن النتيجة ستختلف: " |
| 3789 |
"CW<\\*(C`my $fh=\\*(Aqzzz\\*(Aq; open($fh, ...)\\*(C'> تكافئ " |
| 3790 |
"CW<\\*(C`open( *{\\*(Aqzzz\\*(Aq}, ...)\\*(C'>. تمنع \\&CW<\\*(C`use strict " |
| 3791 |
"\\*(Aqrefs\\*(Aq\\*(C'> مثل هذه الممارسة." |
| 3792 |
|
| 3793 |
#. type: Plain text |
| 3794 |
#: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 3795 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 3796 |
msgid "" |
| 3797 |
"Another way to create anonymous filehandles is with the Symbol module or " |
| 3798 |
"with the IO::Handle module and its ilk. These modules have the advantage of " |
| 3799 |
"not hiding different types of the same name during the B<local()>. See the " |
| 3800 |
"bottom of \"open\" in perlfunc for an example." |
| 3801 |
msgstr "" |
| 3802 |
"طريقة أخرى لإنشاء مقابض ملفات مجهولة هي باستخدام وحدة Symbol أو وحدة IO::" |
| 3803 |
"Handle وأمثالها. تتميز هذه الوحدات بعدم إخفاء الأنواع المختلفة للاسم نفسه " |
| 3804 |
"أثناء B<local()>. انظر أسفل \"open\" في perlfunc للحصول على مثال." |
| 3805 |
|
| 3806 |
#. type: IX |
| 3807 |
#: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 3808 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 3809 |
#, no-wrap |
| 3810 |
msgid "SEE ALSO" |
| 3811 |
msgstr "انظر أيضًا" |
| 3812 |
|
| 3813 |
#. type: Plain text |
| 3814 |
#: debian-trixie debian-unstable |
| 3815 |
msgid "" |
| 3816 |
"See perlvar for a description of Perl's built-in variables and a discussion " |
| 3817 |
"of legal variable names. See perlref, perlsub, and \"Symbol Tables\" in " |
| 3818 |
"perlmod for more discussion on typeglobs and the CW<*foo{THING}> syntax." |
| 3819 |
msgstr "" |
| 3820 |
"انظر perlvar لوصف متغيرات بيرل المدمجة ومناقشة أسماء المتغيرات القانونية. " |
| 3821 |
"انظر perlref و perlsub و \"Symbol Tables\" في perlmod لمزيد من النقاش حول " |
| 3822 |
"typeglobs وصيغة CW<*foo{THING}>." |
| 3823 |
|
| 3824 |
#. type: TH |
| 3825 |
#: debian-unstable |
| 3826 |
#, no-wrap |
| 3827 |
msgid "2025-11-16" |
| 3828 |
msgstr "16 نوفمبر 2025" |
| 3829 |
|
| 3830 |
#. type: TH |
| 3831 |
#: fedora-44 opensuse-leap-16-1 opensuse-tumbleweed |
| 3832 |
#, no-wrap |
| 3833 |
msgid "2026-03-09" |
| 3834 |
msgstr "9 مارس 2026" |
| 3835 |
|
| 3836 |
#. type: TH |
| 3837 |
#: fedora-44 opensuse-leap-16-1 opensuse-tumbleweed |
| 3838 |
#, no-wrap |
| 3839 |
msgid "perl v5.42.1" |
| 3840 |
msgstr "بيرل v5.42.1" |
| 3841 |
|
| 3842 |
#. type: Plain text |
| 3843 |
#: fedora-44 fedora-rawhide mageia-cauldron opensuse-leap-16-1 |
| 3844 |
#: opensuse-tumbleweed |
| 3845 |
msgid "" |
| 3846 |
"Values are usually referred to by name, or through a named reference. The " |
| 3847 |
"first character of the name tells you to what sort of data structure it " |
| 3848 |
"refers. This character is called a \"sigil\". The rest of the name tells " |
| 3849 |
"you the particular value to which it refers. Usually this name is a single " |
| 3850 |
"I<identifier>, that is, a string beginning with a letter or underscore, and " |
| 3851 |
"containing letters, underscores, and digits. In some cases, it may be a " |
| 3852 |
"chain of identifiers, separated by CW<\\*(C`::\\*(C'> (or by the deprecated " |
| 3853 |
"CW<\\*(C`\\*(Aq\\*(C'>); all but the last are interpreted as names of " |
| 3854 |
"packages, to locate the namespace in which to look up the final identifier " |
| 3855 |
"(see \"Packages\" in perlmod for details). For a more in-depth discussion " |
| 3856 |
"on identifiers, see \"Identifier parsing\". It\\*(Aqs possible to " |
| 3857 |
"substitute for a simple identifier, an expression that produces a reference " |
| 3858 |
"to the value at runtime. This is described in more detail below and in " |
| 3859 |
"perlref. It is legal, but not recommended, to separate a variable\\*(Aqs " |
| 3860 |
"sigil from its name by space and/or tab characters." |
| 3861 |
msgstr "" |
| 3862 |
"يُشار إلى القيم عادةً بالاسم، أو من خلال مرجع مسمى. يخبرك الحرف الأول من" |
| 3863 |
" الاسم " |
| 3864 |
"بنوع بنية البيانات التي يشير إليها. يسمى هذا الحرف \"sigil\". يخبرك باقي " |
| 3865 |
"الاسم بالقيمة المعينة التي يشير إليها. عادةً ما يكون هذا الاسم عبارة عن " |
| 3866 |
"I<معرف> واحد، أي سلسلة تبدأ بحرف أو شرطة سفلية، وتحتوي على حروف وشرطات سفلية " |
| 3867 |
"وأرقام. في بعض الحالات، قد يكون سلسلة من المعرفات، تفصل بينها CW<\\*(C`::" |
| 3868 |
"\\*(C'> (أو بواسطة CW<\\*(C`\\*(Aq\\*(C'> المهجورة)؛ تُفسر جميعها باستثناء " |
| 3869 |
"الأخير كأوامر حزم، لتحديد مساحة الأسماء التي يجب البحث فيها عن المعرف " |
| 3870 |
"النهائي (انظر \"Packages\" في perlmod لمزيد من التفاصيل). لمناقشة أكثر عمقاً " |
| 3871 |
"حول المعرفات، انظر \"Identifier parsing\". من الممكن استبدال المعرف البسيط " |
| 3872 |
"بتعبير ينتج مرجعاً للقيمة في وقت التشغيل. وُصف هذا بمزيد من التفصيل أدناه وفي " |
| 3873 |
"perlref. من القانوني، ولكن لا يُنصح به، فصل sigil الخاص بالمتغير عن اسمه " |
| 3874 |
"بمسافة و/أو أحرف جدولة." |
| 3875 |
|
| 3876 |
#. type: IX |
| 3877 |
#: fedora-44 fedora-rawhide mageia-cauldron opensuse-leap-16-1 |
| 3878 |
#: opensuse-tumbleweed |
| 3879 |
#, no-wrap |
| 3880 |
msgid "identifier sigil" |
| 3881 |
msgstr "معرف sigil" |
| 3882 |
|
| 3883 |
#. type: Plain text |
| 3884 |
#: fedora-44 fedora-rawhide mageia-cauldron opensuse-leap-16-1 |
| 3885 |
#: opensuse-tumbleweed |
| 3886 |
msgid "" |
| 3887 |
"Perl also has its own built-in variables whose names don\\*(Aqt follow these " |
| 3888 |
"rules. They have strange names so they don\\*(Aqt accidentally collide with " |
| 3889 |
"one of your normal variables. Strings that match parenthesized parts of a " |
| 3890 |
"regular expression are saved under names containing only digits after the " |
| 3891 |
"CW<\\*(C`$\\*(C'> (see perlop and perlre). In addition, several special " |
| 3892 |
"variables that provide windows into the inner working of Perl have names " |
| 3893 |
"containing punctuation characters. These are documented in perlvar." |
| 3894 |
msgstr "" |
| 3895 |
"تمتلك بيرل أيضًا متغيراتها المدمجة الخاصة التي لا تتبع أسماؤها هذه القواعد. " |
| 3896 |
"لها أسماء غريبة حتى لا تتصادم عرضاً مع أحد متغيراتك العادية. تُحفظ السلاسل " |
| 3897 |
"التي تطابق الأجزاء الموجودة بين قوسين من تعبير نمطي تحت أسماء تحتوي فقط على " |
| 3898 |
"أرقام بعد CW<\\*(C`$\\*(C'> (انظر perlop و perlre). بالإضافة إلى ذلك، تمتلك " |
| 3899 |
"العديد من المتغيرات الخاصة التي توفر نوافذ على العمل الداخلي لبيرل أسماءً " |
| 3900 |
"تحتوي على علامات ترقيم. وُثقت هذه في perlvar." |
| 3901 |
|
| 3902 |
#. type: Plain text |
| 3903 |
#: fedora-44 fedora-rawhide mageia-cauldron opensuse-leap-16-1 |
| 3904 |
#: opensuse-tumbleweed |
| 3905 |
msgid "" |
| 3906 |
"Scalar values are always named with the sigil CW<\\*(Aq$\\*(Aq>, even when " |
| 3907 |
"referring to a scalar that is part of an array or a hash. The CW<\\*(Aq$" |
| 3908 |
"\\*(Aq> symbol works semantically like the English word \"the\" in that it " |
| 3909 |
"indicates a single value is expected." |
| 3910 |
msgstr "" |
| 3911 |
"تُسمى القيم العددية دائماً بـ sigil CW<\\*(Aq$\\*(Aq>، حتى عند الإشارة إلى " |
| 3912 |
"قيمة عددية هي جزء من مصفوفة أو هاش. يعمل الرمز CW<\\*(Aq$\\*(Aq> دلالياً مثل " |
| 3913 |
"أداة التعريف \"الـ\" في العربية من حيث أنه يشير إلى توقع قيمة واحدة." |
| 3914 |
|
| 3915 |
#. type: Plain text |
| 3916 |
#: fedora-44 fedora-rawhide mageia-cauldron opensuse-leap-16-1 |
| 3917 |
#: opensuse-tumbleweed |
| 3918 |
msgid "" |
| 3919 |
"Entire arrays (and slices of arrays and hashes) are denoted by the sigil " |
| 3920 |
"\\&CW<\\*(Aq@\\*(Aq>, which works much as the word \"these\" or \"those\" " |
| 3921 |
"does in English, in that it indicates multiple values are expected." |
| 3922 |
msgstr "" |
| 3923 |
"يُشار إلى المصفوفات الكاملة (وشرائح المصفوفات والهاش) بـ sigil " |
| 3924 |
"\\&CW<\\*(Aq@\\*(Aq>، الذي يعمل تماماً مثل أسماء الإشارة للجمع، من حيث أنه " |
| 3925 |
"يشير إلى توقع قيم متعددة." |
| 3926 |
|
| 3927 |
#. type: Plain text |
| 3928 |
#: fedora-44 fedora-rawhide mageia-cauldron opensuse-leap-16-1 |
| 3929 |
#: opensuse-tumbleweed |
| 3930 |
msgid "Entire hashes are denoted by the sigil \\*(Aq%\\*(Aq:" |
| 3931 |
msgstr "يُشار إلى الهاش بالكامل بـ sigil \\*(Aq%\\*(Aq:" |
| 3932 |
|
| 3933 |
#. type: Plain text |
| 3934 |
#: fedora-44 fedora-rawhide mageia-cauldron opensuse-leap-16-1 |
| 3935 |
#: opensuse-tumbleweed |
| 3936 |
msgid "" |
| 3937 |
"In addition, subroutines are named with an initial sigil CW<\\*(Aq&\\*(Aq>, " |
| 3938 |
"though this is optional when unambiguous, just as the word \"do\" is often " |
| 3939 |
"redundant in English. Symbol table entries can be named with an initial " |
| 3940 |
"CW<\\*(Aq*\\*(Aq>, but you don\\*(Aqt really care about that yet (if " |
| 3941 |
"ever :-)." |
| 3942 |
msgstr "" |
| 3943 |
"بالإضافة إلى ذلك، تُسمى الروتينات الفرعية بـ sigil ابتدائي CW<\\*(Aq&\\*(Aq>، " |
| 3944 |
"رغم أن هذا اختياري عندما لا يكون هناك لبس. يمكن تسمية إدخالات جدول الرموز بـ " |
| 3945 |
"CW<\\*(Aq*\\*(Aq> ابتدائي، لكنك لا تهتم حقًا بذلك بعد (هذا إذا اهتممت " |
| 3946 |
"يوماً :-)." |
| 3947 |
|
| 3948 |
#. type: Plain text |
| 3949 |
#: fedora-44 fedora-rawhide mageia-cauldron opensuse-leap-16-1 |
| 3950 |
#: opensuse-tumbleweed |
| 3951 |
msgid "" |
| 3952 |
"Every variable type has its own namespace, as do several non-variable " |
| 3953 |
"identifiers. This means that you can, without fear of conflict, use the " |
| 3954 |
"same name for a scalar variable, an array, or a hash--or, for that matter, " |
| 3955 |
"for a filehandle, a directory handle, a subroutine name, a format name, or a " |
| 3956 |
"label. This means that CW<$foo> and CW<@foo> are two different variables. " |
| 3957 |
"It also means that CW<$foo[1]> is a part of CW<@foo>, not a part of " |
| 3958 |
"CW<$foo>. This may seem a bit weird, but that\\*(Aqs okay, because it is " |
| 3959 |
"weird." |
| 3960 |
msgstr "" |
| 3961 |
"لكل نوع متغير مساحة أسماء خاصة به، وكذلك لعدة معرفات غير متغيرة. وهذا يعني " |
| 3962 |
"أنه يمكنك، دون خوف من التعارض، استخدام الاسم نفسه لمتغير عددي، أو مصفوفة، أو " |
| 3963 |
"هاش - أو، في هذا الصدد، لمقبض ملف، أو مقبض دليل، أو اسم روتين فرعي، أو اسم " |
| 3964 |
"تنسيق، أو وسم. وهذا يعني أن CW<$foo> و CW<@foo> متغيران مختلفان. ويعني أيضًا " |
| 3965 |
"أن CW<$foo[1]> جزء من CW<@foo>، وليس جزءاً من CW<$foo>. قد يبدو هذا غريباً" |
| 3966 |
" بعض " |
| 3967 |
"الشيء، لكن هذا لا بأس به، لأنه غريب بالفعل." |
| 3968 |
|
| 3969 |
#. type: Plain text |
| 3970 |
#: fedora-44 fedora-rawhide mageia-cauldron opensuse-leap-16-1 |
| 3971 |
#: opensuse-tumbleweed |
| 3972 |
msgid "" |
| 3973 |
"Because variable references always start with the sigils CW<\\*(Aq$\\*(Aq>, " |
| 3974 |
"CW<\\*(Aq@\\*(Aq>, or \\&CW<\\*(Aq%\\*(Aq>, the \"reserved\" words " |
| 3975 |
"aren\\*(Aqt in fact reserved with respect to variable names. They I<are> " |
| 3976 |
"reserved with respect to labels and filehandles, however, which don\\*(Aqt " |
| 3977 |
"have an initial special character. You can\\*(Aqt have a filehandle named " |
| 3978 |
"\"log\", for instance. Hint: you could say \\&CW<\\*(C`open(LOG," |
| 3979 |
"\\*(Aqlogfile\\*(Aq)\\*(C'> rather than CW<\\*(C`open(log," |
| 3980 |
"\\*(Aqlogfile\\*(Aq)\\*(C'>. Using uppercase filehandles also improves " |
| 3981 |
"readability and protects you from conflict with future reserved words. Case " |
| 3982 |
"I<is> significant--\"FOO\", \"Foo\", and \"foo\" are all different names. " |
| 3983 |
"Names that start with a letter or underscore may also contain digits and " |
| 3984 |
"underscores." |
| 3985 |
msgstr "" |
| 3986 |
"نظراً لأن مراجع المتغيرات تبدأ دائماً بـ sigils CW<\\*(Aq$\\*(Aq>، أو " |
| 3987 |
"CW<\\*(Aq@\\*(Aq>، أو \\&CW<\\*(Aq%\\*(Aq>، فإن الكلمات \"المحجوزة\" ليست في " |
| 3988 |
"الواقع محجوزة فيما يتعلق بأسماء المتغيرات. ومع ذلك، I<فهي> محجوزة فيما يتعلق " |
| 3989 |
"باللصائق ومقابض الملفات، التي لا تحتوي على حرف خاص ابتدائي. لا يمكنك امتلاك " |
| 3990 |
"مقبض ملف باسم \"log\"، على سبيل المثال. تلميح: يمكنك قول " |
| 3991 |
"\\&CW<\\*(C`open(LOG,\\*(Aqlogfile\\*(Aq)\\*(C'> بدلاً من CW<\\*(C`open(log," |
| 3992 |
"\\*(Aqlogfile\\*(Aq)\\*(C'>. كما أن استخدام مقابض الملفات بأحرف كبيرة يحسن " |
| 3993 |
"قابلية القراءة ويحميك من التعارض مع الكلمات المحجوزة المستقبلية. حالة الأحرف " |
| 3994 |
"I<مهمة> -- \"FOO\" و \"Foo\" و \"foo\" كلها أسماء مختلفة. الأسماء التي تبدأ " |
| 3995 |
"بحرف أو شرطة سفلية قد تحتوي أيضًا على أرقام وشرطات سفلية." |
| 3996 |
|
| 3997 |
#. type: Plain text |
| 3998 |
#: fedora-44 fedora-rawhide mageia-cauldron opensuse-leap-16-1 |
| 3999 |
#: opensuse-tumbleweed |
| 4000 |
msgid "" |
| 4001 |
"Names that start with a digit may contain only more digits. Names that do " |
| 4002 |
"not start with a letter, underscore, digit or a caret are limited to one " |
| 4003 |
"character, e.g., CW<$%> or \\&CW<$$>. (Most of these one character names " |
| 4004 |
"have a predefined significance to Perl. For instance, CW<$$> is the current " |
| 4005 |
"process id. And all such names are reserved for Perl\\*(Aqs possible use.)" |
| 4006 |
msgstr "" |
| 4007 |
"الأسماء التي تبدأ برقم قد تحتوي فقط على مزيد من الأرقام. الأسماء التي لا " |
| 4008 |
"تبدأ بحرف أو شرطة سفلية أو رقم أو علامة أقحوان تقتصر على حرف واحد، مثل CW<$" |
| 4009 |
"%> أو \\&CW<$$>. (معظم هذه الأسماء المكونة من حرف واحد لها أهمية محددة مسبقاً " |
| 4010 |
"في بيرل. على سبيل المثال، CW<$$> هو معرف العملية الحالي. وجميع هذه الأسماء " |
| 4011 |
"محجوزة لاستخدام بيرل المحتمل.)" |
| 4012 |
|
| 4013 |
#. type: Plain text |
| 4014 |
#: fedora-44 fedora-rawhide mageia-cauldron opensuse-leap-16-1 |
| 4015 |
#: opensuse-tumbleweed |
| 4016 |
msgid "" |
| 4017 |
"Up until Perl 5.18, the actual rules of what a valid identifier was were a " |
| 4018 |
"bit fuzzy. However, in general, anything defined here should work on " |
| 4019 |
"previous versions of Perl, while the opposite -- edge cases that work in " |
| 4020 |
"previous versions, but aren\\*(Aqt defined here -- probably won\\*(Aqt work " |
| 4021 |
"on newer versions. As an important side note, please note that the " |
| 4022 |
"following only applies to bareword identifiers as found in Perl source code, " |
| 4023 |
"not identifiers introduced through symbolic references, which have much " |
| 4024 |
"fewer restrictions. If working under the effect of the CW<\\*(C`use utf8;" |
| 4025 |
"\\*(C'> pragma, the following rules apply:" |
| 4026 |
msgstr "" |
| 4027 |
"حتى بيرل 5.18، كانت القواعد الفعلية لما يعد معرفاً صالحاً غامضة قليلاً. ومع " |
| 4028 |
"ذلك، بشكل عام، أي شيء مُعرّف هنا يجب أن يعمل في الإصدارات السابقة من بيرل، " |
| 4029 |
"بينما العكس -- الحالات الحدية التي تعمل في الإصدارات السابقة ولكنها ليست " |
| 4030 |
"مُعرّفة هنا -- ربما لن تعمل في الإصدارات الأحدث. كملاحظة جانبية رئيسة، يرجى " |
| 4031 |
"ملاحظة أن ما يلي ينطبق فقط على معرفات الكلمات المجردة (bareword) كما توجد في " |
| 4032 |
"كود مصدر بيرل، وليس المعرفات المقدمة من خلال المراجع الرمزية، التي لديها " |
| 4033 |
"قيود أقل بكثير. إذا كنت تعمل تحت تأثير CW<\\*(C`use utf8;\\*(C'>، فتطبق " |
| 4034 |
"القواعد التالية:" |
| 4035 |
|
| 4036 |
#. type: Plain text |
| 4037 |
#: fedora-44 fedora-rawhide mageia-cauldron opensuse-leap-16-1 |
| 4038 |
#: opensuse-tumbleweed |
| 4039 |
msgid "" |
| 4040 |
"There is one package separator in Perl: A double colon (CW<\\*(C`::" |
| 4041 |
"\\*(C'>). Normal identifiers can start or end with a double colon, and can " |
| 4042 |
"contain several parts delimited by double colons." |
| 4043 |
msgstr "" |
| 4044 |
"يوجد فاصل حزم واحد في بيرل: النقطتان المزدوجتان (CW<\\*(C`::\\*(C'>). يمكن " |
| 4045 |
"للمعرفات العادية أن تبدأ أو تنتهي بنقطتين مزدوجتين، ويمكن أن تحتوي على عدة " |
| 4046 |
"أجزاء مفصولة بنقطتين مزدوجتين." |
| 4047 |
|
| 4048 |
#. type: Plain text |
| 4049 |
#: fedora-44 fedora-rawhide mageia-cauldron opensuse-leap-16-1 |
| 4050 |
#: opensuse-tumbleweed |
| 4051 |
msgid "" |
| 4052 |
"Previously you could use CW<\\*(C`\\*(Aq\\*(C'> as a package separator, this " |
| 4053 |
"was removed in Perl 5.42." |
| 4054 |
msgstr "" |
| 4055 |
"سابقاً كان بإمكانك استخدام CW<\\*(C`\\*(Aq\\*(C'> كفاصل حزم، وُزيل هذا في" |
| 4056 |
" بيرل " |
| 4057 |
"5.42." |
| 4058 |
|
| 4059 |
#. type: Plain text |
| 4060 |
#: fedora-44 fedora-rawhide mageia-cauldron opensuse-leap-16-1 |
| 4061 |
#: opensuse-tumbleweed |
| 4062 |
msgid "" |
| 4063 |
"Additionally, if the identifier is preceded by a sigil -- that is, if the " |
| 4064 |
"identifier is part of a variable name -- it may optionally be enclosed in " |
| 4065 |
"braces. For example, CW<\\*(C`${name}\\*(C'>, \\&CW<\\*(C`@{bigcats}\\*(C'>, " |
| 4066 |
"CW<\\*(C`%{pizza_toppings}\\*(C'>." |
| 4067 |
msgstr "" |
| 4068 |
"بالإضافة إلى ذلك، إذا كان المعرف مسبوقاً بـ sigil -- أي إذا كان المعرف جزءاً " |
| 4069 |
"من اسم متغير -- فيمكن اختيارياً وضعه بين أقواس مجعدة. على سبيل المثال، " |
| 4070 |
"CW<\\*(C`${name}\\*(C'>، \\&CW<\\*(C`@{bigcats}\\*(C'>، " |
| 4071 |
"CW<\\*(C`%{pizza_toppings}\\*(C'>." |
| 4072 |
|
| 4073 |
#. type: Plain text |
| 4074 |
#: fedora-44 fedora-rawhide mageia-cauldron opensuse-leap-16-1 |
| 4075 |
#: opensuse-tumbleweed |
| 4076 |
#, no-wrap |
| 4077 |
msgid "" |
| 4078 |
"\\& /\n" |
| 4079 |
"\\& (?(DEFINE)\n" |
| 4080 |
"\\& (?E<lt>variableE<gt>\n" |
| 4081 |
"\\& (?&sigil)\n" |
| 4082 |
"\\& (?:\n" |
| 4083 |
"\\& (?&normal_identifier)\n" |
| 4084 |
"\\& | \\e{ \\es* (?&normal_identifier) \\es* \\e}\n" |
| 4085 |
"\\& )\n" |
| 4086 |
"\\& )\n" |
| 4087 |
"\\& (?E<lt>normal_identifierE<gt>\n" |
| 4088 |
"\\& (?: :: )*\n" |
| 4089 |
"\\& (?&basic_identifier)\n" |
| 4090 |
"\\& (?: (?= :: ) (?&normal_identifier) )?\n" |
| 4091 |
"\\& (?: :: )*\n" |
| 4092 |
"\\& )\n" |
| 4093 |
"\\& (?E<lt>basic_identifierE<gt>\n" |
| 4094 |
"\\& # is use utf8 on?\n" |
| 4095 |
"\\& (?(?{ (caller(0))[8] & $utf8::hint_bits })\n" |
| 4096 |
"\\& (?&Perl_XIDS) (?&Perl_XIDC)*\n" |
| 4097 |
"\\& | (?aa) (?!\\ed) \\ew+\n" |
| 4098 |
"\\& )\n" |
| 4099 |
"\\& )\n" |
| 4100 |
"\\& (?E<lt>sigilE<gt> \\e$\\e# | [&*\\e$\\e@%])\n" |
| 4101 |
"\\& (?E<lt>Perl_XIDSE<gt> (?[ ( \\ep{Word} & \\ep{XID_Start} ) + [_] ])" |
| 4102 |
" )\n" |
| 4103 |
"\\& (?E<lt>Perl_XIDCE<gt> (?[ \\ep{Word} & \\ep{XID_Continue} ]) )\n" |
| 4104 |
"\\& )\n" |
| 4105 |
"\\& /x\n" |
| 4106 |
msgstr "" |
| 4107 |
"\\& /\n" |
| 4108 |
"\\& (?(DEFINE)\n" |
| 4109 |
"\\& (?E<lt>variableE<gt>\n" |
| 4110 |
"\\& (?&sigil)\n" |
| 4111 |
"\\& (?:\n" |
| 4112 |
"\\& (?&normal_identifier)\n" |
| 4113 |
"\\& | \\e{ \\es* (?&normal_identifier) \\es* \\e}\n" |
| 4114 |
"\\& )\n" |
| 4115 |
"\\& )\n" |
| 4116 |
"\\& (?E<lt>normal_identifierE<gt>\n" |
| 4117 |
"\\& (?: :: )*\n" |
| 4118 |
"\\& (?&basic_identifier)\n" |
| 4119 |
"\\& (?: (?= :: ) (?&normal_identifier) )?\n" |
| 4120 |
"\\& (?: :: )*\n" |
| 4121 |
"\\& )\n" |
| 4122 |
"\\& (?E<lt>basic_identifierE<gt>\n" |
| 4123 |
"\\& # هل use utf8 مفعل؟\n" |
| 4124 |
"\\& (?(?{ (caller(0))[8] & $utf8::hint_bits })\n" |
| 4125 |
"\\& (?&Perl_XIDS) (?&Perl_XIDC)*\n" |
| 4126 |
"\\& | (?aa) (?!\\ed) \\ew+\n" |
| 4127 |
"\\& )\n" |
| 4128 |
"\\& )\n" |
| 4129 |
"\\& (?E<lt>sigilE<gt> \\e$\\e# | [&*\\e$\\e@%])\n" |
| 4130 |
"\\& (?E<lt>Perl_XIDSE<gt> (?[ ( \\ep{Word} & \\ep{XID_Start} ) + [_] ])" |
| 4131 |
" )\n" |
| 4132 |
"\\& (?E<lt>Perl_XIDCE<gt> (?[ \\ep{Word} & \\ep{XID_Continue} ]) )\n" |
| 4133 |
"\\& )\n" |
| 4134 |
"\\& /x\n" |
| 4135 |
|
| 4136 |
#. type: Plain text |
| 4137 |
#: fedora-44 fedora-rawhide mageia-cauldron opensuse-leap-16-1 |
| 4138 |
#: opensuse-tumbleweed |
| 4139 |
msgid "" |
| 4140 |
"Meanwhile, special identifiers don\\*(Aqt follow the above rules; For the " |
| 4141 |
"most part, all of the identifiers in this category have a special meaning " |
| 4142 |
"given by Perl. Because they have special parsing rules, these generally " |
| 4143 |
"can\\*(Aqt be fully-qualified. They come in six forms (but don\\*(Aqt use " |
| 4144 |
"forms 5 and 6):" |
| 4145 |
msgstr "" |
| 4146 |
"وفي الوقت نفسه، لا تتبع المعرفات الخاصة القواعد المذكورة أعلاه؛ ففي الغالب، " |
| 4147 |
"تمتلك جميع المعرفات في هذه الفئة معنى خاصاً تمنحه بيرل. ولأن لها قواعد تحليل " |
| 4148 |
"خاصة، فلا يمكن عموماً جعلها مؤهلة بالكامل. وتأتي في ستة أشكال (لكن لا تستخدم " |
| 4149 |
"الشكلين 5 و 6):" |
| 4150 |
|
| 4151 |
#. type: Plain text |
| 4152 |
#: fedora-44 fedora-rawhide mageia-cauldron opensuse-leap-16-1 |
| 4153 |
#: opensuse-tumbleweed |
| 4154 |
msgid "" |
| 4155 |
"A sigil followed by a single character matching the " |
| 4156 |
"CW<\\*(C`\\ep{POSIX_Punct}\\*(C'> property, like CW<$!> or CW<\\*(C`%+" |
| 4157 |
"\\*(C'>, except the character CW<\"{\"> doesn\\*(Aqt work." |
| 4158 |
msgstr "" |
| 4159 |
"sigil متبوع بحرف واحد يطابق خاصية CW<\\*(C`\\ep{POSIX_Punct}\\*(C'>، مثل " |
| 4160 |
"CW<$!> أو CW<\\*(C`%+\\*(C'>، باستثناء الحرف CW<\"{\"> الذي لا يعمل." |
| 4161 |
|
| 4162 |
#. type: Plain text |
| 4163 |
#: fedora-44 fedora-rawhide mageia-cauldron opensuse-leap-16-1 |
| 4164 |
#: opensuse-tumbleweed |
| 4165 |
msgid "" |
| 4166 |
"Note that an implication of this form is that there are identifiers only " |
| 4167 |
"legal under CW<\"use\\ utf8\">, and vice-versa, for example the identifier " |
| 4168 |
"\\&CW<$état> is legal under CW<\"use\\ utf8\">, but is otherwise considered " |
| 4169 |
"to be the single character variable CW<$é> followed by the bareword " |
| 4170 |
"CW<\"tat\">, the combination of which is a syntax error." |
| 4171 |
msgstr "" |
| 4172 |
"لاحظ أن مضمن هذا الشكل هو وجود معرفات قانونية فقط تحت CW<\"use\\ utf8\">، " |
| 4173 |
"والعكس صحيح، على سبيل المثال المعرف \\&CW<$état> قانوني تحت CW<\"use\\ " |
| 4174 |
"utf8\">، ولكن بخلاف ذلك يُعتبر المتغير المكون من حرف واحد CW<$é> متبوعاً " |
| 4175 |
"بالكلمة المجردة CW<\"tat\">، وهذا المزيج يعد خطأً في الصيغة." |
| 4176 |
|
| 4177 |
#. type: Plain text |
| 4178 |
#: fedora-44 fedora-rawhide mageia-cauldron opensuse-leap-16-1 |
| 4179 |
#: opensuse-tumbleweed |
| 4180 |
msgid "" |
| 4181 |
"When you use the CW<\\*(C`use warnings\\*(C'> pragma or Perl\\*(Aqs B<-w> " |
| 4182 |
"command-line option, you may see warnings about useless uses of constants or " |
| 4183 |
"functions in \"void context\". Void context just means the value has been " |
| 4184 |
"discarded, such as a statement containing only CW<\\*(C`\"fred\";\\*(C'> or " |
| 4185 |
"CW<\\*(C`getpwuid(0);\\*(C'>. It still counts as scalar context for " |
| 4186 |
"functions that care whether or not they\\*(Aqre being called in list context." |
| 4187 |
msgstr "" |
| 4188 |
"عندما تستخدم CW<\\*(C`use warnings\\*(C'> أو خيار سطر الأوامر B<-w> لبيرل، " |
| 4189 |
"قد ترى تحذيرات حول استخدامات عديمة الفائدة للثوابت أو الدوال في \"سياق " |
| 4190 |
"باطل\" (void context). السياق الباطل يعني ببساطة أنه وُبذلت القيمة، مثل عبارة " |
| 4191 |
"تحتوي فقط على CW<\\*(C`\"fred\";\\*(C'> أو CW<\\*(C`getpwuid(0);\\*(C'>. ولا " |
| 4192 |
"يزال يُحسب كسياق عددي للدوال التي تهتم بما إذا كان قد وُستدعيت في سياق قائمة " |
| 4193 |
"أم لا." |
| 4194 |
|
| 4195 |
#. type: Plain text |
| 4196 |
#: fedora-44 fedora-rawhide mageia-cauldron opensuse-leap-16-1 |
| 4197 |
#: opensuse-tumbleweed |
| 4198 |
msgid "" |
| 4199 |
"User-defined subroutines may choose to care whether they are being called in " |
| 4200 |
"a void, scalar, or list context. Most subroutines do not need to bother, " |
| 4201 |
"though. That\\*(Aqs because both scalars and lists are automatically " |
| 4202 |
"interpolated into lists. See \"wantarray\" in perlfunc for how you would " |
| 4203 |
"dynamically discern your function\\*(Aqs calling context." |
| 4204 |
msgstr "" |
| 4205 |
"قد تختار الروتينات الفرعية التي يحددها المستخدم الاهتمام بما إذا كان قد " |
| 4206 |
"وُستدعيت في سياق باطل أو عددي أو قائمة. ومع ذلك، لا تحتاج معظم الروتينات " |
| 4207 |
"الفرعية إلى الاهتمام بذلك. وذلك لأن كلاً من المقادير العددية والقوائم تُدمج " |
| 4208 |
"آلياً في القوائم. انظر \"wantarray\" في perlfunc لمعرفة كيفية تمييز سياق " |
| 4209 |
"استدعاء دالتك ديناميكياً." |
| 4210 |
|
| 4211 |
#. type: Plain text |
| 4212 |
#: fedora-44 fedora-rawhide mageia-cauldron opensuse-leap-16-1 |
| 4213 |
#: opensuse-tumbleweed |
| 4214 |
msgid "" |
| 4215 |
"Scalars aren\\*(Aqt necessarily one thing or another. There\\*(Aqs no place " |
| 4216 |
"to declare a scalar variable to be of type \"string\", type \"number\", type " |
| 4217 |
"\"reference\", or anything else. Because of the automatic conversion of " |
| 4218 |
"scalars, operations that return scalars don\\*(Aqt need to care (and in " |
| 4219 |
"fact, cannot care) whether their caller is looking for a string, a number, " |
| 4220 |
"or a reference. Perl is a contextually polymorphic language whose scalars " |
| 4221 |
"can be strings, numbers, or references (which includes objects). Although " |
| 4222 |
"strings and numbers are considered pretty much the same thing for nearly all " |
| 4223 |
"purposes, references are strongly-typed, uncastable pointers with builtin " |
| 4224 |
"reference-counting and destructor invocation." |
| 4225 |
msgstr "" |
| 4226 |
"المقادير العددية ليست بالضرورة شيئاً واحداً أو آخر. لا يوجد مكان للتصريح عن " |
| 4227 |
"متغير عددي بأنه من نوع \"سلسلة\" أو \"رقم\" أو \"مرجع\" أو أي شيء آخر. بسبب " |
| 4228 |
"التحويل الآلي للمقادير العددية، لا تحتاج العمليات التي تعيد مقادير عددية إلى " |
| 4229 |
"الاهتمام (وفي الواقع، لا يمكنها الاهتمام) بما إذا كان المستدعِي يبحث عن سلسلة " |
| 4230 |
"أو رقم أو مرجع. بيرل لغة متعددة الأشكال سياقياً يمكن أن تكون مقاديرها العددية " |
| 4231 |
"سلاسل أو أرقاماً أو مراجع (بما في ذلك الكائنات). على الرغم من أن السلاسل " |
| 4232 |
"والأرقام تُعتبر الشيء نفسه تقريباً لجميع الأغراض تقريباً، إلا أن المراجع هي " |
| 4233 |
"مؤشرات قوية النوع، غير قابلة للتحويل، مع عد مراجع مدمج واستدعاء مدمر." |
| 4234 |
|
| 4235 |
#. type: Plain text |
| 4236 |
#: fedora-44 fedora-rawhide mageia-cauldron opensuse-leap-16-1 |
| 4237 |
#: opensuse-tumbleweed |
| 4238 |
msgid "" |
| 4239 |
"To find out whether a given string is a valid non-zero number, it\\*(Aqs " |
| 4240 |
"sometimes enough to test it against both numeric 0 and also lexical " |
| 4241 |
"\"0\" (although this will cause noises if warnings are on). That\\*(Aqs " |
| 4242 |
"because strings that aren\\*(Aqt numbers count as 0, just as they do in " |
| 4243 |
"B<awk>:" |
| 4244 |
msgstr "" |
| 4245 |
"لمعرفة ما إذا كانت سلسلة معينة رقماً صالحاً غير صفري، يكفي أحياناً اختبارها " |
| 4246 |
"مقابل 0 الرقمي وأيضًا \"0\" اللفظي (رغم أن هذا سيسبب ضجيجاً إذا كانت" |
| 4247 |
" التحذيرات " |
| 4248 |
"مفعلة). وذلك لأن السلاسل التي ليست أرقاماً تُحسب كـ 0، تماماً كما هو الحال في " |
| 4249 |
"B<awk>:" |
| 4250 |
|
| 4251 |
#. type: Plain text |
| 4252 |
#: fedora-44 fedora-rawhide mageia-cauldron opensuse-leap-16-1 |
| 4253 |
#: opensuse-tumbleweed |
| 4254 |
msgid "" |
| 4255 |
"That method may be best because otherwise you won\\*(Aqt treat IEEE " |
| 4256 |
"notations like CW<\\*(C`NaN\\*(C'> or CW<\\*(C`Infinity\\*(C'> properly. At " |
| 4257 |
"other times, you might prefer to determine whether string data can be used " |
| 4258 |
"numerically by calling the B<POSIX::strtod()> function or by inspecting your " |
| 4259 |
"string with a regular expression (as documented in perlre)." |
| 4260 |
msgstr "" |
| 4261 |
"قد تكون هذه الطريقة هي الأفضل لأنك بخلاف ذلك لن تعامل تدوينات IEEE مثل " |
| 4262 |
"CW<\\*(C`NaN\\*(C'> أو CW<\\*(C`Infinity\\*(C'> بشكل صحيح. في أوقات أخرى، قد " |
| 4263 |
"تفضل تحديد ما إذا كان يمكن استخدام بيانات السلسلة عددياً عن طريق استدعاء دالة " |
| 4264 |
"B<POSIX::strtod()> أو بفحص سلسلتك بتعبير نمطي (كما هو موثق في perlre)." |
| 4265 |
|
| 4266 |
#. type: Plain text |
| 4267 |
#: fedora-44 fedora-rawhide mageia-cauldron opensuse-leap-16-1 |
| 4268 |
#: opensuse-tumbleweed |
| 4269 |
msgid "" |
| 4270 |
"The length of an array is a scalar value. You may find the length of array " |
| 4271 |
"CW<@days> by evaluating CW<$#days>, as in B<csh>. However, this isn\\*(Aqt " |
| 4272 |
"the length of the array; it\\*(Aqs the subscript of the last element, which " |
| 4273 |
"is a different value since there is ordinarily a 0th element. Assigning to " |
| 4274 |
"CW<$#days> actually changes the length of the array. Shortening an array " |
| 4275 |
"this way destroys intervening values. Lengthening an array that was " |
| 4276 |
"previously shortened does not recover values that were in those elements." |
| 4277 |
msgstr "" |
| 4278 |
"طول المصفوفة هو قيمة عددية. يمكنك العثور على طول المصفوفة CW<@days> من خلال " |
| 4279 |
"تقييم CW<$#days>، كما في B<csh>. ومع ذلك، هذا ليس طول المصفوفة؛ إنه دليل " |
| 4280 |
"العنصر الأخير، وهو قيمة مختلفة لأن هناك عادة عنصراً في المرتبة 0. التعيين لـ " |
| 4281 |
"CW<$#days> يغير بالفعل طول المصفوفة. تقصير المصفوفة بهذه الطريقة يدمر القيم " |
| 4282 |
"البينية. إطالة المصفوفة التي وُقصرت سابقاً لا يستعيد القيم التي كانت في تلك " |
| 4283 |
"العناصر." |
| 4284 |
|
| 4285 |
#. type: Plain text |
| 4286 |
#: fedora-44 fedora-rawhide mageia-cauldron opensuse-leap-16-1 |
| 4287 |
#: opensuse-tumbleweed |
| 4288 |
msgid "" |
| 4289 |
"Prior to Perl 5.25 the value returned was a string consisting of the number " |
| 4290 |
"of used buckets and the number of allocated buckets, separated by a slash. " |
| 4291 |
"This is pretty much useful only to find out whether Perl\\*(Aqs internal " |
| 4292 |
"hashing algorithm is performing poorly on your data set. For example, you " |
| 4293 |
"stick 10,000 things in a hash, but evaluating \\&CW<%HASH> in scalar context " |
| 4294 |
"reveals CW<\"1/16\">, which means only one out of sixteen buckets has been " |
| 4295 |
"touched, and presumably contains all 10,000 of your items. This isn\\*(Aqt " |
| 4296 |
"supposed to happen." |
| 4297 |
msgstr "" |
| 4298 |
"قبل بيرل 5.25 كانت القيمة المعادة عبارة عن سلسلة تتكون من عدد السلال " |
| 4299 |
"المستخدمة وعدد السلال المخصصة، مفصولة بشرطة مائلة. هذا مفيد فقط لمعرفة ما " |
| 4300 |
"إذا كانت خوارزمية الهاش الداخلية لبيرل تعمل بشكل ضعيف على مجموعة بياناتك. " |
| 4301 |
"على سبيل المثال، تضع 10,000 شيء في هاش، لكن تقييم \\&CW<%HASH> في سياق عددي " |
| 4302 |
"يكشف عن CW<\"1/16\">، مما يعني أن واحدة فقط من أصل ست عشرة سلة قد وُلمست، " |
| 4303 |
"ويُفترض أنها تحتوي على جميع العناصر الـ 10,000 الخاصة بك. ليس من المفترض أن " |
| 4304 |
"يحدث هذا." |
| 4305 |
|
| 4306 |
#. type: Plain text |
| 4307 |
#: fedora-44 fedora-rawhide mageia-cauldron opensuse-leap-16-1 |
| 4308 |
#: opensuse-tumbleweed |
| 4309 |
#, no-wrap |
| 4310 |
msgid "" |
| 4311 |
"\\& 12345\n" |
| 4312 |
"\\& 12345.67\n" |
| 4313 |
"\\& .23E-10 # a very small number\n" |
| 4314 |
"\\& 3.14_15_92 # a very important number\n" |
| 4315 |
"\\& 4_294_967_296 # underscore for legibility\n" |
| 4316 |
"\\& 0xff # hex\n" |
| 4317 |
"\\& 0xdead_beef # more hex\n" |
| 4318 |
"\\& 0377 # octal (only numbers, begins with 0)\n" |
| 4319 |
"\\& 0o12_345 # alternative octal (introduced in Perl 5.33.5)\n" |
| 4320 |
"\\& 0b011011 # binary\n" |
| 4321 |
"\\& 0x1.999ap-4 # hexadecimal floating point (the \\*(Aqp\\*(Aq is" |
| 4322 |
" required)\n" |
| 4323 |
"\\& 07.65p2 # octal floating point (the \\*(Aqp\\*(Aq is" |
| 4324 |
" required)\n" |
| 4325 |
"\\& 0o7.65p2 # alternative octal floating point\n" |
| 4326 |
"\\& 0b101.01p-1 # binary floating point (the \\*(Aqp\\*(Aq is" |
| 4327 |
" required)\n" |
| 4328 |
msgstr "" |
| 4329 |
"\\& 12345\n" |
| 4330 |
"\\& 12345.67\n" |
| 4331 |
"\\& .23E-10 # رقم صغير جداً\n" |
| 4332 |
"\\& 3.14_15_92 # رقم مهم جداً\n" |
| 4333 |
"\\& 4_294_967_296 # شرطة سفلية للوضوح\n" |
| 4334 |
"\\& 0xff # سداسي عشر\n" |
| 4335 |
"\\& 0xdead_beef # مزيد من السداسي عشر\n" |
| 4336 |
"\\& 0377 # ثماني (أرقام فقط، يبدأ بـ 0)\n" |
| 4337 |
"\\& 0o12_345 # ثماني بديل (قُدم في بيرل 5.33.5)\n" |
| 4338 |
"\\& 0b011011 # ثنائي\n" |
| 4339 |
"\\& 0x1.999ap-4 # فاصلة عائمة سداسية عشرية (الحرف \\*(Aqp\\*(Aq" |
| 4340 |
" مطلوب)\n" |
| 4341 |
"\\& 07.65p2 # فاصلة عائمة ثمانية (الحرف \\*(Aqp\\*(Aq مطلوب)\n" |
| 4342 |
"\\& 0o7.65p2 # فاصلة عائمة ثمانية بديلة\n" |
| 4343 |
"\\& 0b101.01p-1 # فاصلة عائمة ثنائية (الحرف \\*(Aqp\\*(Aq مطلوب)\n" |
| 4344 |
|
| 4345 |
#. type: Plain text |
| 4346 |
#: fedora-44 fedora-rawhide mageia-cauldron opensuse-leap-16-1 |
| 4347 |
#: opensuse-tumbleweed |
| 4348 |
msgid "" |
| 4349 |
"Hexadecimal, octal, or binary, representations in string literals (e.g. " |
| 4350 |
"\\*(Aq0xff\\*(Aq) are not automatically converted to their integer " |
| 4351 |
"representation. The B<hex()> and B<oct()> functions make these conversions " |
| 4352 |
"for you. See \"hex\" in perlfunc and \"oct\" in perlfunc for more details." |
| 4353 |
msgstr "" |
| 4354 |
"التمثيلات السداسية عشرية أو الثمانية أو الثنائية في السلاسل النصية (مثل " |
| 4355 |
"\\*(Aq0xff\\*(Aq) لا تُحول آلياً إلى تمثيلها الصحيح. تقوم الدوال B<hex()> و " |
| 4356 |
"B<oct()> بهذه التحويلات من أجلك. انظر \"hex\" في perlfunc و \"oct\" في " |
| 4357 |
"perlfunc لمزيد من التفاصيل." |
| 4358 |
|
| 4359 |
#. type: Plain text |
| 4360 |
#: fedora-44 fedora-rawhide mageia-cauldron opensuse-leap-16-1 |
| 4361 |
#: opensuse-tumbleweed |
| 4362 |
msgid "" |
| 4363 |
"Hexadecimal floating point can start just like a hexadecimal literal, and it " |
| 4364 |
"can be followed by an optional fractional hexadecimal part, but it must be " |
| 4365 |
"followed by CW<\\*(C`p\\*(C'>, an optional sign, and a power of two. The " |
| 4366 |
"format is useful for accurately presenting floating point values, avoiding " |
| 4367 |
"conversions to or from decimal floating point, and therefore avoiding " |
| 4368 |
"possible loss in precision. Notice that while most current platforms use " |
| 4369 |
"the 64-bit IEEE 754 floating point, not all do. Another potential source of " |
| 4370 |
"(low-order) differences are the floating point rounding modes, which can " |
| 4371 |
"differ between CPUs, operating systems, and compilers, and which Perl " |
| 4372 |
"doesn\\*(Aqt control." |
| 4373 |
msgstr "" |
| 4374 |
"يمكن أن تبدأ الفاصلة العائمة السداسية عشرية تماماً مثل الثابت السداسي عشر، " |
| 4375 |
"ويمكن أن تتبعها جزئية سداسية عشرية كسرية اختيارية، ولكن يجب أن يتبعها " |
| 4376 |
"CW<\\*(C`p\\*(C'>، وعلامة اختيارية، وقوة للرقم اثنين. التنسيق مفيد لتقديم " |
| 4377 |
"قيم الفاصلة العائمة بدقة، وتجنب التحويلات من أو إلى الفاصلة العائمة العشرية، " |
| 4378 |
"وبالتالي تجنب فقدان الدقة المحتمل. لاحظ أنه بينما تستخدم معظم المنصات " |
| 4379 |
"الحالية الفاصلة العائمة IEEE 754 ذات 64 بت، لا تفعل ذلك جميعها. مصدر محتمل " |
| 4380 |
"آخر للاختلافات (منخفضة الرتبة) هو أوضاع تقريب الفاصلة العائمة، والتي قد " |
| 4381 |
"تختلف بين المعالجات وأنظمة التشغيل والمترجمات، والتي لا تتحكم فيها بيرل." |
| 4382 |
|
| 4383 |
#. type: Plain text |
| 4384 |
#: fedora-44 fedora-rawhide mageia-cauldron opensuse-leap-16-1 |
| 4385 |
#: opensuse-tumbleweed |
| 4386 |
msgid "" |
| 4387 |
"Octal and binary floating point numbers use the same format as hexadecimal " |
| 4388 |
"floating point numbers, but limited to binary and octal digits, respectively." |
| 4389 |
msgstr "" |
| 4390 |
"تستخدم أرقام الفاصلة العائمة الثمانية والثنائية التنسيق نفسه لأرقام الفاصلة " |
| 4391 |
"العائمة السداسية عشرية، ولكنها تقتصر على الأرقام الثنائية والثمانية، على " |
| 4392 |
"التوالي." |
| 4393 |
|
| 4394 |
#. type: Plain text |
| 4395 |
#: fedora-44 fedora-rawhide mageia-cauldron opensuse-leap-16-1 |
| 4396 |
#: opensuse-tumbleweed |
| 4397 |
msgid "" |
| 4398 |
"Perl doesn\\*(Aqt understand CW<\\*(C`Inf\\*(C'> and CW<\\*(C`NaN\\*(C'> as " |
| 4399 |
"numeric literals, but you can have them as strings, and Perl will convert " |
| 4400 |
"them as needed: \"Inf\" + 1. (You can, however, import them from the POSIX " |
| 4401 |
"extension; \\&CW<\\*(C`use POSIX qw(Inf NaN);\\*(C'> and then use them as " |
| 4402 |
"literals.)" |
| 4403 |
msgstr "" |
| 4404 |
"لا تفهم بيرل CW<\\*(C`Inf\\*(C'> و CW<\\*(C`NaN\\*(C'> كثوابت عددية، ولكن " |
| 4405 |
"يمكنك الحصول عليها كسلاسل، وستقوم بيرل بتحويلها حسب الحاجة: \"Inf\" + 1. " |
| 4406 |
"(يمكنك، مع ذلك، استيرادها من ملحق POSIX؛ باستخدام \\&CW<\\*(C`use POSIX " |
| 4407 |
"qw(Inf NaN);\\*(C'> ثم استخدامها كثوابت.)" |
| 4408 |
|
| 4409 |
#. type: Plain text |
| 4410 |
#: fedora-44 fedora-rawhide mageia-cauldron opensuse-leap-16-1 |
| 4411 |
#: opensuse-tumbleweed |
| 4412 |
msgid "" |
| 4413 |
"Note that since Perl 5.8.1 the single-number v-strings (like " |
| 4414 |
"CW<\\*(C`v65\\*(C'>) are not v-strings before the CW<\\*(C`=E<gt>\\*(C'> " |
| 4415 |
"operator (which is usually used to separate a hash key from a hash value); " |
| 4416 |
"instead they are interpreted as literal strings (\\*(Aqv65\\*(Aq). They " |
| 4417 |
"were v-strings from Perl 5.6.0 to Perl 5.8.0, but that caused more confusion " |
| 4418 |
"and breakage than good. Multi-number v-strings like CW<\\*(C`v65.66\\*(C'> " |
| 4419 |
"and CW<65.66.67> continue to be v-strings always." |
| 4420 |
msgstr "" |
| 4421 |
"لاحظ أنه منذ بيرل 5.8.1، لم تعد سلاسل v المكونة من رقم واحد (مثل " |
| 4422 |
"CW<\\*(C`v65\\*(C'>) سلاسل v قبل عامل CW<\\*(C`=E<gt>\\*(C'> (الذي يُستخدم " |
| 4423 |
"عادةً لفصل مفتاح الهاش عن قيمته)؛ وبدلاً من ذلك تُفسر كسلاسل نصية " |
| 4424 |
"(\\*(Aqv65\\*(Aq). لقد كانت سلاسل v من بيرل 5.6.0 إلى 5.8.0، لكن ذلك تسبب في " |
| 4425 |
"ارتباك وأعطال أكثر من النفع. تستمر سلاسل v متعددة الأرقام مثل " |
| 4426 |
"CW<\\*(C`v65.66\\*(C'> و CW<65.66.67> في كونها سلاسل v دائماً." |
| 4427 |
|
| 4428 |
#. type: Plain text |
| 4429 |
#: fedora-44 fedora-rawhide mageia-cauldron opensuse-leap-16-1 |
| 4430 |
#: opensuse-tumbleweed |
| 4431 |
msgid "" |
| 4432 |
"Text after _\\|_DATA_\\|_ may be read via the filehandle CW<\\*(C`PACKNAME::" |
| 4433 |
"DATA\\*(C'>, where CW<\\*(C`PACKNAME\\*(C'> is the package that was current " |
| 4434 |
"when the _\\|_DATA_\\|_ token was encountered. The filehandle is left open " |
| 4435 |
"pointing to the line after _\\|_DATA_\\|_. The program should " |
| 4436 |
"CW<\\*(C`close DATA\\*(C'> when it is done reading from it. (Leaving it " |
| 4437 |
"open leaks filehandles if the module is reloaded for any reason, so " |
| 4438 |
"it\\*(Aqs a safer practice to close it.) For compatibility with older " |
| 4439 |
"scripts written before _\\|_DATA_\\|_ was introduced, _\\|_END_\\|_ behaves " |
| 4440 |
"like _\\|_DATA_\\|_ in the top level script (but not in files loaded with " |
| 4441 |
"CW<\\*(C`require\\*(C'> or CW<\\*(C`do\\*(C'>) and leaves the remaining " |
| 4442 |
"contents of the file accessible via CW<\\*(C`main::DATA\\*(C'>." |
| 4443 |
msgstr "" |
| 4444 |
"النص بعد _\\|_DATA_\\|_ يمكن قراءته عبر مقبض الملف CW<\\*(C`PACKNAME::" |
| 4445 |
"DATA\\*(C'>، حيث CW<\\*(C`PACKNAME\\*(C'> هي الحزمة التي كانت حالية عند " |
| 4446 |
"مواجهة علامة _\\|_DATA_\\|_. يُترك مقبض الملف مفتوحاً ليشير إلى السطر بعد _\\|" |
| 4447 |
"_DATA_\\|_. يجب على البرنامج CW<\\*(C`close DATA\\*(C'> عند الانتهاء من " |
| 4448 |
"القراءة منه. (تركه مفتوحاً يسبب تسريب مقابض الملفات إذا وُأعيد تحميل الوحدة " |
| 4449 |
"لأي سبب، لذا فإن إغلاقه ممارسة أكثر أماناً). للتوافق مع السكربتات القديمة " |
| 4450 |
"المكتوبة قبل تقديم _\\|_DATA_\\|_، يتصرف _\\|_END_\\|_ مثل _\\|_DATA_\\|_ في " |
| 4451 |
"السكربت ذي المستوى الأعلى (ولكن ليس في الملفات المحملة بـ " |
| 4452 |
"CW<\\*(C`require\\*(C'> أو CW<\\*(C`do\\*(C'>) ويترك بقية محتويات الملف " |
| 4453 |
"متاحة عبر CW<\\*(C`main::DATA\\*(C'>." |
| 4454 |
|
| 4455 |
#. type: Plain text |
| 4456 |
#: fedora-44 fedora-rawhide mageia-cauldron opensuse-leap-16-1 |
| 4457 |
#: opensuse-tumbleweed |
| 4458 |
msgid "" |
| 4459 |
"The CW<\\*(C`DATA\\*(C'> file handle by default has whatever PerlIO layers " |
| 4460 |
"were in place when Perl read the file to parse the source. Normally that " |
| 4461 |
"means that the file is being read bytewise, as if it were encoded in " |
| 4462 |
"Latin-1, but there are two major ways for it to be otherwise. Firstly, if " |
| 4463 |
"the CW<\\*(C`_\\|_END_\\|_\\*(C'>/CW<\\*(C`_\\|_DATA_\\|_\\*(C'> token is in " |
| 4464 |
"the scope of a CW<\\*(C`use utf8\\*(C'> pragma then the CW<\\*(C`DATA\\*(C'> " |
| 4465 |
"handle will be in UTF-8 mode. And secondly, if the source is being read " |
| 4466 |
"from perl\\*(Aqs standard input then the CW<\\*(C`DATA\\*(C'> file handle is " |
| 4467 |
"actually aliased to the CW<\\*(C`STDIN\\*(C'> file handle, and may be in " |
| 4468 |
"UTF-8 mode because of the CW<\\*(C`PERL_UNICODE\\*(C'> environment variable " |
| 4469 |
"or perl\\*(Aqs command-line switches." |
| 4470 |
msgstr "" |
| 4471 |
"يمتلك مقبض الملف CW<\\*(C`DATA\\*(C'> مبدئياً أي طبقات PerlIO كانت موجودة " |
| 4472 |
"عندما قرأت بيرل الملف لتحليل المصدر. يعني هذا عادةً أن الملف يُقرأ بالبايت، " |
| 4473 |
"كما لو كان مرموزاً بترميز Latin-1، ولكن هناك طريقتان رئيستان ليكون الأمر " |
| 4474 |
"بخلاف ذلك. أولاً، إذا كانت علامة CW<\\*(C`_\\|_END_\\|_\\*(C'>/CW<\\*(C`_\\|" |
| 4475 |
"_DATA_\\|_\\*(C'> في نطاق CW<\\*(C`use utf8\\*(C'>، فإن مقبض " |
| 4476 |
"CW<\\*(C`DATA\\*(C'> سيكون في وضع UTF-8. وثانياً، إذا كان المصدر يُقرأ من " |
| 4477 |
"الدخل القياسي لبيرل، فإن مقبض الملف CW<\\*(C`DATA\\*(C'> يكون في الواقع اسماً " |
| 4478 |
"مستعاراً لمقبض ملف CW<\\*(C`STDIN\\*(C'>، وقد يكون في وضع UTF-8 بسبب متغير " |
| 4479 |
"البيئة CW<\\*(C`PERL_UNICODE\\*(C'> أو مفاتيح سطر الأوامر لبيرل." |
| 4480 |
|
| 4481 |
#. type: Plain text |
| 4482 |
#: fedora-44 fedora-rawhide mageia-cauldron opensuse-leap-16-1 |
| 4483 |
#: opensuse-tumbleweed |
| 4484 |
msgid "" |
| 4485 |
"Within search patterns (which also undergo double-quotish substitution) " |
| 4486 |
"there is an unfortunate ambiguity: Is CW<\\*(C`/$foo[bar]/\\*(C'> to be " |
| 4487 |
"interpreted as \\&CW<\\*(C`/${foo}[bar]/\\*(C'> (where CW<\\*(C`[bar]\\*(C'> " |
| 4488 |
"is a character class for the regular expression) or as CW<\\*(C`/${foo[bar]}/" |
| 4489 |
"\\*(C'> (where CW<\\*(C`[bar]\\*(C'> is the subscript to array \\&CW<@foo>)? " |
| 4490 |
"If CW<@foo> doesn\\*(Aqt otherwise exist, then it\\*(Aqs obviously a " |
| 4491 |
"character class. If CW<@foo> exists, Perl takes a good guess about " |
| 4492 |
"CW<\\*(C`[bar]\\*(C'>, and is almost always right. If it does guess wrong, " |
| 4493 |
"or if you\\*(Aqre just plain paranoid, you can force the correct " |
| 4494 |
"interpretation with curly braces as above." |
| 4495 |
msgstr "" |
| 4496 |
"داخل أنماط البحث (التي تخضع أيضًا لاستبدال علامات الاقتباس المزدوجة) يوجد لبس " |
| 4497 |
"مؤسف: هل يجب تفسير CW<\\*(C`/$foo[bar]/\\*(C'> على أنه \\&CW<\\*(C`/${foo}" |
| 4498 |
"[bar]/\\*(C'> (حيث CW<\\*(C`[bar]\\*(C'> هي فئة أحرف للتعبير النمطي) أو كـ " |
| 4499 |
"CW<\\*(C`/${foo[bar]}/\\*(C'> (حيث CW<\\*(C`[bar]\\*(C'> هو دليل للمصفوفة " |
| 4500 |
"\\&CW<@foo>)؟ إذا لم تكن CW<@foo> موجودة، فمن الواضح أنها فئة أحرف. إذا كانت " |
| 4501 |
"CW<@foo> موجودة، فإن بيرل تأخذ تخميناً جيداً بشأن CW<\\*(C`[bar]\\*(C'>،" |
| 4502 |
" وتكون " |
| 4503 |
"مصيبة دائماً تقريباً. إذا خمنت بشكل خاطئ، أو إذا كنت تشعر بالقلق فحسب، يمكنك " |
| 4504 |
"فرض التفسير الصحيح باستخدام الأقواس المجعدة كما هو موضح أعلاه." |
| 4505 |
|
| 4506 |
#. type: Plain text |
| 4507 |
#: fedora-44 fedora-rawhide mageia-cauldron opensuse-leap-16-1 |
| 4508 |
#: opensuse-tumbleweed |
| 4509 |
msgid "" |
| 4510 |
"If you\\*(Aqre looking for the information on how to use here-documents, " |
| 4511 |
"which used to be here, that\\*(Aqs been moved to \"Quote and Quote-like " |
| 4512 |
"Operators\" in perlop." |
| 4513 |
msgstr "" |
| 4514 |
"إذا كنت تبحث عن معلومات حول كيفية استخدام مستندات-هنا (here-documents)، التي " |
| 4515 |
"كانت موجودة هنا، فقد وُنقلت إلى \"Quote and Quote-like Operators\" في perlop." |
| 4516 |
|
| 4517 |
#. type: Plain text |
| 4518 |
#: fedora-44 fedora-rawhide mageia-cauldron opensuse-leap-16-1 |
| 4519 |
#: opensuse-tumbleweed |
| 4520 |
msgid "" |
| 4521 |
"This interpolation combines with the facts that the opening and closing " |
| 4522 |
"parentheses are optional (except when necessary for precedence) and lists " |
| 4523 |
"may end with an optional comma to mean that multiple commas within lists are " |
| 4524 |
"legal syntax. The list CW<\\*(C`1,,3\\*(C'> is a concatenation of two " |
| 4525 |
"lists, CW<\\*(C`1,\\*(C'> and CW<3>, the first of which ends with that " |
| 4526 |
"optional comma. CW<\\*(C`1,,3\\*(C'> is CW<\\*(C`(1,),(3)\\*(C'> is " |
| 4527 |
"CW<\\*(C`1,3\\*(C'> (And similarly for CW<\\*(C`1,,,3\\*(C'> is " |
| 4528 |
"CW<\\*(C`(1,),(,),3\\*(C'> is CW<\\*(C`1,3\\*(C'> and so on.) Not that " |
| 4529 |
"we\\*(Aqd advise you to use this obfuscation." |
| 4530 |
msgstr "" |
| 4531 |
"يجتمع هذا الدمج مع حقيقة أن الأقواس الافتتاحية والختامية اختيارية (إلا عند " |
| 4532 |
"الضرورة للأسبقية) وأن القوائم قد تنتهي بفاصلة اختيارية ليعني أن الفواصل " |
| 4533 |
"المتعددة داخل القوائم هي صيغة قانونية. القائمة CW<\\*(C`1,,3\\*(C'> هي دمج " |
| 4534 |
"لقائمتين، CW<\\*(C`1,\\*(C'> و CW<3>، تنتهي الأولى منهما بتلك الفاصلة " |
| 4535 |
"الاختيارية. CW<\\*(C`1,,3\\*(C'> هي CW<\\*(C`(1,),(3)\\*(C'> وهي " |
| 4536 |
"CW<\\*(C`1,3\\*(C'> (وبالمثل بالنسبة لـ CW<\\*(C`1,,,3\\*(C'> هي " |
| 4537 |
"CW<\\*(C`(1,),(,),3\\*(C'> وهي CW<\\*(C`1,3\\*(C'> وما إلى ذلك). ليس بمعنى " |
| 4538 |
"أننا ننصحك باستخدام هذا الغموض." |
| 4539 |
|
| 4540 |
#. type: Plain text |
| 4541 |
#: fedora-44 fedora-rawhide mageia-cauldron opensuse-leap-16-1 |
| 4542 |
#: opensuse-tumbleweed |
| 4543 |
msgid "" |
| 4544 |
"It\\*(Aqs also the source of a useful idiom for executing a function or " |
| 4545 |
"performing an operation in list context and then counting the number of " |
| 4546 |
"return values, by assigning to an empty list and then using that assignment " |
| 4547 |
"in scalar context. For example, this code:" |
| 4548 |
msgstr "" |
| 4549 |
"إنه أيضًا مصدر لاصطلاح مفيد لتنفيذ دالة أو إجراء عملية في سياق قائمة ثم عد " |
| 4550 |
"عدد القيم المعادة، من خلال التعيين لقائمة فارغة ثم استخدام هذا التعيين في " |
| 4551 |
"سياق عددي. على سبيل المثال، هذا الكود:" |
| 4552 |
|
| 4553 |
#. type: Plain text |
| 4554 |
#: fedora-44 fedora-rawhide mageia-cauldron opensuse-leap-16-1 |
| 4555 |
#: opensuse-tumbleweed |
| 4556 |
msgid "" |
| 4557 |
"While literal lists and named arrays are often interchangeable, that\\*(Aqs " |
| 4558 |
"not the case for hashes. Just because you can subscript a list value like a " |
| 4559 |
"normal array does not mean that you can subscript a list value as a hash. " |
| 4560 |
"Likewise, hashes included as parts of other lists (including parameters " |
| 4561 |
"lists and return lists from functions) always flatten out into key/value " |
| 4562 |
"pairs. That\\*(Aqs why it\\*(Aqs good to use references sometimes." |
| 4563 |
msgstr "" |
| 4564 |
"بينما تكون القوائم الحرفية والمصفوفات المسماة قابلة للتبادل غالباً، إلا أن " |
| 4565 |
"الأمر ليس كذلك بالنسبة للهاش. مجرد قدرتك على وضع دليل لقيمة قائمة مثل مصفوفة " |
| 4566 |
"عادية لا يعني أنه يمكنك وضع دليل لقيمة قائمة كهاش. وبالمثل، فإن الهاش " |
| 4567 |
"المضمنة كأجزاء من قوائم أخرى (بما في ذلك قوائم المعاملات وقوائم الإرجاع من " |
| 4568 |
"الدوال) تُسطح دائماً إلى أزواج مفتاح/قيمة. لهذا السبب من الجيد استخدام" |
| 4569 |
" المراجع " |
| 4570 |
"أحياناً." |
| 4571 |
|
| 4572 |
#. type: Plain text |
| 4573 |
#: fedora-44 fedora-rawhide mageia-cauldron opensuse-leap-16-1 |
| 4574 |
#: opensuse-tumbleweed |
| 4575 |
msgid "" |
| 4576 |
"It is often more readable to use the CW<\\*(C`=E<gt>\\*(C'> operator between " |
| 4577 |
"key/value pairs. The CW<\\*(C`=E<gt>\\*(C'> operator is mostly just a more " |
| 4578 |
"visually distinctive synonym for a comma, but it also arranges for its left-" |
| 4579 |
"hand operand to be interpreted as a string if it\\*(Aqs a bareword that " |
| 4580 |
"would be a legal simple identifier. CW<\\*(C`=E<gt>\\*(C'> doesn\\*(Aqt " |
| 4581 |
"quote compound identifiers, that contain double colons. This makes it nice " |
| 4582 |
"for initializing hashes:" |
| 4583 |
msgstr "" |
| 4584 |
"غالباً ما يكون من الأسهل قراءتها باستخدام عامل CW<\\*(C`=E<gt>\\*(C'> بين " |
| 4585 |
"أزواج المفتاح/القيمة. عامل CW<\\*(C`=E<gt>\\*(C'> هو في الغالب مجرد مرادف " |
| 4586 |
"أكثر تميزاً بصرياً للفاصلة، ولكنه يرتب أيضًا لتفسير المعامل الأيسر كسلسلة" |
| 4587 |
" نصية " |
| 4588 |
"إذا كان كلمة مجردة (bareword) يمكن أن تكون معرفاً بسيطاً قانونياً. لا يقتبس " |
| 4589 |
"CW<\\*(C`=E<gt>\\*(C'> المعرفات المركبة التي تحتوي على نقطتين مزدوجتين. هذا " |
| 4590 |
"يجعله جيداً لتمهيد الهاش:" |
| 4591 |
|
| 4592 |
#. type: Plain text |
| 4593 |
#: fedora-44 fedora-rawhide mageia-cauldron opensuse-leap-16-1 |
| 4594 |
#: opensuse-tumbleweed |
| 4595 |
msgid "" |
| 4596 |
"Note that just because a hash is initialized in that order doesn\\*(Aqt mean " |
| 4597 |
"that it comes out in that order. See \"sort\" in perlfunc for examples of " |
| 4598 |
"how to arrange for an output ordering." |
| 4599 |
msgstr "" |
| 4600 |
"لاحظ أن مجرد تمهيد الهاش بهذا الترتيب لا يعني أنها تخرج بهذا الترتيب. انظر " |
| 4601 |
"\"sort\" في perlfunc للحصول على أمثلة حول كيفية ترتيب مخرجات." |
| 4602 |
|
| 4603 |
#. type: Plain text |
| 4604 |
#: fedora-44 fedora-rawhide mageia-cauldron opensuse-leap-16-1 |
| 4605 |
#: opensuse-tumbleweed |
| 4606 |
msgid "" |
| 4607 |
"A slice accesses several elements of a list, an array, or a hash " |
| 4608 |
"simultaneously using a list of subscripts. It\\*(Aqs more convenient than " |
| 4609 |
"writing out the individual elements as a list of separate scalar values." |
| 4610 |
msgstr "" |
| 4611 |
"تصل الشريحة إلى عدة عناصر من قائمة أو مصفوفة أو هاش في آن واحد باستخدام " |
| 4612 |
"قائمة من الأدلة. إنه أكثر ملاءمة من كتابة العناصر الفردية كقائمة من القيم " |
| 4613 |
"العددية المنفصلة." |
| 4614 |
|
| 4615 |
#. type: Plain text |
| 4616 |
#: fedora-44 fedora-rawhide mageia-cauldron opensuse-leap-16-1 |
| 4617 |
#: opensuse-tumbleweed |
| 4618 |
msgid "" |
| 4619 |
"Since changing a slice changes the original array or hash that it\\*(Aqs " |
| 4620 |
"slicing, a CW<\\*(C`foreach\\*(C'> construct will alter some--or even all--" |
| 4621 |
"of the values of the array or hash." |
| 4622 |
msgstr "" |
| 4623 |
"بما أن تغيير الشريحة يغير المصفوفة أو الهاش الأصلية التي تُشرّح، فإن بنية " |
| 4624 |
"CW<\\*(C`foreach\\*(C'> ستغير بعض -- أو حتى كل -- قيم المصفوفة أو الهاش." |
| 4625 |
|
| 4626 |
#. type: Plain text |
| 4627 |
#: fedora-44 fedora-rawhide mageia-cauldron opensuse-leap-16-1 |
| 4628 |
#: opensuse-tumbleweed |
| 4629 |
msgid "" |
| 4630 |
"If you\\*(Aqre confused about why you use an CW<\\*(Aq@\\*(Aq> there on a " |
| 4631 |
"hash slice instead of a CW<\\*(Aq%\\*(Aq>, think of it like this. The type " |
| 4632 |
"of bracket (square or curly) governs whether it\\*(Aqs an array or a hash " |
| 4633 |
"being looked at. On the other hand, the leading symbol (CW<\\*(Aq$\\*(Aq> " |
| 4634 |
"or CW<\\*(Aq@\\*(Aq>) on the array or hash indicates whether you are getting " |
| 4635 |
"back a singular value (a scalar) or a plural one (a list)." |
| 4636 |
msgstr "" |
| 4637 |
"إذا كنت مرتبكاً بشأن سبب استخدامك لـ CW<\\*(Aq@\\*(Aq> هناك على شريحة هاش " |
| 4638 |
"بدلاً من CW<\\*(Aq%\\*(Aq>، ففكر في الأمر على النحو التالي. نوع القوس (مربع " |
| 4639 |
"أو مجعد) يحكم ما إذا كانت مصفوفة أو هاش هي التي يُنظر إليها. ومن ناحية أخرى، " |
| 4640 |
"يشير الرمز البادئ (CW<\\*(Aq$\\*(Aq> أو CW<\\*(Aq@\\*(Aq>) على المصفوفة أو " |
| 4641 |
"الهاش إلى ما إذا كنت تحصل على قيمة مفردة (عددي) أو قيمة جمع (قائمة)." |
| 4642 |
|
| 4643 |
#. type: Plain text |
| 4644 |
#: fedora-44 fedora-rawhide mageia-cauldron opensuse-leap-16-1 |
| 4645 |
#: opensuse-tumbleweed |
| 4646 |
msgid "" |
| 4647 |
"The main use of typeglobs in modern Perl is to create symbol table aliases. " |
| 4648 |
"This assignment:" |
| 4649 |
msgstr "" |
| 4650 |
"الاستخدام الرئيس لـ typeglobs في بيرل الحديثة هو إنشاء أسماء مستعارة لجدول " |
| 4651 |
"الرموز. هذا التعيين:" |
| 4652 |
|
| 4653 |
#. type: Plain text |
| 4654 |
#: fedora-44 fedora-rawhide mageia-cauldron opensuse-leap-16-1 |
| 4655 |
#: opensuse-tumbleweed |
| 4656 |
msgid "" |
| 4657 |
"temporarily makes CW<$Here::blue> an alias for CW<$There::green>, but " |
| 4658 |
"doesn\\*(Aqt make CW<@Here::blue> an alias for CW<@There::green>, or " |
| 4659 |
"CW<%Here::blue> an alias for \\&CW<%There::green>, etc. See \"Symbol " |
| 4660 |
"Tables\" in perlmod for more examples of this. Strange though this may " |
| 4661 |
"seem, this is the basis for the whole module import/export system." |
| 4662 |
msgstr "" |
| 4663 |
"يجعل CW<$Here::blue> مؤقتاً اسماً مستعاراً لـ CW<$There::green>، لكنه لا يجعل " |
| 4664 |
"CW<@Here::blue> اسماً مستعاراً لـ CW<@There::green>، أو CW<%Here::blue> اسماً " |
| 4665 |
"مستعاراً لـ \\&CW<%There::green>، وما إلى ذلك. انظر \"Symbol Tables\" في " |
| 4666 |
"perlmod لمزيد من الأمثلة على ذلك. رغم أن هذا قد يبدو غريباً، إلا أنه أساس " |
| 4667 |
"نظام استيراد وتصدير الوحدات بالكامل." |
| 4668 |
|
| 4669 |
#. type: Plain text |
| 4670 |
#: fedora-44 fedora-rawhide mageia-cauldron opensuse-leap-16-1 |
| 4671 |
#: opensuse-tumbleweed |
| 4672 |
msgid "" |
| 4673 |
"Now that we have the CW<*foo{THING}> notation, typeglobs aren\\*(Aqt used as " |
| 4674 |
"much for filehandle manipulations, although they\\*(Aqre still needed to " |
| 4675 |
"pass brand new file and directory handles into or out of functions. " |
| 4676 |
"That\\*(Aqs because \\&CW<*HANDLE{IO}> only works if HANDLE has already been " |
| 4677 |
"used as a handle. In other words, CW<*FH> must be used to create new symbol " |
| 4678 |
"table entries; \\&CW<*foo{THING}> cannot. When in doubt, use CW<*FH>." |
| 4679 |
msgstr "" |
| 4680 |
"الآن بعد أن أصبح لدينا تدوين CW<*foo{THING}>، لم تعد تُستخدم typeglobs بكثرة " |
| 4681 |
"لمعالجة مقابض الملفات، رغم أنها لا تزال مطلوبة لتمرير مقابض ملفات وأدلة " |
| 4682 |
"جديدة تماماً إلى الدوال أو منها. وذلك لأن \\&CW<*HANDLE{IO}> تعمل فقط إذا كان " |
| 4683 |
"HANDLE قد وُاستخدم بالفعل كمقبض. بعبارة أخرى، يجب استخدام CW<*FH> لإنشاء " |
| 4684 |
"إدخالات جدول رموز جديدة؛ ولا يمكن لـ \\&CW<*foo{THING}> فعل ذلك. عند الشك، " |
| 4685 |
"استخدم CW<*FH>." |
| 4686 |
|
| 4687 |
#. type: Plain text |
| 4688 |
#: fedora-44 fedora-rawhide mageia-cauldron opensuse-leap-16-1 |
| 4689 |
#: opensuse-tumbleweed |
| 4690 |
msgid "" |
| 4691 |
"See perlvar for a description of Perl\\*(Aqs built-in variables and a " |
| 4692 |
"discussion of legal variable names. See perlref, perlsub, and \"Symbol " |
| 4693 |
"Tables\" in perlmod for more discussion on typeglobs and the CW<*foo{THING}> " |
| 4694 |
"syntax." |
| 4695 |
msgstr "" |
| 4696 |
"انظر perlvar لوصف متغيرات بيرل المدمجة ومناقشة أسماء المتغيرات القانونية. " |
| 4697 |
"انظر perlref و perlsub و \"Symbol Tables\" في perlmod لمزيد من النقاش حول " |
| 4698 |
"typeglobs وصيغة CW<*foo{THING}>." |
| 4699 |
|
| 4700 |
#. type: TH |
| 4701 |
#: fedora-rawhide |
| 4702 |
#, no-wrap |
| 4703 |
msgid "2026-03-30" |
| 4704 |
msgstr "30 مارس 2026" |
| 4705 |
|
| 4706 |
#. type: TH |
| 4707 |
#: fedora-rawhide |
| 4708 |
#, no-wrap |
| 4709 |
msgid "perl v5.42.2" |
| 4710 |
msgstr "بيرل v5.40.2" |
| 4711 |
|
| 4712 |
#. type: TH |
| 4713 |
#: mageia-cauldron |
| 4714 |
#, no-wrap |
| 4715 |
msgid "2025-06-24" |
| 4716 |
msgstr "24 يونيو 2025" |
| 4717 |
|
| 4718 |
#. type: TH |
| 4719 |
#: mageia-cauldron |
| 4720 |
#, no-wrap |
| 4721 |
msgid "perl v5.42.0" |
| 4722 |
msgstr "بيرل v5.42.0" |
| 4723 |
|