# Arabic translation of manpages # This file is distributed under the same license as the manpages-l10n package. # Copyright © of this file: # زايد السعيدي , 2026. msgid "" msgstr "" "Project-Id-Version: manpages-l10n\n" "POT-Creation-Date: 2026-06-05 06:34+0200\n" "PO-Revision-Date: 2026-06-05 21:09+0400\n" "Last-Translator: Zayed Al-Saidi \n" "Language-Team: Arabic \n" "Language: ar\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" ".MIME-Version: 1.0\n" "Plural-Forms: nplurals=6; plural=n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 &&" " n%100<=10 ? 3 : n%100>=11 && n%100<=99 ? 4 : 5;\n" "X-Generator: Lokalize 23.08.5\n" # #-#-#-#-# fedora-44: perlfunc.1.pot (PACKAGE VERSION) #-#-#-#-# # # #-#-#-#-# fedora-rawhide: perlfunc.1.pot (PACKAGE VERSION) #-#-#-#-# # # #-#-#-#-# mageia-cauldron: perlfunc.1.pot (PACKAGE VERSION) #-#-#-#-# # # #-#-#-#-# opensuse-leap-16-1: perlfunc.1.pot (PACKAGE VERSION) #-#-#-#-# # # #-#-#-#-# opensuse-tumbleweed: perlfunc.1.pot (PACKAGE VERSION) #-#-#-#-# # #. #-#-#-#-# debian-trixie: perlfunc.1.pot (PACKAGE VERSION) #-#-#-#-# #. ======================================================================== #. type: IX #. #-#-#-#-# debian-unstable: perlfunc.1.pot (PACKAGE VERSION) #-#-#-#-# #. ======================================================================== #. type: IX #. #-#-#-#-# fedora-44: perlfunc.1.pot (PACKAGE VERSION) #-#-#-#-# #. Required to disable full justification in groff 1.23.0. #. ======================================================================== #. type: IX #. #-#-#-#-# fedora-rawhide: perlfunc.1.pot (PACKAGE VERSION) #-#-#-#-# #. Required to disable full justification in groff 1.23.0. #. ======================================================================== #. type: IX #. #-#-#-#-# mageia-cauldron: perlfunc.1.pot (PACKAGE VERSION) #-#-#-#-# #. Required to disable full justification in groff 1.23.0. #. ======================================================================== #. type: IX #. #-#-#-#-# opensuse-leap-16-1: perlfunc.1.pot (PACKAGE VERSION) #-#-#-#-# #. Required to disable full justification in groff 1.23.0. #. ======================================================================== #. type: IX #. #-#-#-#-# opensuse-tumbleweed: perlfunc.1.pot (PACKAGE VERSION) #-#-#-#-# #. Required to disable full justification in groff 1.23.0. #. ======================================================================== #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "Title" msgstr "Title" # #-#-#-#-# fedora-44: perlfunc.1.pot (PACKAGE VERSION) #-#-#-#-# # # #-#-#-#-# fedora-rawhide: perlfunc.1.pot (PACKAGE VERSION) #-#-#-#-# # # #-#-#-#-# mageia-cauldron: perlfunc.1.pot (PACKAGE VERSION) #-#-#-#-# # # #-#-#-#-# opensuse-leap-16-1: perlfunc.1.pot (PACKAGE VERSION) #-#-#-#-# # # #-#-#-#-# opensuse-tumbleweed: perlfunc.1.pot (PACKAGE VERSION) #-#-#-#-# # #. #-#-#-#-# debian-trixie: perlfunc.1.pot (PACKAGE VERSION) #-#-#-#-# #. ======================================================================== #. type: IX #. #-#-#-#-# debian-unstable: perlfunc.1.pot (PACKAGE VERSION) #-#-#-#-# #. ======================================================================== #. type: IX #. #-#-#-#-# fedora-44: perlfunc.1.pot (PACKAGE VERSION) #-#-#-#-# #. Required to disable full justification in groff 1.23.0. #. ======================================================================== #. type: IX #. #-#-#-#-# fedora-rawhide: perlfunc.1.pot (PACKAGE VERSION) #-#-#-#-# #. Required to disable full justification in groff 1.23.0. #. ======================================================================== #. type: IX #. #-#-#-#-# mageia-cauldron: perlfunc.1.pot (PACKAGE VERSION) #-#-#-#-# #. Required to disable full justification in groff 1.23.0. #. ======================================================================== #. type: IX #. #-#-#-#-# opensuse-leap-16-1: perlfunc.1.pot (PACKAGE VERSION) #-#-#-#-# #. Required to disable full justification in groff 1.23.0. #. ======================================================================== #. type: IX #. #-#-#-#-# opensuse-tumbleweed: perlfunc.1.pot (PACKAGE VERSION) #-#-#-#-# #. Required to disable full justification in groff 1.23.0. #. ======================================================================== #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "PERLFUNC 1" msgstr "PERLFUNC 1" #. type: TH #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "PERLFUNC" msgstr "PERLFUNC" #. type: TH #: debian-trixie #, no-wrap msgid "2025-07-27" msgstr "27 يوليو 2025" #. type: TH #: debian-trixie debian-unstable #, no-wrap msgid "perl v5.40.1" msgstr "بيرل v5.40.1" #. type: TH #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "Perl Programmers Reference Guide" msgstr "دليل مرجع مبرمجي بيرل" #. type: SH #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "NAME" msgstr "الاسم" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "perlfunc - Perl builtin functions" msgstr "perlfunc - دوال بيرل المدمجة" #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "Xref" msgstr "Xref" #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "function" msgstr "function" #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "DESCRIPTION" msgstr "الوصف" #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "Header" msgstr "Header" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "The functions in this section can serve as terms in an expression. They " "fall into two major categories: list operators and named unary operators. " "These differ in their precedence relationship with a following comma. (See " "the precedence table in perlop.) List operators take more than one " "argument, while unary operators can never take more than one argument. " "Thus, a comma terminates the argument of a unary operator, but merely " "separates the arguments of a list operator. A unary operator generally " "provides scalar context to its argument, while a list operator may provide " "either scalar or list contexts for its arguments. If it does both, scalar " "arguments come first and list argument follow, and there can only ever be " "one such list argument. For instance, \\&CW<\\*(C`splice\\*(C'> has three " "scalar arguments followed by a list, whereas CW<\\*(C`gethostbyname\\*(C'> " "has four scalar arguments." msgstr "" "يمكن للدوال في هذا القسم أن تعمل كحدود في تعبير برمجي. وهي تنقسم إلى فئتين " "رئيسيتين: معاملات القائمة (list operators) والمعاملات الأحادية المسماة " "(named unary operators). وتختلف هذه المعاملات في علاقة أسبقيتها مع الفاصلة " "التي تليها. (انظر جدول الأسبقية في perlop). تأخذ معاملات القائمة أكثر من " "معامل واحد، بينما لا يمكن للمعاملات الأحادية أن تأخذ أكثر من معامل واحد " "أبدًا. وبالتالي، تنهي الفاصلة معامل المشغل الأحادي، لكنها تكتفي بالفصل بين " "معاملات مشغل القائمة. يوفر المشغل الأحادي عمومًا سياقًا قياسيًا (scalar " "context) لمعامله، بينما قد يوفر مشغل القائمة سياقًا قياسيًا أو سياق قائمة " "لمعاملاته. إذا كان يوفر كلاهما، فإن المعاملات القياسية تأتي أولاً وتتبعها " "معامل القائمة، ولا يمكن أن يكون هناك سوى معامل قائمة واحد فقط من هذا القبيل. " "على سبيل المثال، تحتوي الدوال \\&CW<\\*(C`splice\\*(C'> على ثلاثة معاملات " "قياسية تتبعها قائمة، بينما تحتوي CW<\\*(C`gethostbyname\\*(C'> على أربعة " "معاملات قياسية." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "In the syntax descriptions that follow, list operators that expect a list " "(and provide list context for elements of the list) are shown with LIST as " "an argument. Such a list may consist of any combination of scalar arguments " "or list values; the list values will be included in the list as if each " "individual element were interpolated at that point in the list, forming a " "longer single-dimensional list value. Commas should separate literal " "elements of the LIST." msgstr "" "في أوصاف بناء الجملة التي تلي ذلك، تظهر معاملات القائمة التي تتوقع قائمة " "(وتوفر سياق قائمة لعناصر القائمة) مع استخدام LIST كمعامل. قد تتكون هذه " "القائمة من أي مزيج من المعاملات القياسية أو قيم القائمة؛ وستُضمن قيم القائمة " "في القائمة كما لو أُقحم كل عنصر فردي في تلك النقطة من القائمة، مما يشكل قيمة " "قائمة أطول أحادية البعد. يجب أن تفصل الفواصل بين العناصر الحرفية للقائمة." #. type: Plain text #: debian-trixie debian-unstable msgid "" "Any function in the list below may be used either with or without " "parentheses around its arguments. (The syntax descriptions omit the " "parentheses.) If you use parentheses, the simple but occasionally " "surprising rule is this: It I like a function, therefore it I a " "function, and precedence doesn't matter. Otherwise it's a list operator or " "unary operator, and precedence does matter. Whitespace between the function " "and left parenthesis doesn't count, so sometimes you need to be careful:" msgstr "" "يمكن استخدام أي دالة في القائمة أدناه إما بوجود أقواس حول معاملاتها أو " "بدونها. (تحذف أوصاف بناء الجملة الأقواس). إذا استخدمت الأقواس، فإن القاعدة " "البسيطة التي قد تكون مفاجئة أحيانًا هي: إذا كانت I<تبدو> كدالة، فهي إذًا " "I<دالة>، ولا تهم الأسبقية حينها. بخلاف ذلك، فهي معامل قائمة أو معامل أحادي، " "وتصبح الأسبقية مهمة. لا تُحتسب المسافات البيضاء بين الدالة والقوس الأيسر، لذا " "عليك توخي الحذر أحيانًا:" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "" "\\& print 1+2+4; # Prints 7.\n" "\\& print(1+2) + 4; # Prints 3.\n" "\\& print (1+2)+4; # Also prints 3!\n" "\\& print +(1+2)+4; # Prints 7.\n" "\\& print ((1+2)+4); # Prints 7.\n" msgstr "" "\\& print 1+2+4; # يطبع 7.\n" "\\& print(1+2) + 4; # يطبع 3.\n" "\\& print (1+2)+4; # يطبع 3 أيضًا!\n" "\\& print +(1+2)+4; # يطبع 7.\n" "\\& print ((1+2)+4); # يطبع 7.\n" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "If you run Perl with the CW<\\*(C`use warnings\\*(C'> pragma, it can warn " "you about this. For example, the third line above produces:" msgstr "" "إذا شغلت بيرل باستخدام توجيه CW<\\*(C`use warnings\\*(C'>، فيمكنه تحذيرك " "بشأن هذا الأمر. على سبيل المثال، ينتج السطر الثالث أعلاه ما يلي:" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "" "\\& print (...) interpreted as function at - line 1.\n" "\\& Useless use of integer addition in void context at - line 1.\n" msgstr "" "\\& fùسر (...) كدالة في - السطر 1.\n" "\\& استخدام عديم الفائدة لجمع الأعداد الصحيحة في سياق فارغ في - السطر 1.\n" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "A few functions take no arguments at all, and therefore work as neither " "unary nor list operators. These include such functions as " "\\&CW<\\*(C`time\\*(C'> and CW<\\*(C`endpwent\\*(C'>. For example, " "\\&CW<\\*(C`time+86_400\\*(C'> always means CW<\\*(C`time() + 86_400\\*(C'>." msgstr "" "توجد بعض الدوال التي لا تأخذ أي معاملات على الإطلاق، وبالتالي لا تعمل " "كمعاملات أحادية ولا كمعاملات قائمة. تشمل هذه الدوال دالة " "\\&CW<\\*(C`time\\*(C'> وCW<\\*(C`endpwent\\*(C'>. على سبيل المثال، تعني " "\\&CW<\\*(C`time+86_400\\*(C'> دائمًا CW<\\*(C`time() + 86_400\\*(C'>." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "For functions that can be used in either a scalar or list context, " "nonabortive failure is generally indicated in scalar context by returning " "the undefined value, and in list context by returning the empty list." msgstr "" "بالنسبة للدوال التي يمكن استخدامها في سياق قياسي أو سياق قائمة، يُشار عادةً " "إلى الفشل غير المنهي في السياق القياسي عن طريق إرجاع القيمة غير المعرفة " "(undefined value)، وفي سياق القائمة عن طريق إرجاع قائمة فارغة." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Remember the following important rule: There is B that relates the " "behavior of an expression in list context to its behavior in scalar context, " "or vice versa. It might do two totally different things. Each operator and " "function decides which sort of value would be most appropriate to return in " "scalar context. Some operators return the length of the list that would " "have been returned in list context. Some operators return the first value " "in the list. Some operators return the last value in the list. Some " "operators return a count of successful operations. In general, they do what " "you want, unless you want consistency." msgstr "" "تذكر القاعدة المهمة التالية: B<لا توجد قاعدة> تربط سلوك تعبير ما في سياق " "القائمة بسلوكه في السياق القياسي، أو العكس. قد يقوم التعبير بشيئين مختلفين " "تمامًا. يقرر كل معامل ودالة نوع القيمة الأكثر ملاءمة لإرجاعها في السياق " "القياسي. تعيد بعض المعاملات طول القائمة التي كانت ستُرجع في سياق القائمة. " "وتعيد بعض المعاملات القيمة الأولى في القائمة. وتعيد معاملات أخرى القيمة " "الأخيرة في القائمة. بينما تعيد بعض المعاملات عدد العمليات الناجحة. بشكل عام، " "تقوم هذه الدوال بما تريده، ما لم تكن تريد الاتساق." #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "context" msgstr "سياق" #. type: Plain text #: debian-trixie debian-unstable msgid "" "A named array in scalar context is quite different from what would at first " "glance appear to be a list in scalar context. You can't get a list like " "CW<\\*(C`(1,2,3)\\*(C'> into being in scalar context, because the compiler " "knows the context at compile time. It would generate the scalar comma " "operator there, not the list concatenation version of the comma. That means " "it was never a list to start with." msgstr "" "تختلف المصفوفة المسماة في السياق القياسي تمامًا عما قد يبدو للوهلة الأولى أنه " "قائمة في سياق قياسي. لا يمكنك جعل قائمة مثل CW<\\*(C`(1,2,3)\\*(C'> تتواجد " "في سياق قياسي، لأن المترجم (compiler) يعرف السياق في وقت الترجمة. سيقوم " "المترجم بتوليد معامل الفاصلة القياسي هناك، وليس نسخة دمج القوائم من الفاصلة. " "وهذا يعني أنها لم تكن قائمة من الأساس." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "In general, functions in Perl that serve as wrappers for system calls " "(\"syscalls\") of the same name (like B\\|(2), B\\|(2), " "\\&B\\|(2), etc.) return true when they succeed and " "\\&CW<\\*(C`undef\\*(C'> otherwise, as is usually mentioned in the " "descriptions below. This is different from the C interfaces, which return " "CW<-1> on failure. Exceptions to this rule include \\&CW<\\*(C`wait\\*(C'>, " "CW<\\*(C`waitpid\\*(C'>, and \\&CW<\\*(C`syscall\\*(C'>. System calls also " "set the special \\&CW<$!> variable on failure. Other functions do not, " "except accidentally." msgstr "" "بشكل عام، الدوال في بيرل التي تعمل كأغلفة لاستدعاءات النظام (system calls) " "التي تحمل نفس الاسم (مثل B\\|(2) و B\\|(2) و \\&B\\|" "(2) وغيرها) تعيد قيمة حقيقية (true) عند نجاحها وتعيد " "\\&CW<\\*(C`undef\\*(C'> خلاف ذلك، كما هو مذكور عادةً في الأوصاف أدناه. هذا " "يختلف عن واجهات لغة C التي تعيد CW<-1> عند الفشل. تشمل الاستثناءات لهذه " "القاعدة \\&CW<\\*(C`wait\\*(C'> و CW<\\*(C`waitpid\\*(C'> و " "\\&CW<\\*(C`syscall\\*(C'>. كما تقوم استدعاءات النظام بتعيين المتغير الخاص " "\\&CW<$!> عند الفشل، بينما لا تفعل الدوال الأخرى ذلك إلا بمحض الصدفة." #. type: Plain text #: debian-trixie debian-unstable msgid "" "Extension modules can also hook into the Perl parser to define new kinds of " "keyword-headed expression. These may look like functions, but may also look " "completely different. The syntax following the keyword is defined entirely " "by the extension. If you are an implementor, see \"PL_keyword_plugin\" in " "perlapi for the mechanism. If you are using such a module, see the module's " "documentation for details of the syntax that it defines." msgstr "" "يمكن لوحدات الامتداد (Extension modules) أيضًا الارتباط بمحلل بيرل (Perl " "parser) لتعريف أنواع جديدة من التعبيرات التي تبدأ بكلمات مفتاحية. قد تبدو " "هذه التعبيرات مثل الدوال، لكنها قد تبدو أيضًا مختلفة تمامًا. يُعرف بناء" " الجملة " "الذي يلي الكلمة المفتاحية بالكامل بواسطة الامتداد. إذا كنت مطورًا، فراجع " "\"PL_keyword_plugin\" في perlapi للتعرف على الآلية. أما إذا كنت تستخدم مثل " "هذه الوحدة، فراجع توثيق الوحدة للحصول على تفاصيل بناء الجملة الذي تحدده." #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "Perl Functions by Category" msgstr "دوال بيرل حسب الفئة" #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "Subsection" msgstr "Subsection" #. type: Plain text #: debian-trixie debian-unstable msgid "" "Here are Perl's functions (including things that look like functions, like " "some keywords and named operators) arranged by category. Some functions " "appear in more than one place. Any warnings, including those produced by " "keywords, are described in perldiag and warnings." msgstr "" "إليك دوال لغة بيرل (بما في ذلك العناصر التي تبدو كدوال، مثل بعض الكلمات " "المفتاحية والمعاملات المسماة) مرتبة حسب الفئة. تظهر بعض الدوال في أكثر من " "موضع. أي تحذيرات، بما في ذلك تلك الناتجة عن الكلمات المفتاحية، موصوفة في " "perldiag و warnings." #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "Functions for SCALARs or strings" msgstr "دوال للمتغيرات القياسية (SCALARs) أو النصوص" #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "scalar string character" msgstr "سلمي سلسلة محرف" #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "Item" msgstr "Item" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "\\&CW<\\*(C`chomp\\*(C'>, CW<\\*(C`chop\\*(C'>, \\&CW<\\*(C`chr\\*(C'>, " "CW<\\*(C`crypt\\*(C'>, \\&CW<\\*(C`fc\\*(C'>, CW<\\*(C`hex\\*(C'>, " "\\&CW<\\*(C`index\\*(C'>, CW<\\*(C`lc\\*(C'>, \\&CW<\\*(C`lcfirst\\*(C'>, " "CW<\\*(C`length\\*(C'>, \\&CW<\\*(C`oct\\*(C'>, CW<\\*(C`ord\\*(C'>, " "\\&CW<\\*(C`pack\\*(C'>, \\&CW<\\*(C`q//\\*(C'>, \\&CW<\\*(C`qq//\\*(C'>, " "CW<\\*(C`reverse\\*(C'>, \\&CW<\\*(C`rindex\\*(C'>, " "\\&CW<\\*(C`sprintf\\*(C'>, \\&CW<\\*(C`substr\\*(C'>, \\&CW<\\*(C`tr///" "\\*(C'>, CW<\\*(C`uc\\*(C'>, \\&CW<\\*(C`ucfirst\\*(C'>, \\&CW<\\*(C`y///" "\\*(C'>" msgstr "" "\\&CW<\\*(C`chomp\\*(C'>, CW<\\*(C`chop\\*(C'>, \\&CW<\\*(C`chr\\*(C'>, " "CW<\\*(C`crypt\\*(C'>, \\&CW<\\*(C`fc\\*(C'>, CW<\\*(C`hex\\*(C'>, " "\\&CW<\\*(C`index\\*(C'>, CW<\\*(C`lc\\*(C'>, \\&CW<\\*(C`lcfirst\\*(C'>, " "CW<\\*(C`length\\*(C'>, \\&CW<\\*(C`oct\\*(C'>, CW<\\*(C`ord\\*(C'>, " "\\&CW<\\*(C`pack\\*(C'>, \\&CW<\\*(C`q//\\*(C'>, \\&CW<\\*(C`qq//\\*(C'>, " "CW<\\*(C`reverse\\*(C'>, \\&CW<\\*(C`rindex\\*(C'>, " "\\&CW<\\*(C`sprintf\\*(C'>, \\&CW<\\*(C`substr\\*(C'>, \\&CW<\\*(C`tr///" "\\*(C'>, CW<\\*(C`uc\\*(C'>, \\&CW<\\*(C`ucfirst\\*(C'>, \\&CW<\\*(C`y///" "\\*(C'>" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "\\&CW<\\*(C`fc\\*(C'> is available only if the \\&CW<\"fc\"> feature is " "enabled or if it is prefixed with CW<\\*(C`CORE::\\*(C'>. The \\&CW<\"fc\"> " "feature is enabled automatically with a CW<\\*(C`use v5.16\\*(C'> (or " "higher) declaration in the current scope." msgstr "" "دالة \\&CW<\\*(C`fc\\*(C'> متاحة فقط إذا مُكنت ميزة \\&CW<\"fc\"> أو إذا كانت " "مسبوقة بـ CW<\\*(C`CORE::\\*(C'>. تُمكن ميزة \\&CW<\"fc\"> تلقائيًا عند " "التصريح عن استخدام CW<\\*(C`use v5.16\\*(C'> (أو إصدار أحدث) في النطاق " "الحالي." #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "Regular expressions and pattern matching" msgstr "التعبيرات النمطية ومطابقة الأنماط" #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "regular expression regex regexp" msgstr "تعبير نمطي regex regexp" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "\\&CW<\\*(C`m//\\*(C'>, CW<\\*(C`pos\\*(C'>, \\&CW<\\*(C`qr//\\*(C'>, " "\\&CW<\\*(C`quotemeta\\*(C'>, \\&CW<\\*(C`s///\\*(C'>, " "\\&CW<\\*(C`split\\*(C'>, \\&CW<\\*(C`study\\*(C'>" msgstr "" "\\&CW<\\*(C`m//\\*(C'>, CW<\\*(C`pos\\*(C'>, \\&CW<\\*(C`qr//\\*(C'>, " "\\&CW<\\*(C`quotemeta\\*(C'>, \\&CW<\\*(C`s///\\*(C'>, " "\\&CW<\\*(C`split\\*(C'>, \\&CW<\\*(C`study\\*(C'>" #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "Numeric functions" msgstr "الدوال الرقمية" #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "numeric number trigonometric trigonometry" msgstr "عددي رقم مثلثي علم المثلثات" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "\\&CW<\\*(C`abs\\*(C'>, CW<\\*(C`atan2\\*(C'>, CW<\\*(C`cos\\*(C'>, " "\\&CW<\\*(C`exp\\*(C'>, CW<\\*(C`hex\\*(C'>, CW<\\*(C`int\\*(C'>, " "\\&CW<\\*(C`log\\*(C'>, CW<\\*(C`oct\\*(C'>, CW<\\*(C`rand\\*(C'>, " "\\&CW<\\*(C`sin\\*(C'>, CW<\\*(C`sqrt\\*(C'>, CW<\\*(C`srand\\*(C'>" msgstr "" "\\&CW<\\*(C`abs\\*(C'>, CW<\\*(C`atan2\\*(C'>, CW<\\*(C`cos\\*(C'>, " "\\&CW<\\*(C`exp\\*(C'>, CW<\\*(C`hex\\*(C'>, CW<\\*(C`int\\*(C'>, " "\\&CW<\\*(C`log\\*(C'>, CW<\\*(C`oct\\*(C'>, CW<\\*(C`rand\\*(C'>, " "\\&CW<\\*(C`sin\\*(C'>, CW<\\*(C`sqrt\\*(C'>, CW<\\*(C`srand\\*(C'>" #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "array" msgstr "مصفوفة" #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "Functions for real @ARRAYs" msgstr "دوال للمصفوفات الحقيقية (@ARRAYs)" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "\\&CW<\\*(C`each\\*(C'>, CW<\\*(C`keys\\*(C'>, CW<\\*(C`pop\\*(C'>, " "\\&CW<\\*(C`push\\*(C'>, CW<\\*(C`shift\\*(C'>, \\&CW<\\*(C`splice\\*(C'>, " "\\&CW<\\*(C`unshift\\*(C'>, CW<\\*(C`values\\*(C'>" msgstr "" "\\&CW<\\*(C`each\\*(C'>, CW<\\*(C`keys\\*(C'>, CW<\\*(C`pop\\*(C'>, " "\\&CW<\\*(C`push\\*(C'>, CW<\\*(C`shift\\*(C'>, \\&CW<\\*(C`splice\\*(C'>, " "\\&CW<\\*(C`unshift\\*(C'>, CW<\\*(C`values\\*(C'>" #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "Functions for list data" msgstr "دوال لبيانات القوائم" #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "list" msgstr "قائمة" #. type: Plain text #: debian-trixie debian-unstable msgid "" "\\&CW<\\*(C`grep\\*(C'>, CW<\\*(C`join\\*(C'>, \\&CW<\\*(C`map\\*(C'>, " "CW<\\*(C`qw//\\*(C'>, \\&CW<\\*(C`reverse\\*(C'>, CW<\\*(C`sort\\*(C'>, " "\\&CW<\\*(C`unpack\\*(C'>" msgstr "" "\\&CW<\\*(C`grep\\*(C'>, CW<\\*(C`join\\*(C'>, \\&CW<\\*(C`map\\*(C'>, " "CW<\\*(C`qw//\\*(C'>, \\&CW<\\*(C`reverse\\*(C'>, CW<\\*(C`sort\\*(C'>, " "\\&CW<\\*(C`unpack\\*(C'>" #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "hash" msgstr "hash" #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "Functions for real %HASHes" msgstr "دوال لجداول الهاش الحقيقية (%HASHes)" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "\\&CW<\\*(C`delete\\*(C'>, CW<\\*(C`each\\*(C'>, \\&CW<\\*(C`exists\\*(C'>, " "CW<\\*(C`keys\\*(C'>, \\&CW<\\*(C`values\\*(C'>" msgstr "" "\\&CW<\\*(C`delete\\*(C'>, CW<\\*(C`each\\*(C'>, \\&CW<\\*(C`exists\\*(C'>, " "CW<\\*(C`keys\\*(C'>, \\&CW<\\*(C`values\\*(C'>" #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "Input and output functions" msgstr "دوال الإدخال والإخراج" #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "I O input output dbm" msgstr "إدخال إخراج dbm" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "\\&CW<\\*(C`binmode\\*(C'>, CW<\\*(C`close\\*(C'>, " "\\&CW<\\*(C`closedir\\*(C'>, CW<\\*(C`dbmclose\\*(C'>, " "\\&CW<\\*(C`dbmopen\\*(C'>, CW<\\*(C`die\\*(C'>, \\&CW<\\*(C`eof\\*(C'>, " "CW<\\*(C`fileno\\*(C'>, \\&CW<\\*(C`flock\\*(C'>, CW<\\*(C`format\\*(C'>, " "\\&CW<\\*(C`getc\\*(C'>, CW<\\*(C`print\\*(C'>, \\&CW<\\*(C`printf\\*(C'>, " "\\&CW<\\*(C`read\\*(C'>, \\&CW<\\*(C`readdir\\*(C'>, " "CW<\\*(C`readline\\*(C'>, \\&CW<\\*(C`rewinddir\\*(C'>, CW<\\*(C`say\\*(C'>, " "\\&CW<\\*(C`seek\\*(C'>, \\&CW<\\*(C`seekdir\\*(C'>, " "\\&CW<\\*(C`select\\*(C'>, \\&CW<\\*(C`syscall\\*(C'>, " "\\&CW<\\*(C`sysread\\*(C'>, \\&CW<\\*(C`sysseek\\*(C'>, " "\\&CW<\\*(C`syswrite\\*(C'>, \\&CW<\\*(C`tell\\*(C'>, " "CW<\\*(C`telldir\\*(C'>, \\&CW<\\*(C`truncate\\*(C'>, CW<\\*(C`warn\\*(C'>, " "\\&CW<\\*(C`write\\*(C'>" msgstr "" "\\&CW<\\*(C`binmode\\*(C'>, CW<\\*(C`close\\*(C'>, " "\\&CW<\\*(C`closedir\\*(C'>, CW<\\*(C`dbmclose\\*(C'>, " "\\&CW<\\*(C`dbmopen\\*(C'>, CW<\\*(C`die\\*(C'>, \\&CW<\\*(C`eof\\*(C'>, " "CW<\\*(C`fileno\\*(C'>, \\&CW<\\*(C`flock\\*(C'>, CW<\\*(C`format\\*(C'>, " "\\&CW<\\*(C`getc\\*(C'>, CW<\\*(C`print\\*(C'>, \\&CW<\\*(C`printf\\*(C'>, " "\\&CW<\\*(C`read\\*(C'>, \\&CW<\\*(C`readdir\\*(C'>, " "CW<\\*(C`readline\\*(C'>, \\&CW<\\*(C`rewinddir\\*(C'>, CW<\\*(C`say\\*(C'>, " "\\&CW<\\*(C`seek\\*(C'>, \\&CW<\\*(C`seekdir\\*(C'>, " "\\&CW<\\*(C`select\\*(C'>, \\&CW<\\*(C`syscall\\*(C'>, " "\\&CW<\\*(C`sysread\\*(C'>, \\&CW<\\*(C`sysseek\\*(C'>, " "\\&CW<\\*(C`syswrite\\*(C'>, \\&CW<\\*(C`tell\\*(C'>, " "CW<\\*(C`telldir\\*(C'>, \\&CW<\\*(C`truncate\\*(C'>, CW<\\*(C`warn\\*(C'>, " "\\&CW<\\*(C`write\\*(C'>" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "\\&CW<\\*(C`say\\*(C'> is available only if the \\&CW<\"say\"> feature is " "enabled or if it is prefixed with CW<\\*(C`CORE::\\*(C'>. The " "\\&CW<\"say\"> feature is enabled automatically with a CW<\\*(C`use " "v5.10\\*(C'> (or higher) declaration in the current scope." msgstr "" "دالة \\&CW<\\*(C`say\\*(C'> متاحة فقط إذا مُكنت ميزة \\&CW<\"say\"> أو إذا " "كانت مسبوقة بـ CW<\\*(C`CORE::\\*(C'>. تُمكن ميزة \\&CW<\"say\"> تلقائيًا عند " "التصريح عن استخدام CW<\\*(C`use v5.10\\*(C'> (أو إصدار أحدث) في النطاق " "الحالي." #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "Functions for fixed-length data or records" msgstr "دوال للبيانات ثابتة الطول أو السجلات" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "\\&CW<\\*(C`pack\\*(C'>, \\&CW<\\*(C`read\\*(C'>, " "\\&CW<\\*(C`syscall\\*(C'>, \\&CW<\\*(C`sysread\\*(C'>, " "\\&CW<\\*(C`sysseek\\*(C'>, \\&CW<\\*(C`syswrite\\*(C'>, " "\\&CW<\\*(C`unpack\\*(C'>, CW<\\*(C`vec\\*(C'>" msgstr "" "\\&CW<\\*(C`pack\\*(C'>, \\&CW<\\*(C`read\\*(C'>, " "\\&CW<\\*(C`syscall\\*(C'>, \\&CW<\\*(C`sysread\\*(C'>, " "\\&CW<\\*(C`sysseek\\*(C'>, \\&CW<\\*(C`syswrite\\*(C'>, " "\\&CW<\\*(C`unpack\\*(C'>, CW<\\*(C`vec\\*(C'>" #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "Functions for filehandles, files, or directories" msgstr "دوال لمقابض الملفات، الملفات، أو المجلدات" #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "file filehandle directory pipe link symlink" msgstr "ملف مقبض-ملف دليل أنبوب وصلة وصلة-رمزية" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "\\&CW<\\*(C`->\\f(CIXCW<\\*(C'>, CW<\\*(C`chdir\\*(C'>, " "\\&CW<\\*(C`chmod\\*(C'>, CW<\\*(C`chown\\*(C'>, \\&CW<\\*(C`chroot\\*(C'>, " "\\&CW<\\*(C`fcntl\\*(C'>, CW<\\*(C`glob\\*(C'>, \\&CW<\\*(C`ioctl\\*(C'>, " "\\&CW<\\*(C`link\\*(C'>, CW<\\*(C`lstat\\*(C'>, \\&CW<\\*(C`mkdir\\*(C'>, " "CW<\\*(C`open\\*(C'>, \\&CW<\\*(C`opendir\\*(C'>, CW<\\*(C`readlink\\*(C'>, " "\\&CW<\\*(C`rename\\*(C'>, CW<\\*(C`rmdir\\*(C'>, \\&CW<\\*(C`select\\*(C'>, " "CW<\\*(C`stat\\*(C'>, \\&CW<\\*(C`symlink\\*(C'>, " "\\&CW<\\*(C`sysopen\\*(C'>, \\&CW<\\*(C`umask\\*(C'>, " "CW<\\*(C`unlink\\*(C'>, \\&CW<\\*(C`utime\\*(C'>" msgstr "" "\\&CW<\\*(C`->\\f(CIXCW<\\*(C'>, CW<\\*(C`chdir\\*(C'>, " "\\&CW<\\*(C`chmod\\*(C'>, CW<\\*(C`chown\\*(C'>, \\&CW<\\*(C`chroot\\*(C'>, " "\\&CW<\\*(C`fcntl\\*(C'>, CW<\\*(C`glob\\*(C'>, \\&CW<\\*(C`ioctl\\*(C'>, " "\\&CW<\\*(C`link\\*(C'>, CW<\\*(C`lstat\\*(C'>, \\&CW<\\*(C`mkdir\\*(C'>, " "CW<\\*(C`open\\*(C'>, \\&CW<\\*(C`opendir\\*(C'>, CW<\\*(C`readlink\\*(C'>, " "\\&CW<\\*(C`rename\\*(C'>, CW<\\*(C`rmdir\\*(C'>, \\&CW<\\*(C`select\\*(C'>, " "CW<\\*(C`stat\\*(C'>, \\&CW<\\*(C`symlink\\*(C'>, " "\\&CW<\\*(C`sysopen\\*(C'>, \\&CW<\\*(C`umask\\*(C'>, " "CW<\\*(C`unlink\\*(C'>, \\&CW<\\*(C`utime\\*(C'>" #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "Keywords related to the control flow of your Perl program" msgstr "الكلمات المفتاحية المتعلقة بتدفق التحكم في برنامج بيرل" #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "control flow" msgstr "تدفق التحكم" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "\\&CW<\\*(C`break\\*(C'>, CW<\\*(C`caller\\*(C'>, " "\\&CW<\\*(C`continue\\*(C'>, CW<\\*(C`die\\*(C'>, CW<\\*(C`do\\*(C'>, " "\\&CW<\\*(C`dump\\*(C'>, CW<\\*(C`eval\\*(C'>, \\&CW<\\*(C`evalbytes\\*(C'>, " "CW<\\*(C`exit\\*(C'>, \\&CW<\\*(C`_\\|_FILE_\\|_\\*(C'>, " "CW<\\*(C`goto\\*(C'>, \\&CW<\\*(C`last\\*(C'>, CW<\\*(C`_\\|_LINE_\\|" "_\\*(C'>, \\&CW<\\*(C`method\\*(C'>, \\&CW<\\*(C`next\\*(C'>, CW<\\*(C`_\\|" "_PACKAGE_\\|_\\*(C'>, \\&CW<\\*(C`redo\\*(C'>, CW<\\*(C`return\\*(C'>, " "\\&CW<\\*(C`sub\\*(C'>, CW<\\*(C`_\\|_SUB_\\|_\\*(C'>, " "\\&CW<\\*(C`wantarray\\*(C'>" msgstr "" "\\&CW<\\*(C`break\\*(C'>, CW<\\*(C`caller\\*(C'>, " "\\&CW<\\*(C`continue\\*(C'>, CW<\\*(C`die\\*(C'>, CW<\\*(C`do\\*(C'>, " "\\&CW<\\*(C`dump\\*(C'>, CW<\\*(C`eval\\*(C'>, \\&CW<\\*(C`evalbytes\\*(C'>, " "CW<\\*(C`exit\\*(C'>, \\&CW<\\*(C`_\\|_FILE_\\|_\\*(C'>, " "CW<\\*(C`goto\\*(C'>, \\&CW<\\*(C`last\\*(C'>, CW<\\*(C`_\\|_LINE_\\|" "_\\*(C'>, \\&CW<\\*(C`method\\*(C'>, \\&CW<\\*(C`next\\*(C'>, CW<\\*(C`_\\|" "_PACKAGE_\\|_\\*(C'>, \\&CW<\\*(C`redo\\*(C'>, CW<\\*(C`return\\*(C'>, " "\\&CW<\\*(C`sub\\*(C'>, CW<\\*(C`_\\|_SUB_\\|_\\*(C'>, " "\\&CW<\\*(C`wantarray\\*(C'>" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "\\&CW<\\*(C`break\\*(C'> is available only if you enable the experimental " "\\&CW<\"switch\"> feature or use the CW<\\*(C`CORE::\\*(C'> prefix. The " "CW<\"switch\"> feature also enables the CW<\\*(C`default\\*(C'>, " "CW<\\*(C`given\\*(C'> and CW<\\*(C`when\\*(C'> statements, which are " "documented in \"Switch Statements\" in perlsyn. The CW<\"switch\"> feature " "is enabled automatically with a CW<\\*(C`use v5.10\\*(C'> (or higher) " "declaration in the current scope. In Perl v5.14 and earlier, " "CW<\\*(C`continue\\*(C'> required the CW<\"switch\"> feature, like the other " "keywords." msgstr "" "تتوفر \\&CW<\\*(C`break\\*(C'> فقط إذا مُكنت ميزة \\&CW<\"switch\"> التجريبية " "أو استُخدمت بادئة CW<\\*(C`CORE::\\*(C'>. تمكن ميزة CW<\"switch\"> أيضًا " "عبارات CW<\\*(C`default\\*(C'> و CW<\\*(C`given\\*(C'> و " "CW<\\*(C`when\\*(C'>، الموثقة في \"Switch Statements\" في perlsyn. تُمكّن" " ميزة " "CW<\"switch\"> آليًا مع إعلان CW<\\*(C`use v5.10\\*(C'> (أو أعلى) في النطاق " "الحالي. في بيرل v5.14 وما قبله، تطلبت CW<\\*(C`continue\\*(C'> ميزة " "CW<\"switch\">، مثل الكلمات المفتاحية الأخرى." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "\\&CW<\\*(C`evalbytes\\*(C'> is only available with the \\&CW<\"evalbytes\"> " "feature (see feature) or if prefixed with CW<\\*(C`CORE::\\*(C'>. " "CW<\\*(C`_\\|_SUB_\\|_\\*(C'> is only available with the " "\\&CW<\"current_sub\"> feature or if prefixed with CW<\\*(C`CORE::\\*(C'>. " "Both the \\&CW<\"evalbytes\"> and CW<\"current_sub\"> features are enabled " "automatically with a CW<\\*(C`use v5.16\\*(C'> (or higher) declaration in " "the current scope." msgstr "" "تتوفر \\&CW<\\*(C`evalbytes\\*(C'> فقط مع ميزة \\&CW<\"evalbytes\"> (راجع " "feature) أو إذا كانت مسبوقة بـ CW<\\*(C`CORE::\\*(C'>. تتوفر CW<\\*(C`_\\|" "_SUB_\\|_\\*(C'> فقط مع ميزة \\&CW<\"current_sub\"> أو إذا كانت مسبوقة بـ " "CW<\\*(C`CORE::\\*(C'>. تُمكّن كل من ميزتي \\&CW<\"evalbytes\"> و " "CW<\"current_sub\"> آليًا مع إعلان CW<\\*(C`use v5.16\\*(C'> (أو أعلى) في " "النطاق الحالي." #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "Keywords related to scoping" msgstr "الكلمات المفتاحية المتعلقة بنطاق المتغيرات (scoping)" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "\\&CW<\\*(C`caller\\*(C'>, \\&CW<\\*(C`class\\*(C'>, " "\\&CW<\\*(C`field\\*(C'>, \\&CW<\\*(C`import\\*(C'>, " "\\&CW<\\*(C`local\\*(C'>, \\&CW<\\*(C`my\\*(C'>, \\&CW<\\*(C`our\\*(C'>, " "\\&CW<\\*(C`package\\*(C'>, \\&CW<\\*(C`state\\*(C'>, \\&CW<\\*(C`use\\*(C'>" msgstr "" "\\&CW<\\*(C`caller\\*(C'>, \\&CW<\\*(C`class\\*(C'>, " "\\&CW<\\*(C`field\\*(C'>, \\&CW<\\*(C`import\\*(C'>, " "\\&CW<\\*(C`local\\*(C'>, \\&CW<\\*(C`my\\*(C'>, \\&CW<\\*(C`our\\*(C'>, " "\\&CW<\\*(C`package\\*(C'>, \\&CW<\\*(C`state\\*(C'>, \\&CW<\\*(C`use\\*(C'>" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "\\&CW<\\*(C`state\\*(C'> is available only if the \\&CW<\"state\"> feature " "is enabled or if it is prefixed with CW<\\*(C`CORE::\\*(C'>. The " "\\&CW<\"state\"> feature is enabled automatically with a CW<\\*(C`use " "v5.10\\*(C'> (or higher) declaration in the current scope." msgstr "" "تتوفر \\&CW<\\*(C`state\\*(C'> فقط إذا مُكنت ميزة \\&CW<\"state\"> أو إذا " "كانت مسبوقة بـ CW<\\*(C`CORE::\\*(C'>. تُمكّن ميزة \\&CW<\"state\"> آليًا مع " "إعلان CW<\\*(C`use v5.10\\*(C'> (أو أعلى) في النطاق الحالي." #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "Miscellaneous functions" msgstr "دوال متنوعة" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "\\&CW<\\*(C`defined\\*(C'>, CW<\\*(C`formline\\*(C'>, " "\\&CW<\\*(C`lock\\*(C'>, CW<\\*(C`prototype\\*(C'>, " "\\&CW<\\*(C`reset\\*(C'>, CW<\\*(C`scalar\\*(C'>, \\&CW<\\*(C`undef\\*(C'>" msgstr "" "\\&CW<\\*(C`defined\\*(C'>, CW<\\*(C`formline\\*(C'>, " "\\&CW<\\*(C`lock\\*(C'>, CW<\\*(C`prototype\\*(C'>, " "\\&CW<\\*(C`reset\\*(C'>, CW<\\*(C`scalar\\*(C'>, \\&CW<\\*(C`undef\\*(C'>" #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "Functions for processes and process groups" msgstr "دوال للعمليات (processes) ومجموعات العمليات" #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "process pid process id" msgstr "عملية معرف-العملية معرف-العملية" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "\\&CW<\\*(C`alarm\\*(C'>, CW<\\*(C`exec\\*(C'>, CW<\\*(C`fork\\*(C'>, " "\\&CW<\\*(C`getpgrp\\*(C'>, CW<\\*(C`getppid\\*(C'>, " "\\&CW<\\*(C`getpriority\\*(C'>, CW<\\*(C`kill\\*(C'>, " "\\&CW<\\*(C`pipe\\*(C'>, \\&CW<\\*(C`qx//\\*(C'>, " "\\&CW<\\*(C`readpipe\\*(C'>, CW<\\*(C`setpgrp\\*(C'>, " "\\&CW<\\*(C`setpriority\\*(C'>, \\&CW<\\*(C`sleep\\*(C'>, " "CW<\\*(C`system\\*(C'>, CW<\\*(C`times\\*(C'>, \\&CW<\\*(C`wait\\*(C'>, " "CW<\\*(C`waitpid\\*(C'>" msgstr "" "\\&CW<\\*(C`alarm\\*(C'>, CW<\\*(C`exec\\*(C'>, CW<\\*(C`fork\\*(C'>, " "\\&CW<\\*(C`getpgrp\\*(C'>, CW<\\*(C`getppid\\*(C'>, " "\\&CW<\\*(C`getpriority\\*(C'>, CW<\\*(C`kill\\*(C'>, " "\\&CW<\\*(C`pipe\\*(C'>, \\&CW<\\*(C`qx//\\*(C'>, " "\\&CW<\\*(C`readpipe\\*(C'>, CW<\\*(C`setpgrp\\*(C'>, " "\\&CW<\\*(C`setpriority\\*(C'>, \\&CW<\\*(C`sleep\\*(C'>, " "CW<\\*(C`system\\*(C'>, CW<\\*(C`times\\*(C'>, \\&CW<\\*(C`wait\\*(C'>, " "CW<\\*(C`waitpid\\*(C'>" #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "Keywords related to Perl modules" msgstr "الكلمات المفتاحية المتعلقة بوحدات بيرل (modules)" #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "module" msgstr "module" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "\\&CW<\\*(C`do\\*(C'>, CW<\\*(C`import\\*(C'>, \\&CW<\\*(C`no\\*(C'>, " "CW<\\*(C`package\\*(C'>, \\&CW<\\*(C`require\\*(C'>, CW<\\*(C`use\\*(C'>" msgstr "" "\\&CW<\\*(C`do\\*(C'>, CW<\\*(C`import\\*(C'>, \\&CW<\\*(C`no\\*(C'>, " "CW<\\*(C`package\\*(C'>, \\&CW<\\*(C`require\\*(C'>, CW<\\*(C`use\\*(C'>" #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "Keywords related to classes and object-orientation" msgstr "الكلمات المفتاحية المتعلقة بالأصناف (classes) والبرمجة كائنية التوجه" #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "object class package" msgstr "كائن صنف حزمة" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "\\&CW<\\*(C`bless\\*(C'>, \\&CW<\\*(C`class\\*(C'>, \\&CW<\\*(C`_\\|" "_CLASS_\\|_\\*(C'>, \\&CW<\\*(C`dbmclose\\*(C'>, \\&CW<\\*(C`dbmopen\\*(C'>, " "\\&CW<\\*(C`field\\*(C'>, \\&CW<\\*(C`method\\*(C'>, " "\\&CW<\\*(C`package\\*(C'>, \\&CW<\\*(C`ref\\*(C'>, \\&CW<\\*(C`tie\\*(C'>, " "\\&CW<\\*(C`tied\\*(C'>, \\&CW<\\*(C`untie\\*(C'>, \\&CW<\\*(C`use\\*(C'>" msgstr "" "\\&CW<\\*(C`bless\\*(C'>, \\&CW<\\*(C`class\\*(C'>, \\&CW<\\*(C`_\\|" "_CLASS_\\|_\\*(C'>, \\&CW<\\*(C`dbmclose\\*(C'>, \\&CW<\\*(C`dbmopen\\*(C'>, " "\\&CW<\\*(C`field\\*(C'>, \\&CW<\\*(C`method\\*(C'>, " "\\&CW<\\*(C`package\\*(C'>, \\&CW<\\*(C`ref\\*(C'>, \\&CW<\\*(C`tie\\*(C'>, " "\\&CW<\\*(C`tied\\*(C'>, \\&CW<\\*(C`untie\\*(C'>, \\&CW<\\*(C`use\\*(C'>" #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "Low-level socket functions" msgstr "دوال المقابس (sockets) منخفضة المستوى" #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "socket sock" msgstr "socket sock" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "\\&CW<\\*(C`accept\\*(C'>, \\&CW<\\*(C`bind\\*(C'>, CW<\\*(C`connect\\*(C'>, " "\\&CW<\\*(C`getpeername\\*(C'>, \\&CW<\\*(C`getsockname\\*(C'>, " "\\&CW<\\*(C`getsockopt\\*(C'>, \\&CW<\\*(C`listen\\*(C'>, " "\\&CW<\\*(C`recv\\*(C'>, \\&CW<\\*(C`send\\*(C'>, " "\\&CW<\\*(C`setsockopt\\*(C'>, \\&CW<\\*(C`shutdown\\*(C'>, " "\\&CW<\\*(C`socket\\*(C'>, \\&CW<\\*(C`socketpair\\*(C'>" msgstr "" "\\&CW<\\*(C`accept\\*(C'>, \\&CW<\\*(C`bind\\*(C'>, CW<\\*(C`connect\\*(C'>, " "\\&CW<\\*(C`getpeername\\*(C'>, \\&CW<\\*(C`getsockname\\*(C'>, " "\\&CW<\\*(C`getsockopt\\*(C'>, \\&CW<\\*(C`listen\\*(C'>, " "\\&CW<\\*(C`recv\\*(C'>, \\&CW<\\*(C`send\\*(C'>, " "\\&CW<\\*(C`setsockopt\\*(C'>, \\&CW<\\*(C`shutdown\\*(C'>, " "\\&CW<\\*(C`socket\\*(C'>, \\&CW<\\*(C`socketpair\\*(C'>" #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "System V interprocess communication functions" msgstr "دوال اتصال العمليات (IPC) لنظام System V" #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "IPC System V semaphore shared memory memory message" msgstr "IPC System V semaphore shared memory memory message" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "\\&CW<\\*(C`msgctl\\*(C'>, CW<\\*(C`msgget\\*(C'>, " "\\&CW<\\*(C`msgrcv\\*(C'>, \\&CW<\\*(C`msgsnd\\*(C'>, " "\\&CW<\\*(C`semctl\\*(C'>, \\&CW<\\*(C`semget\\*(C'>, CW<\\*(C`semop\\*(C'>, " "\\&CW<\\*(C`shmctl\\*(C'>, CW<\\*(C`shmget\\*(C'>, " "\\&CW<\\*(C`shmread\\*(C'>, \\&CW<\\*(C`shmwrite\\*(C'>" msgstr "" "\\&CW<\\*(C`msgctl\\*(C'>, CW<\\*(C`msgget\\*(C'>, " "\\&CW<\\*(C`msgrcv\\*(C'>, \\&CW<\\*(C`msgsnd\\*(C'>, " "\\&CW<\\*(C`semctl\\*(C'>, \\&CW<\\*(C`semget\\*(C'>, CW<\\*(C`semop\\*(C'>, " "\\&CW<\\*(C`shmctl\\*(C'>, CW<\\*(C`shmget\\*(C'>, " "\\&CW<\\*(C`shmread\\*(C'>, \\&CW<\\*(C`shmwrite\\*(C'>" #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "Fetching user and group info" msgstr "جلب معلومات المستخدم والمجموعة" #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "user group password uid gid passwd etc passwd" msgstr "user group password uid gid passwd etc passwd" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "\\&CW<\\*(C`endgrent\\*(C'>, CW<\\*(C`endhostent\\*(C'>, " "\\&CW<\\*(C`endnetent\\*(C'>, CW<\\*(C`endpwent\\*(C'>, " "\\&CW<\\*(C`getgrent\\*(C'>, CW<\\*(C`getgrgid\\*(C'>, " "\\&CW<\\*(C`getgrnam\\*(C'>, CW<\\*(C`getlogin\\*(C'>, " "\\&CW<\\*(C`getpwent\\*(C'>, CW<\\*(C`getpwnam\\*(C'>, " "\\&CW<\\*(C`getpwuid\\*(C'>, CW<\\*(C`setgrent\\*(C'>, " "\\&CW<\\*(C`setpwent\\*(C'>" msgstr "" "\\&CW<\\*(C`endgrent\\*(C'>, CW<\\*(C`endhostent\\*(C'>, " "\\&CW<\\*(C`endnetent\\*(C'>, CW<\\*(C`endpwent\\*(C'>, " "\\&CW<\\*(C`getgrent\\*(C'>, CW<\\*(C`getgrgid\\*(C'>, " "\\&CW<\\*(C`getgrnam\\*(C'>, CW<\\*(C`getlogin\\*(C'>, " "\\&CW<\\*(C`getpwent\\*(C'>, CW<\\*(C`getpwnam\\*(C'>, " "\\&CW<\\*(C`getpwuid\\*(C'>, CW<\\*(C`setgrent\\*(C'>, " "\\&CW<\\*(C`setpwent\\*(C'>" #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "Fetching network info" msgstr "جلب معلومات الشبكة" #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "network protocol host hostname IP address service" msgstr "network protocol host hostname IP address service" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "\\&CW<\\*(C`endprotoent\\*(C'>, CW<\\*(C`endservent\\*(C'>, " "\\&CW<\\*(C`gethostbyaddr\\*(C'>, \\&CW<\\*(C`gethostbyname\\*(C'>, " "CW<\\*(C`gethostent\\*(C'>, \\&CW<\\*(C`getnetbyaddr\\*(C'>, " "\\&CW<\\*(C`getnetbyname\\*(C'>, CW<\\*(C`getnetent\\*(C'>, " "\\&CW<\\*(C`getprotobyname\\*(C'>, \\&CW<\\*(C`getprotobynumber\\*(C'>, " "\\&CW<\\*(C`getprotoent\\*(C'>, \\&CW<\\*(C`getservbyname\\*(C'>, " "\\&CW<\\*(C`getservbyport\\*(C'>, \\&CW<\\*(C`getservent\\*(C'>, " "CW<\\*(C`sethostent\\*(C'>, \\&CW<\\*(C`setnetent\\*(C'>, " "\\&CW<\\*(C`setprotoent\\*(C'>, \\&CW<\\*(C`setservent\\*(C'>" msgstr "" "\\&CW<\\*(C`endprotoent\\*(C'>, CW<\\*(C`endservent\\*(C'>, " "\\&CW<\\*(C`gethostbyaddr\\*(C'>, \\&CW<\\*(C`gethostbyname\\*(C'>, " "CW<\\*(C`gethostent\\*(C'>, \\&CW<\\*(C`getnetbyaddr\\*(C'>, " "\\&CW<\\*(C`getnetbyname\\*(C'>, CW<\\*(C`getnetent\\*(C'>, " "\\&CW<\\*(C`getprotobyname\\*(C'>, \\&CW<\\*(C`getprotobynumber\\*(C'>, " "\\&CW<\\*(C`getprotoent\\*(C'>, \\&CW<\\*(C`getservbyname\\*(C'>, " "\\&CW<\\*(C`getservbyport\\*(C'>, \\&CW<\\*(C`getservent\\*(C'>, " "CW<\\*(C`sethostent\\*(C'>, \\&CW<\\*(C`setnetent\\*(C'>, " "\\&CW<\\*(C`setprotoent\\*(C'>, \\&CW<\\*(C`setservent\\*(C'>" #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "Time-related functions" msgstr "الدوال المتعلقة بالوقت" #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "time date" msgstr "وقت تاريخ" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "\\&CW<\\*(C`gmtime\\*(C'>, CW<\\*(C`localtime\\*(C'>, " "\\&CW<\\*(C`time\\*(C'>, CW<\\*(C`times\\*(C'>" msgstr "" "\\&CW<\\*(C`gmtime\\*(C'>, CW<\\*(C`localtime\\*(C'>, " "\\&CW<\\*(C`time\\*(C'>, CW<\\*(C`times\\*(C'>" #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "Non-function keywords" msgstr "الكلمات المفتاحية غير الدالية" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "\\&CW<\\*(C`ADJUST\\*(C'>, \\&CW<\\*(C`and\\*(C'>, " "\\&CW<\\*(C`AUTOLOAD\\*(C'>, \\&CW<\\*(C`BEGIN\\*(C'>, " "\\&CW<\\*(C`catch\\*(C'>, \\&CW<\\*(C`CHECK\\*(C'>, \\&CW<\\*(C`cmp\\*(C'>, " "\\&CW<\\*(C`CORE\\*(C'>, \\&CW<\\*(C`_\\|_DATA_\\|_\\*(C'>, " "\\&CW<\\*(C`default\\*(C'>, \\&CW<\\*(C`defer\\*(C'>, " "\\&CW<\\*(C`DESTROY\\*(C'>, \\&CW<\\*(C`else\\*(C'>, " "\\&CW<\\*(C`elseif\\*(C'>, \\&CW<\\*(C`elsif\\*(C'>, \\&CW<\\*(C`END\\*(C'>, " "\\&CW<\\*(C`_\\|_END_\\|_\\*(C'>, \\&CW<\\*(C`eq\\*(C'>, " "\\&CW<\\*(C`finally\\*(C'>, \\&CW<\\*(C`for\\*(C'>, " "\\&CW<\\*(C`foreach\\*(C'>, \\&CW<\\*(C`ge\\*(C'>, \\&CW<\\*(C`given\\*(C'>, " "\\&CW<\\*(C`gt\\*(C'>, \\&CW<\\*(C`if\\*(C'>, \\&CW<\\*(C`INIT\\*(C'>, " "\\&CW<\\*(C`isa\\*(C'>, \\&CW<\\*(C`le\\*(C'>, \\&CW<\\*(C`lt\\*(C'>, " "\\&CW<\\*(C`ne\\*(C'>, \\&CW<\\*(C`not\\*(C'>, \\&CW<\\*(C`or\\*(C'>, " "\\&CW<\\*(C`try\\*(C'>, \\&CW<\\*(C`UNITCHECK\\*(C'>, " "\\&CW<\\*(C`unless\\*(C'>, \\&CW<\\*(C`until\\*(C'>, " "\\&CW<\\*(C`when\\*(C'>, \\&CW<\\*(C`while\\*(C'>, \\&CW<\\*(C`x\\*(C'>, " "\\&CW<\\*(C`xor\\*(C'>" msgstr "" "\\&CW<\\*(C`ADJUST\\*(C'>, \\&CW<\\*(C`and\\*(C'>, " "\\&CW<\\*(C`AUTOLOAD\\*(C'>, \\&CW<\\*(C`BEGIN\\*(C'>, " "\\&CW<\\*(C`catch\\*(C'>, \\&CW<\\*(C`CHECK\\*(C'>, \\&CW<\\*(C`cmp\\*(C'>, " "\\&CW<\\*(C`CORE\\*(C'>, \\&CW<\\*(C`_\\|_DATA_\\|_\\*(C'>, " "\\&CW<\\*(C`default\\*(C'>, \\&CW<\\*(C`defer\\*(C'>, " "\\&CW<\\*(C`DESTROY\\*(C'>, \\&CW<\\*(C`else\\*(C'>, " "\\&CW<\\*(C`elseif\\*(C'>, \\&CW<\\*(C`elsif\\*(C'>, \\&CW<\\*(C`END\\*(C'>, " "\\&CW<\\*(C`_\\|_END_\\|_\\*(C'>, \\&CW<\\*(C`eq\\*(C'>, " "\\&CW<\\*(C`finally\\*(C'>, \\&CW<\\*(C`for\\*(C'>, " "\\&CW<\\*(C`foreach\\*(C'>, \\&CW<\\*(C`ge\\*(C'>, \\&CW<\\*(C`given\\*(C'>, " "\\&CW<\\*(C`gt\\*(C'>, \\&CW<\\*(C`if\\*(C'>, \\&CW<\\*(C`INIT\\*(C'>, " "\\&CW<\\*(C`isa\\*(C'>, \\&CW<\\*(C`le\\*(C'>, \\&CW<\\*(C`lt\\*(C'>, " "\\&CW<\\*(C`ne\\*(C'>, \\&CW<\\*(C`not\\*(C'>, \\&CW<\\*(C`or\\*(C'>, " "\\&CW<\\*(C`try\\*(C'>, \\&CW<\\*(C`UNITCHECK\\*(C'>, " "\\&CW<\\*(C`unless\\*(C'>, \\&CW<\\*(C`until\\*(C'>, " "\\&CW<\\*(C`when\\*(C'>, \\&CW<\\*(C`while\\*(C'>, \\&CW<\\*(C`x\\*(C'>, " "\\&CW<\\*(C`xor\\*(C'>" #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "Portability" msgstr "قابلية النقل" #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "portability Unix portable" msgstr "portability Unix portable" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Perl was born in Unix and can therefore access all common Unix system " "calls. In non-Unix environments, the functionality of some Unix system " "calls may not be available or details of the available functionality may " "differ slightly. The Perl functions affected by this are:" msgstr "" "ولدت لغة بيرل في يونكس، وبالتالي يمكنها الوصول إلى جميع نداءات نظام يونكس " "الشائعة. في البيئات غير التابعة ليونكس، قد لا تتوفر وظائف بعض نداءات نظام " "يونكس أو قد تختلف تفاصيل الوظائف المتاحة قليلاً. دوال بيرل المتأثرة بهذا هي:" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "\\&CW<\\*(C`->\\f(CIXCW<\\*(C'>, CW<\\*(C`binmode\\*(C'>, " "\\&CW<\\*(C`chmod\\*(C'>, CW<\\*(C`chown\\*(C'>, \\&CW<\\*(C`chroot\\*(C'>, " "CW<\\*(C`crypt\\*(C'>, \\&CW<\\*(C`dbmclose\\*(C'>, CW<\\*(C`dbmopen\\*(C'>, " "\\&CW<\\*(C`dump\\*(C'>, CW<\\*(C`endgrent\\*(C'>, " "\\&CW<\\*(C`endhostent\\*(C'>, CW<\\*(C`endnetent\\*(C'>, " "\\&CW<\\*(C`endprotoent\\*(C'>, CW<\\*(C`endpwent\\*(C'>, " "\\&CW<\\*(C`endservent\\*(C'>, CW<\\*(C`exec\\*(C'>, " "\\&CW<\\*(C`fcntl\\*(C'>, \\&CW<\\*(C`flock\\*(C'>, CW<\\*(C`fork\\*(C'>, " "\\&CW<\\*(C`getgrent\\*(C'>, CW<\\*(C`getgrgid\\*(C'>, " "\\&CW<\\*(C`gethostbyname\\*(C'>, CW<\\*(C`gethostent\\*(C'>, " "\\&CW<\\*(C`getlogin\\*(C'>, \\&CW<\\*(C`getnetbyaddr\\*(C'>, " "\\&CW<\\*(C`getnetbyname\\*(C'>, CW<\\*(C`getnetent\\*(C'>, " "\\&CW<\\*(C`getppid\\*(C'>, CW<\\*(C`getpgrp\\*(C'>, " "\\&CW<\\*(C`getpriority\\*(C'>, \\&CW<\\*(C`getprotobynumber\\*(C'>, " "\\&CW<\\*(C`getprotoent\\*(C'>, CW<\\*(C`getpwent\\*(C'>, " "\\&CW<\\*(C`getpwnam\\*(C'>, CW<\\*(C`getpwuid\\*(C'>, " "\\&CW<\\*(C`getservbyport\\*(C'>, \\&CW<\\*(C`getservent\\*(C'>, " "\\&CW<\\*(C`getsockopt\\*(C'>, \\&CW<\\*(C`glob\\*(C'>, " "CW<\\*(C`ioctl\\*(C'>, \\&CW<\\*(C`kill\\*(C'>, CW<\\*(C`link\\*(C'>, " "\\&CW<\\*(C`lstat\\*(C'>, CW<\\*(C`msgctl\\*(C'>, \\&CW<\\*(C`msgget\\*(C'>, " "\\&CW<\\*(C`msgrcv\\*(C'>, \\&CW<\\*(C`msgsnd\\*(C'>, CW<\\*(C`open\\*(C'>, " "\\&CW<\\*(C`pipe\\*(C'>, CW<\\*(C`readlink\\*(C'>, " "\\&CW<\\*(C`rename\\*(C'>, \\&CW<\\*(C`select\\*(C'>, " "\\&CW<\\*(C`semctl\\*(C'>, \\&CW<\\*(C`semget\\*(C'>, CW<\\*(C`semop\\*(C'>, " "\\&CW<\\*(C`setgrent\\*(C'>, CW<\\*(C`sethostent\\*(C'>, " "\\&CW<\\*(C`setnetent\\*(C'>, CW<\\*(C`setpgrp\\*(C'>, " "\\&CW<\\*(C`setpriority\\*(C'>, \\&CW<\\*(C`setprotoent\\*(C'>, " "CW<\\*(C`setpwent\\*(C'>, \\&CW<\\*(C`setservent\\*(C'>, " "\\&CW<\\*(C`setsockopt\\*(C'>, \\&CW<\\*(C`shmctl\\*(C'>, " "CW<\\*(C`shmget\\*(C'>, \\&CW<\\*(C`shmread\\*(C'>, " "\\&CW<\\*(C`shmwrite\\*(C'>, \\&CW<\\*(C`socket\\*(C'>, " "\\&CW<\\*(C`socketpair\\*(C'>, \\&CW<\\*(C`stat\\*(C'>, " "CW<\\*(C`symlink\\*(C'>, \\&CW<\\*(C`syscall\\*(C'>, " "\\&CW<\\*(C`sysopen\\*(C'>, \\&CW<\\*(C`system\\*(C'>, " "CW<\\*(C`times\\*(C'>, \\&CW<\\*(C`truncate\\*(C'>, CW<\\*(C`umask\\*(C'>, " "\\&CW<\\*(C`unlink\\*(C'>, CW<\\*(C`utime\\*(C'>, CW<\\*(C`wait\\*(C'>, " "\\&CW<\\*(C`waitpid\\*(C'>" msgstr "" "\\&CW<\\*(C`->\\f(CIXCW<\\*(C'>, CW<\\*(C`binmode\\*(C'>, " "\\&CW<\\*(C`chmod\\*(C'>, CW<\\*(C`chown\\*(C'>, \\&CW<\\*(C`chroot\\*(C'>, " "CW<\\*(C`crypt\\*(C'>, \\&CW<\\*(C`dbmclose\\*(C'>, CW<\\*(C`dbmopen\\*(C'>, " "\\&CW<\\*(C`dump\\*(C'>, CW<\\*(C`endgrent\\*(C'>, " "\\&CW<\\*(C`endhostent\\*(C'>, CW<\\*(C`endnetent\\*(C'>, " "\\&CW<\\*(C`endprotoent\\*(C'>, CW<\\*(C`endpwent\\*(C'>, " "\\&CW<\\*(C`endservent\\*(C'>, CW<\\*(C`exec\\*(C'>, " "\\&CW<\\*(C`fcntl\\*(C'>, \\&CW<\\*(C`flock\\*(C'>, CW<\\*(C`fork\\*(C'>, " "\\&CW<\\*(C`getgrent\\*(C'>, CW<\\*(C`getgrgid\\*(C'>, " "\\&CW<\\*(C`gethostbyname\\*(C'>, CW<\\*(C`gethostent\\*(C'>, " "\\&CW<\\*(C`getlogin\\*(C'>, \\&CW<\\*(C`getnetbyaddr\\*(C'>, " "\\&CW<\\*(C`getnetbyname\\*(C'>, CW<\\*(C`getnetent\\*(C'>, " "\\&CW<\\*(C`getppid\\*(C'>, CW<\\*(C`getpgrp\\*(C'>, " "\\&CW<\\*(C`getpriority\\*(C'>, \\&CW<\\*(C`getprotobynumber\\*(C'>, " "\\&CW<\\*(C`getprotoent\\*(C'>, CW<\\*(C`getpwent\\*(C'>, " "\\&CW<\\*(C`getpwnam\\*(C'>, CW<\\*(C`getpwuid\\*(C'>, " "\\&CW<\\*(C`getservbyport\\*(C'>, \\&CW<\\*(C`getservent\\*(C'>, " "\\&CW<\\*(C`getsockopt\\*(C'>, \\&CW<\\*(C`glob\\*(C'>, " "CW<\\*(C`ioctl\\*(C'>, \\&CW<\\*(C`kill\\*(C'>, CW<\\*(C`link\\*(C'>, " "\\&CW<\\*(C`lstat\\*(C'>, CW<\\*(C`msgctl\\*(C'>, \\&CW<\\*(C`msgget\\*(C'>, " "\\&CW<\\*(C`msgrcv\\*(C'>, \\&CW<\\*(C`msgsnd\\*(C'>, CW<\\*(C`open\\*(C'>, " "\\&CW<\\*(C`pipe\\*(C'>, CW<\\*(C`readlink\\*(C'>, " "\\&CW<\\*(C`rename\\*(C'>, \\&CW<\\*(C`select\\*(C'>, " "\\&CW<\\*(C`semctl\\*(C'>, \\&CW<\\*(C`semget\\*(C'>, CW<\\*(C`semop\\*(C'>, " "\\&CW<\\*(C`setgrent\\*(C'>, CW<\\*(C`sethostent\\*(C'>, " "\\&CW<\\*(C`setnetent\\*(C'>, CW<\\*(C`setpgrp\\*(C'>, " "\\&CW<\\*(C`setpriority\\*(C'>, \\&CW<\\*(C`setprotoent\\*(C'>, " "CW<\\*(C`setpwent\\*(C'>, \\&CW<\\*(C`setservent\\*(C'>, " "\\&CW<\\*(C`setsockopt\\*(C'>, \\&CW<\\*(C`shmctl\\*(C'>, " "CW<\\*(C`shmget\\*(C'>, \\&CW<\\*(C`shmread\\*(C'>, " "\\&CW<\\*(C`shmwrite\\*(C'>, \\&CW<\\*(C`socket\\*(C'>, " "\\&CW<\\*(C`socketpair\\*(C'>, \\&CW<\\*(C`stat\\*(C'>, " "CW<\\*(C`symlink\\*(C'>, \\&CW<\\*(C`syscall\\*(C'>, " "\\&CW<\\*(C`sysopen\\*(C'>, \\&CW<\\*(C`system\\*(C'>, " "CW<\\*(C`times\\*(C'>, \\&CW<\\*(C`truncate\\*(C'>, CW<\\*(C`umask\\*(C'>, " "\\&CW<\\*(C`unlink\\*(C'>, CW<\\*(C`utime\\*(C'>, CW<\\*(C`wait\\*(C'>, " "\\&CW<\\*(C`waitpid\\*(C'>" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "For more information about the portability of these functions, see perlport " "and other available platform-specific documentation." msgstr "" "لمزيد من المعلومات حول قابلية نقل هذه الدوال، راجع perlport وغيرها من " "الوثائق المتاحة الخاصة بالمنصة." #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "Alphabetical Listing of Perl Functions" msgstr "قائمة أبجدية لدوال بيرل" #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "-X FILEHANDLE" msgstr "-X FILEHANDLE" #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "" "-r -w -x -o -R -W -X -O -e -z -s -f -d -l -p -S -b -c -t -u -g -k -T -B -M -A" " -C" msgstr "" "-r -w -x -o -R -W -X -O -e -z -s -f -d -l -p -S -b -c -t -u -g -k -T -B -M -A" " -C" #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "-X EXPR" msgstr "-X EXPR" #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "-X DIRHANDLE" msgstr "-X DIRHANDLE" #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "-X" msgstr "-X" #. type: Plain text #: debian-trixie debian-unstable msgid "" "A file test, where X is one of the letters listed below. This unary " "operator takes one argument, either a filename, a filehandle, or a " "dirhandle, and tests the associated file to see if something is true about " "it. If the argument is omitted, tests CW<$_>, except for CW<\\*(C`-" "t\\*(C'>, which tests STDIN. Unless otherwise documented, it returns CW<1> " "for true and \\&CW<\\*(Aq\\*(Aq> for false. If the file doesn't exist or " "can't be examined, it returns CW<\\*(C`undef\\*(C'> and sets CW<$!> " "(errno). With the exception of the CW<\\*(C`-l\\*(C'> test they all follow " "symbolic links because they use CW and not CW (so dangling " "symlinks can't be examined and will therefore report failure)." msgstr "" "اختبار ملف، حيث X هو أحد الأحرف المدرجة أدناه. يأخذ هذا المعامل الأحادي " "وسيطًا واحدًا، سواء كان اسم ملف، أو مقبض ملف، أو مقبض دليل، ويختبر الملف " "المرتبط لمعرفة ما إذا كان هناك شيء ما صحيحًا بشأنه. إذا حُذف الوسيط، يختبر " "CW<$_>، باستثناء CW<\\*(C`-t\\*(C'>، الذي يختبر STDIN. ما لم يُوثق خلاف ذلك، " "فإنه يعيد CW<1> للصواب و \\&CW<\\*(Aq\\*(Aq> للخطأ. إذا لم يكن الملف موجودًا " "أو تعذر فحصه، فإنه يعيد CW<\\*(C`undef\\*(C'> ويضبط CW<$!> (errno). باستثناء " "اختبار CW<\\*(C`-l\\*(C'>، فإنها تتبع جميع الروابط الرمزية لأنها تستخدم " "CW وليس CW (لذا لا يمكن فحص الروابط الرمزية المعلقة " "وبالتالي ستبلغ عن فشل)." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Despite the funny names, precedence is the same as any other named unary " "operator. The operator may be any of:" msgstr "" "على الرغم من الأسماء المضحكة، فإن الأسبقية هي نفسها لأي معامل أحادي مسمى " "آخر. يمكن أن يكون المعامل أيًا مما يلي:" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "" "\\& -r File is readable by effective uid/gid.\n" "\\& -w File is writable by effective uid/gid.\n" "\\& -x File is executable by effective uid/gid.\n" "\\& -o File is owned by effective uid.\n" "\\&\n" "\\& -R File is readable by real uid/gid.\n" "\\& -W File is writable by real uid/gid.\n" "\\& -X File is executable by real uid/gid.\n" "\\& -O File is owned by real uid.\n" "\\&\n" "\\& -e File exists.\n" "\\& -z File has zero size (is empty).\n" "\\& -s File has nonzero size (returns size in bytes).\n" "\\&\n" "\\& -f File is a plain file.\n" "\\& -d File is a directory.\n" "\\& -l File is a symbolic link (false if symlinks aren\\*(Aqt\n" "\\& supported by the file system).\n" "\\& -p File is a named pipe (FIFO), or Filehandle is a pipe.\n" "\\& -S File is a socket.\n" "\\& -b File is a block special file.\n" "\\& -c File is a character special file.\n" "\\& -t Filehandle is opened to a tty.\n" "\\&\n" "\\& -u File has setuid bit set.\n" "\\& -g File has setgid bit set.\n" "\\& -k File has sticky bit set.\n" "\\&\n" "\\& -T File is an ASCII or UTF-8 text file (heuristic guess).\n" "\\& -B File is a \"binary\" file (opposite of -T).\n" "\\&\n" "\\& -M Script start time minus file modification time, in days.\n" "\\& -A Same for access time.\n" "\\& -C Same for inode change time (Unix, may differ for other\n" "\\& platforms)\n" msgstr "" "\\& -r الملف قابل للقراءة بواسطة uid/gid الفعلي.\n" "\\& -w الملف قابل للكتابة بواسطة uid/gid الفعلي.\n" "\\& -x الملف قابل للتنفيذ بواسطة uid/gid الفعلي.\n" "\\& -o الملف مملوك من قبل uid الفعلي.\n" "\\&\n" "\\& -R الملف قابل للقراءة بواسطة uid/gid الحقيقي.\n" "\\& -W الملف قابل للكتابة بواسطة uid/gid الحقيقي.\n" "\\& -X الملف قابل للتنفيذ بواسطة uid/gid الحقيقي.\n" "\\& -O الملف مملوك من قبل uid الحقيقي.\n" "\\&\n" "\\& -e الملف موجود.\n" "\\& -z حجم الملف صفر (فارغ).\n" "\\& -s حجم الملف غير صفري (يعيد الحجم بالبايت).\n" "\\&\n" "\\& -f الملف هو ملف عادي.\n" "\\& -d الملف هو دليل.\n" "\\& -l الملف هو رابط رمزي (خطأ إذا كانت الروابط الرمزية غير\n" "\\& مدعومة من نظام ملفات).\n" "\\& -p الملف عبارة عن أنبوب مسمى (FIFO)، أو مقبض الملف عبارة عن أنبوب.\n" "\\& -S الملف عبارة عن مقبس.\n" "\\& -b الملف هو ملف خاص كتلي.\n" "\\& -c الملف هو ملف خاص محرفي.\n" "\\& -t تم فتح مقبض الملف إلى tty.\n" "\\&\n" "\\& -u ضُبط بت setuid للملف.\n" "\\& -g ضُبط بت setgid للملف.\n" "\\& -k ضُبط بت sticky للملف.\n" "\\&\n" "\\& -T الملف هو ملف نصي ASCII أو UTF-8 (تخمين ارشادي).\n" "\\& -B الملف هو ملف \"ثنائي\" (عكس -T).\n" "\\&\n" "\\& -M وقت بدء السكربت ناقص وقت تعديل الملف، بالأيام.\n" "\\& -A نفس الشيء بالنسبة لوقت الوصول.\n" "\\& -C نفس الشيء بالنسبة لوقت تغيير inode (يونكس، قد يختلف في منصات\n" "\\& أخرى)\n" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "Example:" msgstr "مثال:" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "" "\\& while (EE) {\n" "\\& chomp;\n" "\\& next unless -f $_; # ignore specials\n" "\\& #...\n" "\\& }\n" msgstr "" "\\& while (EE) {\n" "\\& chomp;\n" "\\& next unless -f $_; # تجاهل الملفات الخاصة\n" "\\& #...\n" "\\& }\n" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Note that CW<\\*(C`-s/a/b/\\*(C'> does not do a negated substitution. " "Saying \\&CW<\\*(C`-exp($foo)\\*(C'> still works as expected, however: only " "single letters following a minus are interpreted as file tests." msgstr "" "لاحظ أن CW<\\*(C`-s/a/b/\\*(C'> لا يقوم باستبدال منفي. ومع ذلك، فإن قول " "\\&CW<\\*(C`-exp($foo)\\*(C'> لا يزال يعمل كما هو متوقع: فقط الأحرف المفردة " "التي تلي علامة الناقص تُفسر على أنها اختبارات ملف." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "These operators are exempt from the \"looks like a function rule\" described " "above. That is, an opening parenthesis after the operator does not affect " "how much of the following code constitutes the argument. Put the opening " "parentheses before the operator to separate it from code that follows (this " "applies only to operators with higher precedence than unary operators, of " "course):" msgstr "" "تُعفى هذه المعاملات من قاعدة \"يبدو وكأنه دالة\" الموضحة أعلاه. أي أن القوس " "المفتوح بعد المعامل لا يؤثر على مقدار الكود التالي الذي يشكل الوسيط. ضع " "الأقواس المفتوحة قبل المعامل لفصله عن الكود الذي يليه (ينطبق هذا فقط على " "المعاملات ذات الأسبقية الأعلى من المعاملات الأحادية بالطبع):" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "" "\\& -s($file) + 1024 # probably wrong; same as -s($file + 1024)\n" "\\& (-s $file) + 1024 # correct\n" msgstr "" "\\& -s($file) + 1024 # من المحتمل أن يكون خطأ؛ هو نفسه -s($file + 1024)\n" "\\& (-s $file) + 1024 # صحيح\n" #. type: Plain text #: debian-trixie debian-unstable msgid "" "The interpretation of the file permission operators CW<\\*(C`-r\\*(C'>, " "CW<\\*(C`-R\\*(C'>, \\&CW<\\*(C`-w\\*(C'>, CW<\\*(C`-W\\*(C'>, CW<\\*(C`-" "x\\*(C'>, and CW<\\*(C`-X\\*(C'> is by default based solely on the mode of " "the file and the uids and gids of the user. There may be other reasons you " "can't actually read, write, or execute the file: for example network " "filesystem access controls, ACLs (access control lists), read-only " "filesystems, and unrecognized executable formats. Note that the use of " "these six specific operators to verify if some operation is possible is " "usually a mistake, because it may be open to race conditions." msgstr "" "تفسير معاملات أذونات الملف CW<\\*(C`-r\\*(C'>، و CW<\\*(C`-R\\*(C'>، و " "\\&CW<\\*(C`-w\\*(C'>، و CW<\\*(C`-W\\*(C'>، و CW<\\*(C`-x\\*(C'>، و " "CW<\\*(C`-X\\*(C'> يعتمد افتراضيًا فقط على وضع الملف و uids و gids للمستخدم. " "قد تكون هناك أسباب أخرى تمنعك من قراءة الملف أو كتابته أو تنفيذه فعليًا: على " "سبيل المثال ضوابط الوصول إلى نظام ملفات الشبكة، و ACLs (قوائم التحكم في " "الوصول)، وأنظمة الملفات للقراءة فقط، وتنسيقات الملفات التنفيذية غير المعترف " "بها. لاحظ أن استخدام هذه المعاملات الستة المحددة للتحقق مما إذا كانت بعض " "العمليات ممكنة هو عادة خطأ، لأنه قد يكون عرضة لظروف التسابق." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Also note that, for the superuser on the local filesystems, the CW<\\*(C`-" "r\\*(C'>, \\&CW<\\*(C`-R\\*(C'>, CW<\\*(C`-w\\*(C'>, and CW<\\*(C`-W\\*(C'> " "tests always return 1, and CW<\\*(C`-x\\*(C'> and CW<\\*(C`-X\\*(C'> return " "1 if any execute bit is set in the mode. Scripts run by the superuser may " "thus need to do a CW<\\*(C`stat\\*(C'> to determine the actual mode of the " "file, or temporarily set their effective uid to something else." msgstr "" "لاحظ أيضًا أنه بالنسبة للمستخدم الخارق (superuser) على أنظمة الملفات المحلية، " "فإن اختبارات CW<\\*(C`-r\\*(C'> و \\&CW<\\*(C`-R\\*(C'> و CW<\\*(C`-w\\*(C'> " "و CW<\\*(C`-W\\*(C'> تعيد دائمًا 1، و CW<\\*(C`-x\\*(C'> و CW<\\*(C`-X\\*(C'> " "تعيد 1 إذا ضُبط أي بت تنفيذ في الوضع. وبالتالي قد تحتاج السكربتات التي يشغلها " "المستخدم الخارق إلى إجراء CW<\\*(C`stat\\*(C'> لتحديد الوضع الفعلي للملف، أو " "تعيين uid الفعلي مؤقتًا لشيء آخر." #. type: Plain text #: debian-trixie debian-unstable msgid "" "If you are using ACLs, there is a pragma called CW<\\*(C`filetest\\*(C'> " "that may produce more accurate results than the bare \\&CW<\\*(C`stat\\*(C'> " "mode bits. When under CW<\\*(C`use filetest \\*(Aqaccess\\*(Aq\\*(C'>, the " "above-mentioned filetests test whether the permission can(not) be granted " "using the B\\|(2) family of system calls. Also note that the " "CW<\\*(C`-x\\*(C'> and CW<\\*(C`-X\\*(C'> tests may under this pragma return " "true even if there are no execute permission bits set (nor any extra execute " "permission ACLs). This strangeness is due to the underlying system calls' " "definitions. Note also that, due to the implementation of CW<\\*(C`use " "filetest \\*(Aqaccess\\*(Aq\\*(C'>, the CW<\\*(C`_\\*(C'> special filehandle " "won't cache the results of the file tests when this pragma is in effect. " "Read the documentation for the CW<\\*(C`filetest\\*(C'> pragma for more " "information." msgstr "" "إذا كنت تستخدم ACLs، فهناك pragma يسمى CW<\\*(C`filetest\\*(C'> قد يعطي " "نتائج أكثر دقة من بتات وضع \\&CW<\\*(C`stat\\*(C'> المجردة. عند استخدام " "CW<\\*(C`use filetest \\*(Aqaccess\\*(Aq\\*(C'>، تختبر اختبارات الملفات " "المذكورة أعلاه ما إذا كان يمكن (أو لا يمكن) منح الإذن باستخدام عائلة نداءات " "النظام B\\|(2). لاحظ أيضًا أن اختبارات CW<\\*(C`-x\\*(C'> و CW<\\*(C`-" "X\\*(C'> قد تعيد صوابًا بموجب هذا الـ pragma حتى لو لم تكن هناك بتات إذن " "تنفيذ مضبوطة (ولا أي ACLs إذن تنفيذ إضافية). يعود هذا الغرابة إلى تعريفات " "نداءات النظام الأساسية. لاحظ أيضًا أنه نظرًا لتنفيذ CW<\\*(C`use filetest " "\\*(Aqaccess\\*(Aq\\*(C'>، فإن مقبض الملف الخاص CW<\\*(C`_\\*(C'> لن يخزن " "(cache) نتائج اختبارات الملفات عندما يكون هذا الـ pragma ساري المفعول. اقرأ " "توثيق pragma الـ CW<\\*(C`filetest\\*(C'> لمزيد من المعلومات." #. type: Plain text #: debian-trixie debian-unstable msgid "" "The CW<\\*(C`-T\\*(C'> and CW<\\*(C`-B\\*(C'> tests work as follows. The " "first block or so of the file is examined to see if it is valid UTF-8 that " "includes non-ASCII characters. If so, it's a CW<\\*(C`-T\\*(C'> file. " "Otherwise, that same portion of the file is examined for odd characters such " "as strange control codes or characters with the high bit set. If more than " "a third of the characters are strange, it's a CW<\\*(C`-B\\*(C'> file; " "otherwise it's a CW<\\*(C`-T\\*(C'> file. Also, any file containing a zero " "byte in the examined portion is considered a binary file. (If executed " "within the scope of a use\\ locale which includes CW<\\*(C`LC_CTYPE\\*(C'>, " "odd characters are anything that isn't a printable nor space in the current " "locale.) If \\&CW<\\*(C`-T\\*(C'> or CW<\\*(C`-B\\*(C'> is used on a " "filehandle, the current IO buffer is examined rather than the first block. " "Both CW<\\*(C`-T\\*(C'> and CW<\\*(C`-B\\*(C'> return true on an empty file, " "or a file at EOF when testing a filehandle. Because you have to read a file " "to do the CW<\\*(C`-T\\*(C'> test, on most occasions you want to use a " "CW<\\*(C`-f\\*(C'> against the file first, as in CW<\\*(C`next unless -f " "$file && -T $file\\*(C'>." msgstr "" "يعمل اختباري CW<\\*(C`-T\\*(C'> و CW<\\*(C`-B\\*(C'> على النحو التالي. يُفحص " "المقطع الأول أو ما شابه من الملف لمعرفة ما إذا كان UTF-8 صالحًا يتضمن أحرفًا " "غير ASCII. إذا كان الأمر كذلك، فهو ملف CW<\\*(C`-T\\*(C'>. خلاف ذلك، يُفحص " "نفس الجزء من الملف بحثًا عن أحرف غريبة مثل أكواد التحكم الغريبة أو الأحرف " "التي ضُبط البت العالي فيها. إذا كان أكثر من ثلث الأحرف غريبًا، فهو ملف " "CW<\\*(C`-B\\*(C'>؛ وإلا فهو ملف CW<\\*(C`-T\\*(C'>. وأيضًا، أي ملف يحتوي على " "بايت صفري في الجزء المفحوص يعتبر ملفًا ثنائيًا. (إذا نُفذ ضمن نطاق use\\" " locale " "يتضمن CW<\\*(C`LC_CTYPE\\*(C'>، فإن الأحرف الغريبة هي أي شيء ليس قابلاً " "للطباعة ولا مسافة في الإعدادات المحلية الحالية.) إذا استُخدم \\&CW<\\*(C`-" "T\\*(C'> أو CW<\\*(C`-B\\*(C'> على مقبض ملف، يُفحص مخزن IO المؤقت الحالي" " بدلاً " "من المقطع الأول. كلاهما يعيد صوابًا في ملف فارغ، أو ملف عند EOF عند اختبار " "مقبض ملف. نظرًا لأنه يتعين عليك قراءة ملف لإجراء اختبار CW<\\*(C`-T\\*(C'>، " "في معظم الحالات سترغب في استخدام CW<\\*(C`-f\\*(C'> ضد الملف أولاً، كما في " "CW<\\*(C`next unless -f $file && -T $file\\*(C'>." #. type: Plain text #: debian-trixie debian-unstable msgid "" "If any of the file tests (or either the CW<\\*(C`stat\\*(C'> or " "\\&CW<\\*(C`lstat\\*(C'> operator) is given the special filehandle " "consisting of a solitary underline, then the stat structure of the previous " "file test (or CW<\\*(C`stat\\*(C'> operator) is used, saving a system call. " "(This doesn't work with CW<\\*(C`-t\\*(C'>, and you need to remember that " "CW<\\*(C`lstat\\*(C'> and CW<\\*(C`-l\\*(C'> leave values in the stat " "structure for the symbolic link, not the real file.) (Also, if the stat " "buffer was filled by an CW<\\*(C`lstat\\*(C'> call, \\&CW<\\*(C`-T\\*(C'> " "and CW<\\*(C`-B\\*(C'> will reset it with the results of CW<\\*(C`stat " "_\\*(C'>). Example:" msgstr "" "إذا أُعطي أي من اختبارات الملفات (أو أي من المعاملين CW<\\*(C`stat\\*(C'> أو " "\\&CW<\\*(C`lstat\\*(C'>) مقبض الملف الخاص المكون من شرطة سفلية وحيدة، " "فسيُستخدم هيكل stat الخاص باختبار الملف السابق (أو معامل " "CW<\\*(C`stat\\*(C'>)، مما يوفر نداء نظام. (هذا لا يعمل مع CW<\\*(C`-" "t\\*(C'>، وعليك أن تتذكر أن CW<\\*(C`lstat\\*(C'> و CW<\\*(C`-l\\*(C'> " "يتركان قيمًا في هيكل stat للرابط الرمزي، وليس الملف الحقيقي.) (أيضًا، إذا" " مُلئ " "مخزن stat بواسطة نداء CW<\\*(C`lstat\\*(C'>، فسيقوم \\&CW<\\*(C`-T\\*(C'> و " "CW<\\*(C`-B\\*(C'> بإعادة تعيينه بنتائج CW<\\*(C`stat _\\*(C'>). مثال:" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "" "\\& print \"Can do.\\en\" if -r $x || -w _ || -x _;\n" "\\&\n" "\\& stat($filename);\n" "\\& print \"Readable\\en\" if -r _;\n" "\\& print \"Writable\\en\" if -w _;\n" "\\& print \"Executable\\en\" if -x _;\n" "\\& print \"Setuid\\en\" if -u _;\n" "\\& print \"Setgid\\en\" if -g _;\n" "\\& print \"Sticky\\en\" if -k _;\n" "\\& print \"Text\\en\" if -T _;\n" "\\& print \"Binary\\en\" if -B _;\n" msgstr "" "\\& print \"Can do.\\en\" if -r $x || -w _ || -x _;\n" "\\&\n" "\\& stat($filename);\n" "\\& print \"Readable\\en\" if -r _;\n" "\\& print \"Writable\\en\" if -w _;\n" "\\& print \"Executable\\en\" if -x _;\n" "\\& print \"Setuid\\en\" if -u _;\n" "\\& print \"Setgid\\en\" if -g _;\n" "\\& print \"Sticky\\en\" if -k _;\n" "\\& print \"Text\\en\" if -T _;\n" "\\& print \"Binary\\en\" if -B _;\n" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "As of Perl 5.10.0, as a form of purely syntactic sugar, you can stack file " "test operators, in a way that CW<\\*(C`-f -w -x $file\\*(C'> is equivalent " "to \\&CW<\\*(C`-x $file && -w _ && -f _\\*(C'>. (This is only fancy syntax: " "if you use the return value of CW<\\*(C`-f $file\\*(C'> as an argument to " "another filetest operator, no special magic will happen.)" msgstr "" "بدءًا من الإصدار 5.10.0 من بيرل، وكشكل من أشكال التحسين الصرفي، يمكنك تكديس " "معاملات اختبار الملفات، بطريقة تجعل CW<\\*(C`-f -w -x $file\\*(C'> مكافئًا لـ " "\\&CW<\\*(C`-x $file && -w _ && -f _\\*(C'>. (هذا مجرد بناء جملة مزخرف: إذا " "استخدمت القيمة المعادة من CW<\\*(C`-f $file\\*(C'> كوسيط لمعامل اختبار ملف " "آخر، فلن يحدث أي سحر خاص.)" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "Portability issues: \"-X\" in perlport." msgstr "مشكلات قابلية النقل: \"-X\" في perlport." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "To avoid confusing would-be users of your code with mysterious syntax " "errors, put something like this at the top of your script:" msgstr "" "لتجنب إرباك المستخدمين المحتملين لكودك بأخطاء نحوية غامضة، ضع شيئًا كهذا في " "الجزء العلوي من السكربت:" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "\\& use v5.10; # so filetest ops can stack\n" msgstr "\\& use v5.10; # حتى يمكن تكديس معاملات اختبار الملفات\n" #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "abs VALUE" msgstr "abs VALUE" #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "abs absolute" msgstr "abs absolute" #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "abs" msgstr "abs" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Returns the absolute value of its argument. If VALUE is omitted, uses " "CW<$_>." msgstr "يعيد القيمة المطلقة لوسيطه. إذا حُذفت القيمة (VALUE)، يستخدم CW<$_>." #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "accept NEWSOCKET,GENERICSOCKET" msgstr "accept NEWSOCKET,GENERICSOCKET" #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "accept" msgstr "accept" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Accepts an incoming socket connect, just as B\\|(2) does. Returns " "the packed address if it succeeded, false otherwise. See the example in " "\"Sockets: Client/Server Communication\" in perlipc." msgstr "" "يقبل اتصال مقبس وارد، تمامًا كما يفعل B\\|(2). يعيد العنوان المجمع " "(packed address) إذا نجح، وخطأ بخلاف ذلك. انظر المثال في \"Sockets: Client/" "Server Communication\" في perlipc." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "On systems that support a close-on-exec flag on files, the flag will be set " "for the newly opened file descriptor, as determined by the value of " "CW<$^F>. See \"$^F\" in perlvar." msgstr "" "في الأنظمة التي تدعم علم الإغلاق عند التنفيذ (close-on-exec) في الملفات، " "سيُضبط العلم لواصف الملف المفتوح حديثًا، كما هو محدد بواسطة قيمة CW<$^F>." " راجع " "\"$^F\" في perlvar." #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "alarm SECONDS" msgstr "alarm SECONDS" #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "alarm SIGALRM timer" msgstr "alarm SIGALRM timer" #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "alarm" msgstr "alarm" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Arranges to have a SIGALRM delivered to this process after the specified " "number of wallclock seconds has elapsed. If SECONDS is not specified, the " "value stored in CW<$_> is used. (On some machines, unfortunately, the " "elapsed time may be up to one second less or more than you specified because " "of how seconds are counted, and process scheduling may delay the delivery of " "the signal even further.)" msgstr "" "يرتب لتسليم إشارة SIGALRM إلى هذه العملية بعد انقضاء عدد محدد من ثواني " "الساعة الحائطية. إذا لم تُحدد الثواني (SECONDS)، تُستخدم القيمة المخزنة في " "CW<$_>. (في بعض الآلات، لسوء الحظ، قد يكون الوقت المنقضي أقل أو أكثر بمقدار " "ثانية واحدة مما حددته بسبب كيفية عد الثواني، وقد يؤخر جدولة العملية تسليم " "الإشارة بشكل أكبر.)" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Only one timer may be counting at once. Each call disables the previous " "timer, and an argument of CW<0> may be supplied to cancel the previous timer " "without starting a new one. The returned value is the amount of time " "remaining on the previous timer." msgstr "" "يمكن لمؤقت واحد فقط أن يعمل في وقت واحد. كل نداء يعطل المؤقت السابق، ويمكن " "تقديم وسيط بقيمة CW<0> لإلغاء المؤقت السابق دون بدء مؤقت جديد. القيمة " "المعادة هي مقدار الوقت المتبقي في المؤقت السابق." #. type: Plain text #: debian-trixie debian-unstable msgid "" "For delays of finer granularity than one second, the Time::HiRes module " "(from CPAN, and starting from Perl 5.8 part of the standard distribution) " "provides \\&CW<\\*(C`ualarm\\*(C'>. You may also use Perl's four-argument " "version of \\&CW<\\*(C`select\\*(C'> leaving the first three arguments " "undefined, or you might be able to use the \\&CW<\\*(C`syscall\\*(C'> " "interface to access B\\|(2) if your system supports it. See " "perlfaq8 for details." msgstr "" "بالنسبة للتأخيرات ذات الدقة الأعلى من ثانية واحدة، توفر وحدة Time::HiRes (من " "CPAN، وبدءًا من الإصدار 5.8 من Perl أصبحت جزءًا من التوزيع القياسي) دالة " "\\&CW<\\*(C`ualarm\\*(C'>. يمكنك أيضًا استخدام نسخة بيرل ذات الوسائط الأربعة " "من \\&CW<\\*(C`select\\*(C'> مع ترك الوسائط الثلاثة الأولى غير محددة، أو قد " "تتمكن من استخدام واجهة \\&CW<\\*(C`syscall\\*(C'> للوصول إلى B\\|" "(2) إذا كان نظامك يدعم ذلك. راجع perlfaq8 لمزيد من التفاصيل." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "It is usually a mistake to intermix CW<\\*(C`alarm\\*(C'> and " "\\&CW<\\*(C`sleep\\*(C'> calls, because CW<\\*(C`sleep\\*(C'> may be " "internally implemented on your system with CW<\\*(C`alarm\\*(C'>." msgstr "" "عادة ما يكون من الخطأ الخلط بين نداءات CW<\\*(C`alarm\\*(C'> و " "\\&CW<\\*(C`sleep\\*(C'>، لأن CW<\\*(C`sleep\\*(C'> قد تكون منفذة داخليًا في " "نظامك باستخدام CW<\\*(C`alarm\\*(C'>." #. type: Plain text #: debian-trixie debian-unstable msgid "" "If you want to use CW<\\*(C`alarm\\*(C'> to time out a system call you need " "to use an CW<\\*(C`eval\\*(C'>/CW<\\*(C`die\\*(C'> pair. You can't rely on " "the alarm causing the system call to fail with \\&CW<$!> set to " "CW<\\*(C`EINTR\\*(C'> because Perl sets up signal handlers to restart system " "calls on some systems. Using \\&CW<\\*(C`eval\\*(C'>/CW<\\*(C`die\\*(C'> " "always works, modulo the caveats given in \"Signals\" in perlipc." msgstr "" "إذا كنت تريد استخدام CW<\\*(C`alarm\\*(C'> لإنهاء نداء نظام عند انتهاء " "الوقت، فأنت بحاجة إلى استخدام زوج CW<\\*(C`eval\\*(C'>/CW<\\*(C`die\\*(C'>. " "لا يمكنك الاعتماد على التنبيه في التسبب في فشل نداء النظام مع ضبط \\&CW<$!> " "على CW<\\*(C`EINTR\\*(C'> لأن بيرل تقوم بإعداد معالجات الإشارات لإعادة تشغيل " "نداءات النظام في بعض الأنظمة. استخدام \\&CW<\\*(C`eval\\*(C'>/" "CW<\\*(C`die\\*(C'> يعمل دائمًا، مع مراعاة التحذيرات الواردة في \"Signals\" " "في perlipc." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "" "\\& eval {\n" "\\& local $SIG{ALRM} = sub { die \"alarm\\en\" }; # NB: \\en required\n" "\\& alarm $timeout;\n" "\\& my $nread = sysread $socket, $buffer, $size;\n" "\\& alarm 0;\n" "\\& };\n" "\\& if ($@) {\n" "\\& die unless $@ eq \"alarm\\en\"; # propagate unexpected errors\n" "\\& # timed out\n" "\\& }\n" "\\& else {\n" "\\& # didn\\*(Aqt\n" "\\& }\n" msgstr "" "\\& eval {\n" "\\& local $SIG{ALRM} = sub { die \"alarm\\en\" }; # ملاحظة: \\en" " مطلوبة\n" "\\& alarm $timeout;\n" "\\& my $nread = sysread $socket, $buffer, $size;\n" "\\& alarm 0;\n" "\\& };\n" "\\& if ($@) {\n" "\\& die unless $@ eq \"alarm\\en\"; # نشر الأخطاء غير المتوقعة\n" "\\& # انتهى الوقت\n" "\\& }\n" "\\& else {\n" "\\& # لم ينتهِ الوقت\n" "\\& }\n" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "For more information see perlipc." msgstr "لمزيد من المعلومات راجع perlipc." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "Portability issues: \"alarm\" in perlport." msgstr "مشكلات قابلية النقل: \"alarm\" في perlport." #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "atan2 Y,X" msgstr "atan2 Y,X" #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "atan2 arctangent tan tangent" msgstr "atan2 ظل-الزاوية-العكسي ظل" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "Returns the arctangent of Y/X in the range -PI to PI." msgstr "تُرجع ظل الزاوية العكسي لـ Y/X في النطاق من -PI إلى PI." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "For the tangent operation, you may use the \\&CW<\\*(C`Math::Trig::" "tan\\*(C'> function, or use the familiar relation:" msgstr "" "بالنسبة لعملية الظل، يمكنك استخدام دالة \\&CW<\\*(C`Math::Trig::tan\\*(C'>، " "أو استخدام العلاقة المعروفة:" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "\\& sub tan { sin($_[0]) / cos($_[0]) }\n" msgstr "\\& sub tan { sin($_[0]) / cos($_[0]) }\n" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "The return value for CW<\\*(C`atan2(0,0)\\*(C'> is implementation-defined; " "consult your B\\|(3) manpage for more information." msgstr "" "القيمة المعادة لـ CW<\\*(C`atan2(0,0)\\*(C'> محددة حسب التنفيذ؛ راجع صفحة " "الدليل B\\|(3) الخاصة بنظامك لمزيد من المعلومات." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "Portability issues: \"atan2\" in perlport." msgstr "مشكلات قابلية النقل: \"atan2\" في perlport." #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "bind SOCKET,NAME" msgstr "bind SOCKET,NAME" #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "bind" msgstr "bind" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Binds a network address to a socket, just as B\\|(2) does. Returns " "true if it succeeded, false otherwise. NAME should be a packed address of " "the appropriate type for the socket. See the examples in \"Sockets: Client/" "Server Communication\" in perlipc." msgstr "" "يربط عنوان شبكة بمقبس، تمامًا كما يفعل B\\|(2). يعيد قيمة صواب إذا نجح، " "وخطأ في حال خلاف ذلك. ينبغي أن يكون NAME عنوانًا محزومًا من النوع المناسب " "للمقبس. راجع الأمثلة في \"Sockets: Client/Server Communication\" في perlipc." #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "binmode FILEHANDLE, LAYER" msgstr "binmode FILEHANDLE, LAYER" #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "binmode binary text DOS Windows" msgstr "binmode binary text DOS Windows" #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "binmode FILEHANDLE" msgstr "binmode FILEHANDLE" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Arranges for FILEHANDLE to be read or written in \"binary\" or \"text\" mode " "on systems where the run-time libraries distinguish between binary and text " "files. If FILEHANDLE is an expression, the value is taken as the name of " "the filehandle. Returns true on success, otherwise it returns " "CW<\\*(C`undef\\*(C'> and sets \\&CW<$!> (errno)." msgstr "" "يرتب لـ FILEHANDLE ليُقرأ أو يُكتب في نمط \"ثنائي\" أو \"نصي\" على الأنظمة " "التي تميز فيها مكتبات وقت التشغيل بين الملفات الثنائية والنصية. إذا كان " "FILEHANDLE تعبيرًا، تُؤخذ القيمة على أنها اسم واصف الملف. يعيد قيمة صواب عند " "النجاح، وإلا فإنه يعيد CW<\\*(C`undef\\*(C'> ويضبط \\&CW<$!> (errno)." #. type: Plain text #: debian-trixie debian-unstable msgid "" "On some systems (in general, DOS- and Windows-based systems) " "\\&CW<\\*(C`binmode\\*(C'> is necessary when you're not working with a text " "file. For the sake of portability it is a good idea always to use it when " "appropriate, and never to use it when it isn't appropriate. Also, people " "can set their I/O to be by default UTF8-encoded Unicode, not bytes." msgstr "" "في بعض الأنظمة (بشكل عام، الأنظمة القائمة على DOS و Windows) تكون " "\\&CW<\\*(C`binmode\\*(C'> ضرورية عندما لا تعمل مع ملف نصي. من أجل قابلية " "النقل، من الجيد استخدامها دائمًا عندما يكون ذلك مناسبًا، وعدم استخدامها" " مطلقًا " "عندما لا يكون مناسبًا. أيضًا، يمكن للمستخدمين ضبط الإدخال/الإخراج الخاص بهم " "ليكون مبدئيًا بترميز Unicode بتنسيق UTF8، وليس بايتات." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "In other words: regardless of platform, use \\&CW<\\*(C`binmode\\*(C'> on " "binary data, like images, for example." msgstr "" "بمعنى آخر: بغض النظر عن المنصة، استخدم \\&CW<\\*(C`binmode\\*(C'> على " "البيانات الثنائية، مثل الصور على سبيل المثال." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "If LAYER is present it is a single string, but may contain multiple " "directives. The directives alter the behaviour of the filehandle. When " "LAYER is present, using binmode on a text file makes sense." msgstr "" "إذا وُجدت LAYER، فهي سلسلة نصية واحدة، ولكنها قد تحتوي على توجيهات متعددة. " "تغير هذه التوجيهات سلوك واصف الملف. عندما توجد LAYER، فإن استخدام binmode " "على ملف نصي يصبح منطقيًا." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "If LAYER is omitted or specified as CW<\\*(C`:raw\\*(C'> the filehandle is " "made suitable for passing binary data. This includes turning off possible " "CRLF translation and marking it as bytes (as opposed to Unicode " "characters). Note that, despite what may be implied in I<\"Programming " "Perl\"> (the Camel, 3rd edition) or elsewhere, CW<\\*(C`:raw\\*(C'> is " "I simply the inverse of CW<\\*(C`:crlf\\*(C'>. Other layers that would " "affect the binary nature of the stream are \\&I disabled. See PerlIO, " "and the discussion about the PERLIO environment variable in perlrun." msgstr "" "إذا حُذفت الطبقة (LAYER) أو حُددت كـ CW<\\*(C`:raw\\*(C'>، فسيُجعل مقبض الملف " "مناسبًا لتمرير البيانات الثنائية. يتضمن ذلك إيقاف ترجمة CRLF الممكنة وتمييزها " "كبايتات (بدلاً من أحرف Unicode). لاحظ أنه على الرغم مما قد يُفهم في " "I<\"Programming Perl\"> (الإصدار الثالث) أو في أي مكان آخر، فإن CW<\\*(C`:" "raw\\*(C'> ليس ببساطة عكس CW<\\*(C`:crlf\\*(C'>. سيُعطل \\&أيضًا الطبقات " "الأخرى التي قد تؤثر على الطبيعة الثنائية للتدفق. انظر PerlIO، والمناقشة حول " "متغير البيئة PERLIO في perlrun." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "The CW<\\*(C`:bytes\\*(C'>, CW<\\*(C`:crlf\\*(C'>, CW<\\*(C`:utf8\\*(C'>, " "and any other directives of the form CW<\\*(C`:...\\*(C'>, are called I/O " "I. The open pragma can be used to establish default I/O layers." msgstr "" "تسمى التوجيهات CW<\\*(C`:bytes\\*(C'> و CW<\\*(C`:crlf\\*(C'> و CW<\\*(C`:" "utf8\\*(C'> وأي توجيهات أخرى من النموذج CW<\\*(C`:...\\*(C'> I<بطبقات I/O>. " "يمكن استخدام pragma الفتح لإنشاء طبقات I/O مبدئية." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "\\&I\\f(CI\\*(C`binmode\\*(C'I< function is " "described as \"DISCIPLINE\" in \"Programming Perl, 3rd Edition\". However, " "since the publishing of this book, by many known as \"Camel III\", the " "consensus of the naming of this functionality has moved from \"discipline\" " "to \"layer\". All documentation of this version of Perl therefore refers to " "\"layers\" rather than to \"disciplines\". Now back to the regularly " "scheduled documentation...>" msgstr "" "\\&I<معامل LAYER لدالة >\\f(CI\\*(C`binmode\\*(C'I< موصوف كـ \"DISCIPLINE\" " "في \"Programming Perl, 3rd Edition\". ومع ذلك، منذ نشر هذا الكتاب، المعروف " "لدى الكثيرين باسم \"Camel III\"، انتقل الإجماع على تسمية هذه الوظيفة من " "\"discipline\" إلى \"layer\". لذا تشير جميع وثائق هذا الإصدار من Perl إلى " "\"الطبقات\" (layers) بدلاً من \"disciplines\". والآن نعود إلى الوثائق " "المجدولة بانتظام...>" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "To mark FILEHANDLE as UTF-8, use CW<\\*(C`:utf8\\*(C'> or CW<:" "encoding(UTF-8)>. \\&CW<\\*(C`:utf8\\*(C'> just marks the data as UTF-8 " "without further checking, while CW<:encoding(UTF-8)> checks the data for " "actually being valid UTF-8. More details can be found in PerlIO::encoding." msgstr "" "لتمييز FILEHANDLE كـ UTF-8، استخدم CW<\\*(C`:utf8\\*(C'> أو CW<:" "encoding(UTF-8)>. يقوم \\&CW<\\*(C`:utf8\\*(C'> بمجرد وسم البيانات كـ UTF-8 " "دون مزيد من التحقق، بينما يتحقق CW<:encoding(UTF-8)> من البيانات لكونها " "UTF-8 صالحة فعليًا. يمكن العثور على مزيد من التفاصيل في PerlIO::encoding." #. type: Plain text #: debian-trixie debian-unstable msgid "" "In general, CW<\\*(C`binmode\\*(C'> should be called after " "CW<\\*(C`open\\*(C'> but before any I/O is done on the filehandle. Calling " "CW<\\*(C`binmode\\*(C'> normally flushes any pending buffered output data " "(and perhaps pending input data) on the handle. An exception to this is the " "CW<\\*(C`:encoding\\*(C'> layer that changes the default character encoding " "of the handle. The CW<\\*(C`:encoding\\*(C'> layer sometimes needs to be " "called in mid-stream, and it doesn't flush the stream. CW<\\*(C`:" "encoding\\*(C'> also implicitly pushes on top of itself the CW<\\*(C`:" "utf8\\*(C'> layer because internally Perl operates on UTF8-encoded Unicode " "characters." msgstr "" "بشكل عام، ينبغي استدعاء CW<\\*(C`binmode\\*(C'> بعد CW<\\*(C`open\\*(C'> " "ولكن قبل إجراء أي إدخال/إخراج على واصف الملف. يؤدي استدعاء " "CW<\\*(C`binmode\\*(C'> عادةً إلى تفريغ أي بيانات مخرجات مخزنة مؤقتًا معلقة " "(وربما بيانات مدخلات معلقة) على الواصف. استثناء من ذلك هو طبقة CW<\\*(C`:" "encoding\\*(C'> التي تغير ترميز المحارف المبدئي للواصف. تحتاج طبقة CW<\\*(C`:" "encoding\\*(C'> أحيانًا إلى الاستدعاء في منتصف الدفق، وهي لا تفرغ الدفق. تدفع " "CW<\\*(C`:encoding\\*(C'> أيضًا بشكل ضمني فوق نفسها طبقة CW<\\*(C`:" "utf8\\*(C'> لأن Perl يعمل داخليًا على محارف Unicode بترميز UTF8." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "The operating system, device drivers, C libraries, and Perl run-time system " "all conspire to let the programmer treat a single character " "(CW<\\*(C`\\en\\*(C'>) as the line terminator, irrespective of external " "representation. On many operating systems, the native text file " "representation matches the internal representation, but on some platforms " "the external representation of CW<\\*(C`\\en\\*(C'> is made up of more than " "one character." msgstr "" "يتآمر نظام التشغيل، وبرامج تشغيل الأجهزة، ومكتبات C، ونظام وقت تشغيل بيرل " "جميعًا للسماح للمبرمج بالتعامل مع محرف واحد (CW<\\*(C`\\en\\*(C'>) كخاتمة " "للسطر، بغض النظر عن التمثيل الخارجي. في العديد من أنظمة التشغيل، يتطابق " "تمثيل الملف النصي الأصيل مع التمثيل الداخلي، ولكن في بعض المنصات يتكون " "التمثيل الخارجي لـ CW<\\*(C`\\en\\*(C'> من أكثر من محرف واحد." #. type: Plain text #: debian-trixie debian-unstable msgid "" "All variants of Unix, Mac OS (old and new), and Stream_LF files on VMS use a " "single character to end each line in the external representation of text " "(even though that single character is CARRIAGE RETURN on old, pre-Darwin " "flavors of Mac OS, and is LINE FEED on Unix and most VMS files). In other " "systems like OS/2, DOS, and the various flavors of MS-Windows, your program " "sees a CW<\\*(C`\\en\\*(C'> as a simple CW<\\*(C`\\ecJ\\*(C'>, but what's " "stored in text files are the two characters CW<\\*(C`\\ecM\\ecJ\\*(C'>. " "That means that if you don't use \\&CW<\\*(C`binmode\\*(C'> on these " "systems, CW<\\*(C`\\ecM\\ecJ\\*(C'> sequences on disk will be converted to " "CW<\\*(C`\\en\\*(C'> on input, and any CW<\\*(C`\\en\\*(C'> in your program " "will be converted back to CW<\\*(C`\\ecM\\ecJ\\*(C'> on output. This is " "what you want for text files, but it can be disastrous for binary files." msgstr "" "تستخدم جميع متغيرات Unix، و Mac OS (القديم والجديد)، وملفات Stream_LF على " "VMS محرفًا واحدًا لإنهاء كل سطر في التمثيل الخارجي للنص (على الرغم من أن هذا " "المحرف الواحد هو CARRIAGE RETURN في نكهات Mac OS القديمة قبل Darwin، وهو " "LINE FEED في Unix ومعظم ملفات VMS). في الأنظمة الأخرى مثل OS/2، و DOS، " "ونكهات MS-Windows المختلفة، يرى برنامجك CW<\\*(C`\\en\\*(C'> كـ " "CW<\\*(C`\\ecJ\\*(C'> بسيط، ولكن ما يُخزن في الملفات النصية هما المحرفان " "CW<\\*(C`\\ecM\\ecJ\\*(C'>. هذا يعني أنه إذا لم تستخدم " "\\&CW<\\*(C`binmode\\*(C'> على هذه الأنظمة، فسيُحوّل تسلسل " "CW<\\*(C`\\ecM\\ecJ\\*(C'> على القرص إلى CW<\\*(C`\\en\\*(C'> عند الإدخال، " "وأي CW<\\*(C`\\en\\*(C'> في برنامجك سيُحوّل مرة أخرى إلى " "CW<\\*(C`\\ecM\\ecJ\\*(C'> عند الإخراج. هذا ما تريده لملفات النص، ولكن يمكن " "أن يكون كارثيًا للملفات الثنائية." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Another consequence of using CW<\\*(C`binmode\\*(C'> (on some systems) is " "that special end-of-file markers will be seen as part of the data stream. " "For systems from the Microsoft family this means that, if your binary data " "contain CW<\\*(C`\\ecZ\\*(C'>, the I/O subsystem will regard it as the end " "of the file, unless you use \\&CW<\\*(C`binmode\\*(C'>." msgstr "" "نتيجة أخرى لاستخدام CW<\\*(C`binmode\\*(C'> (في بعض الأنظمة) هي أن علامات " "نهاية الملف الخاصة ستُرى كجزء من دفق البيانات. بالنسبة للأنظمة من عائلة " "Microsoft، هذا يعني أنه إذا كانت بياناتك الثنائية تحتوي على " "CW<\\*(C`\\ecZ\\*(C'>، فسيعتبرها نظام الإدخال/الإخراج الفرعي نهاية الملف، ما " "لم تستخدم \\&CW<\\*(C`binmode\\*(C'>." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "\\&CW<\\*(C`binmode\\*(C'> is important not only for " "\\&CW<\\*(C`readline\\*(C'> and CW<\\*(C`print\\*(C'> operations, but also " "when using \\&CW<\\*(C`read\\*(C'>, \\&CW<\\*(C`seek\\*(C'>, " "\\&CW<\\*(C`sysread\\*(C'>, \\&CW<\\*(C`syswrite\\*(C'> and " "\\&CW<\\*(C`tell\\*(C'> (see perlport for more details). See the \\&CW<$/> " "and CW<\\*(C`$\\e\\*(C'> variables in perlvar for how to manually set your " "input and output line-termination sequences." msgstr "" "\\&CW<\\*(C`binmode\\*(C'> مهمة ليس فقط لعمليات \\&CW<\\*(C`readline\\*(C'> " "و CW<\\*(C`print\\*(C'>، ولكن أيضًا عند استخدام \\&CW<\\*(C`read\\*(C'>، و " "\\&CW<\\*(C`seek\\*(C'>، و \\&CW<\\*(C`sysread\\*(C'>، و " "\\&CW<\\*(C`syswrite\\*(C'> و \\&CW<\\*(C`tell\\*(C'> (راجع perlport لمزيد " "من التفاصيل). راجع المتغيرات \\&CW<$/> و CW<\\*(C`$\\e\\*(C'> في perlvar " "لمعرفة كيفية ضبط تسلسلات إنهاء سطر الإدخال والإخراج يدويًا." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "Portability issues: \"binmode\" in perlport." msgstr "قضايا قابلية النقل: \"binmode\" في perlport." #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "bless REF,CLASSNAME" msgstr "bless REF,CLASSNAME" #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "bless" msgstr "bless" #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "bless REF" msgstr "bless REF" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "\\&CW<\\*(C`bless\\*(C'> tells Perl to mark the item referred to by " "CW<\\*(C`REF\\*(C'> as an object in a package. The two-argument version of " "CW<\\*(C`bless\\*(C'> is always preferable unless there is a specific reason " "to I use it." msgstr "" "تخبر \\&CW<\\*(C`bless\\*(C'> لغة بيرل بتمييز العنصر المشار إليه بواسطة " "CW<\\*(C`REF\\*(C'> ككائن في حزمة. يُفضل دائمًا إصدار المعاملين من " "CW<\\*(C`bless\\*(C'> ما لم يكن هناك سبب محدد I<لعدم> استخدامه." #. type: IP #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "\\(bu" msgstr "\\(bu" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "Bless the referred-to item into a specific package (recommended form):" msgstr "مباركة (Bless) العنصر المشار إليه في حزمة محددة (النموذج الموصى به):" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "\\& bless $ref, $package;\n" msgstr "\\& bless $ref, $package;\n" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "The two-argument form adds the object to the package specified as the second " "argument." msgstr "يضيف نموذج المعاملين الكائن إلى الحزمة المحددة كمعامل ثانٍ." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "Bless the referred-to item into package CW<\\*(C`main\\*(C'>:" msgstr "مباركة العنصر المشار إليه في الحزمة CW<\\*(C`main\\*(C'>:" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "\\& bless $ref, \"\";\n" msgstr "\\& bless $ref, \"\";\n" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "If the second argument is an empty string, CW<\\*(C`bless\\*(C'> adds the " "object to package CW<\\*(C`main\\*(C'>." msgstr "" "إذا كان المعامل الثاني سلسلة فارغة، تضيف CW<\\*(C`bless\\*(C'> الكائن إلى " "الحزمة CW<\\*(C`main\\*(C'>." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "Bless the referred-to item into the current package (not inheritable):" msgstr "مباركة العنصر المشار إليه في الحزمة الحالية (غير قابل للتوريث):" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "\\& bless $ref;\n" msgstr "\\& bless $ref;\n" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "If CW<\\*(C`bless\\*(C'> is used without its second argument, the object is " "created in the current package. The second argument should always be " "supplied if a derived class might inherit a method executing " "CW<\\*(C`bless\\*(C'>. Because it is a potential source of bugs, one-" "argument CW<\\*(C`bless\\*(C'> is discouraged." msgstr "" "إذا استُخدمت CW<\\*(C`bless\\*(C'> بدون معاملها الثاني، يُنشأ الكائن في" " الحزمة " "الحالية. ينبغي دائمًا توفير المعامل الثاني إذا كان من الممكن لصنف مشتق أن يرث " "طريقة تنفذ CW<\\*(C`bless\\*(C'>. نظرًا لأنها مصدر محتمل للعلل، لا يُنصح " "باستخدام CW<\\*(C`bless\\*(C'> بمعامل واحد." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "See perlobj for more about the blessing (and blessings) of objects." msgstr "راجع perlobj لمزيد من المعلومات حول مباركة (blessing) الكائنات." #. type: Plain text #: debian-trixie debian-unstable msgid "" "\\&CW<\\*(C`bless\\*(C'> returns its first argument, the supplied reference, " "as the value of the function; since CW<\\*(C`bless\\*(C'> is commonly the " "last thing executed in constructors, this means that the reference to the " "object is returned as the constructor's value and allows the caller to " "immediately use this returned object in method calls." msgstr "" "تعيد \\&CW<\\*(C`bless\\*(C'> معاملها الأول، المرجع الموفر، كقيمة للدالة؛ " "وبما أن CW<\\*(C`bless\\*(C'> هي عادة آخر شيء يُنفذ في المنشئات، فهذا يعني أن " "المرجع للكائن يُعاد كقيمة للمنشئ ويسمح لـ المستدعِي باستخدام هذا الكائن" " المعاد " "فورًا في استدعاءات الطرق." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "\\&CW<\\*(C`CLASSNAME\\*(C'> should always be a mixed-case name, as all-" "uppercase and all-lowercase names are meant to be used only for Perl builtin " "types and pragmas, respectively. Avoid creating all-uppercase or all-" "lowercase package names to prevent confusion." msgstr "" "ينبغي أن يكون \\&CW<\\*(C`CLASSNAME\\*(C'> دائمًا اسمًا مختلط الحالة (mixed-" "case)، حيث إن الأسماء المكتوبة بالكامل بأحرف كبيرة أو صغيرة مخصصة لأنواع " "بيرل المدمجة والبرغمات على التوالي. تجنب إنشاء أسماء حزم بأحرف كبيرة فقط أو " "صغيرة فقط لمنع الارتباك." #. type: Plain text #: debian-trixie debian-unstable msgid "" "Also avoid CW<\\*(C`bless\\*(C'>ing things into the class name CW<0>; this " "will cause code which (erroneously) checks the result of " "\\&CW<\\*(C`ref\\*(C'> to see if a reference is CW<\\*(C`bless\\*(C'>ed to " "fail, as \"0\", a falsy value, is returned." msgstr "" "تجنب أيضًا مباركة (blessing) الأشياء في اسم صنف CW<0>؛ سيؤدي ذلك إلى فشل " "الكود الذي يتحقق (خطأً) من نتيجة \\&CW<\\*(C`ref\\*(C'> لمعرفة ما إذا كان " "المرجع \"مباركًا\"، حيث ستُعاد القيمة \"0\" وهي قيمة خاطئة." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "See \"Perl Modules\" in perlmod for more details." msgstr "راجع \"Perl Modules\" في perlmod لمزيد من التفاصيل." #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "break" msgstr "break" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "Break out of a CW<\\*(C`given\\*(C'> block." msgstr "الخروج من كتلة CW<\\*(C`given\\*(C'>." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "\\&CW<\\*(C`break\\*(C'> is available only if the \\&CW<\"switch\"> feature " "is enabled or if it is prefixed with CW<\\*(C`CORE::\\*(C'>. The " "\\&CW<\"switch\"> feature is enabled automatically with a CW<\\*(C`use " "v5.10\\*(C'> (or higher) declaration in the current scope." msgstr "" "\\&CW<\\*(C`break\\*(C'> متاحة فقط إذا كانت ميزة \\&CW<\"switch\"> مفعلة أو " "إذا كانت مسبوقة بـ CW<\\*(C`CORE::\\*(C'>. تُفعل ميزة \\&CW<\"switch\"> آليًا " "بتصريح CW<\\*(C`use v5.10\\*(C'> (أو أعلى) في النطاق الحالي." #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "caller EXPR" msgstr "caller EXPR" #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "caller call stack stack stack trace" msgstr "caller call stack stack stack trace" #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "caller" msgstr "caller" #. type: Plain text #: debian-trixie debian-unstable msgid "" "Returns the context of the current pure perl subroutine call. In scalar " "context, returns the caller's package name if there I a caller (that is, " "if we're in a subroutine or CW<\\*(C`eval\\*(C'> or " "\\&CW<\\*(C`require\\*(C'>) and the undefined value otherwise. " "\\&CW<\\*(C`caller\\*(C'> never returns XS subs and they are skipped. The " "next pure perl sub will appear instead of the XS sub in caller's return " "values. In list context, caller returns" msgstr "" "يعيد سياق استدعاء روتين بيرل الفرعي الحالي الصرف. في السياق القياسي، يعيد " "اسم حزمة المستدعِي إذا كان I<هناك> مستدعٍ (أي إذا كنا في روتين فرعي أو " "CW<\\*(C`eval\\*(C'> أو \\&CW<\\*(C`require\\*(C'>) والقيمة غير المحددة " "بخلاف ذلك. لا يعيد \\&CW<\\*(C`caller\\*(C'> روتينات XS الفرعية ويتم تخطيها. " "سيظهر الروتين الفرعي الصرف التالي بدلاً من روتين XS الفرعي في القيم المعادة " "من المستدعِي. في سياق القائمة، يعيد المستدعِي" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "" "\\& # 0 1 2\n" "\\& my ($package, $filename, $line) = caller;\n" msgstr "" "\\& # 0 1 2\n" "\\& my ($package, $filename, $line) = caller;\n" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Like CW<\\*(C`_\\|_FILE_\\|_\\*(C'> and CW<\\*(C`_\\|_LINE_\\|_\\*(C'>, the " "filename and line number returned here may be altered by the mechanism " "described at \"Plain Old Comments (Not!)\" in perlsyn." msgstr "" "مثل CW<\\*(C`_\\|_FILE_\\|_\\*(C'> و CW<\\*(C`_\\|_LINE_\\|_\\*(C'>، قد يُعدل " "اسم الملف ورقم السطر المعاد هنا بواسطة الآلية الموضحة في \"Plain Old " "Comments (Not!)\" في perlsyn." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "With EXPR, it returns some extra information that the debugger uses to print " "a stack trace. The value of EXPR indicates how many call frames to go back " "before the current one." msgstr "" "باستخدام EXPR، فإنه يعيد بعض المعلومات الإضافية التي يستخدمها المنقح لطباعة " "تتبع المكدس. تشير قيمة EXPR إلى عدد إطارات الاستدعاء التي يجب العودة إليها " "قبل الإطار الحالي." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "" "\\& # 0 1 2 3 4\n" "\\& my ($package, $filename, $line, $subroutine, $hasargs,\n" "\\&\n" "\\& # 5 6 7 8 9 10\n" "\\& $wantarray, $evaltext, $is_require, $hints, $bitmask, $hinthash)\n" "\\& = caller($i);\n" msgstr "" "\\& # 0 1 2 3 4\n" "\\& my ($package, $filename, $line, $subroutine, $hasargs,\n" "\\&\n" "\\& # 5 6 7 8 9 10\n" "\\& $wantarray, $evaltext, $is_require, $hints, $bitmask, $hinthash)\n" "\\& = caller($i);\n" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Here, CW<$subroutine> is the function that the caller called (rather than " "the function containing the caller). Note that CW<$subroutine> may be " "CW<\\*(C`(eval)\\*(C'> if the frame is not a subroutine call, but an " "CW<\\*(C`eval\\*(C'>. In such a case additional elements CW<$evaltext> and " "CW<$is_require> are set: \\&CW<$is_require> is true if the frame is created " "by a \\&CW<\\*(C`require\\*(C'> or CW<\\*(C`use\\*(C'> statement, " "CW<$evaltext> contains the text of the CW<\\*(C`eval EXPR\\*(C'> statement. " "In particular, for an CW<\\*(C`eval BLOCK\\*(C'> statement, CW<$subroutine> " "is CW<\\*(C`(eval)\\*(C'>, but CW<$evaltext> is undefined. (Note also that " "each \\&CW<\\*(C`use\\*(C'> statement creates a \\&CW<\\*(C`require\\*(C'> " "frame inside an CW<\\*(C`eval EXPR\\*(C'> frame.) \\&CW<$subroutine> may " "also be CW<\\*(C`(unknown)\\*(C'> if this particular subroutine happens to " "have been deleted from the symbol table. CW<$hasargs> is true if a new " "instance of CW<@_> was set up for the frame. \\&CW<$hints> and CW<$bitmask> " "contain pragmatic hints that the caller was compiled with. CW<$hints> " "corresponds to CW<$^H>, and \\&CW<$bitmask> corresponds to " "\\&CW<\\*(C`${^WARNING_BITS}\\*(C'>. The CW<$hints> and \\&CW<$bitmask> " "values are subject to change between versions of Perl, and are not meant for " "external use." msgstr "" "هنا، CW<$subroutine> هي الدالة التي استدعاها المستدعِي (بدلاً من الدالة التي " "تحتوي على المستدعِي). لاحظ أن CW<$subroutine> قد تكون CW<\\*(C`(eval)\\*(C'> " "إذا لم يكن الإطار استدعاء روتين فرعي، بل CW<\\*(C`eval\\*(C'>. في مثل هذه " "الحالة، تُضبط العناصر الإضافية CW<$evaltext> و CW<$is_require>: " "\\&CW<$is_require> يكون صوابًا إذا أُنشئ الإطار بواسطة عبارة " "\\&CW<\\*(C`require\\*(C'> أو CW<\\*(C`use\\*(C'>، ويحتوي CW<$evaltext> على " "نص عبارة CW<\\*(C`eval EXPR\\*(C'>. على وجه الخصوص، بالنسبة لعبارة " "CW<\\*(C`eval BLOCK\\*(C'>، تكون CW<$subroutine> هي CW<\\*(C`(eval)\\*(C'>، " "لكن CW<$evaltext> غير محدد. (لاحظ أيضًا أن كل عبارة \\&CW<\\*(C`use\\*(C'> " "تنشئ إطار \\&CW<\\*(C`require\\*(C'> داخل إطار CW<\\*(C`eval EXPR\\*(C'>.) " "قد تكون \\&CW<$subroutine> أيضًا CW<\\*(C`(unknown)\\*(C'> إذا حدث وحُذف هذا " "الروتين الفرعي المعين من جدول الرموز. يكون CW<$hasargs> صوابًا إذا أُنشئ مثيل " "جديد من CW<@_> للإطار. يحتوي \\&CW<$hints> و CW<$bitmask> على تلميحات برمجية " "جُمع المستدعِي بها. يتوافق CW<$hints> مع CW<$^H>، ويتوافق \\&CW<$bitmask> مع " "\\&CW<\\*(C`${^WARNING_BITS}\\*(C'>. قيم CW<$hints> و \\&CW<$bitmask> عرضة " "للتغيير بين إصدارات Perl، وليست مخصصة للاستخدام الخارجي." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "\\&CW<$hinthash> is a reference to a hash containing the value of " "\\&CW<\\*(C`%^H\\*(C'> when the caller was compiled, or " "\\&CW<\\*(C`undef\\*(C'> if CW<\\*(C`%^H\\*(C'> was empty. Do not modify " "the values of this hash, as they are the actual values stored in the optree." msgstr "" "و \\&CW<$hinthash> هو مرجع لهش (hash) يحتوي على قيمة \\&CW<\\*(C`%^H\\*(C'> " "عندما جُمع المستدعِي، أو \\&CW<\\*(C`undef\\*(C'> إذا كان CW<\\*(C`%^H\\*(C'> " "فارغًا. لا تعدل قيم هذا الهش، لأنها القيم الفعلية المخزنة في optree." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Note that the only types of call frames that are visible are subroutine " "calls and CW<\\*(C`eval\\*(C'>. Other forms of context, such as " "CW<\\*(C`while\\*(C'> or CW<\\*(C`foreach\\*(C'> loops or " "CW<\\*(C`try\\*(C'> blocks are not considered interesting to " "CW<\\*(C`caller\\*(C'>, as they do not alter the behaviour of the " "CW<\\*(C`return\\*(C'> expression." msgstr "" "لاحظ أن الأنواع الوحيدة من إطارات الاستدعاء المرئية هي استدعاءات الروتين " "الفرعي و CW<\\*(C`eval\\*(C'>. أشكال السياق الأخرى، مثل حلقات " "CW<\\*(C`while\\*(C'> أو CW<\\*(C`foreach\\*(C'> أو كتل CW<\\*(C`try\\*(C'> " "لا تُعتبر مثيرة للاهتمام لـ CW<\\*(C`caller\\*(C'>، لأنها لا تغير سلوك تعبير " "CW<\\*(C`return\\*(C'>." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Furthermore, when called from within the DB package in list context, and " "with an argument, caller returns more detailed information: it sets the list " "variable CW<@DB::args> to be the arguments with which the subroutine was " "invoked." msgstr "" "علاوة على ذلك، عند الاستدعاء من داخل حزمة DB في سياق القائمة، ومع وسيط، يعيد " "المستدعِي معلومات أكثر تفصيلاً: يضبط متغير القائمة CW<@DB::args> ليكون" " الوسائط " "التي استُدعي بها الروتين الفرعي." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Be aware that the optimizer might have optimized call frames away before " "\\&CW<\\*(C`caller\\*(C'> had a chance to get the information. That means " "that CW might not return information about the call frame you " "expect it to, for CW<\\*(C`N E 1\\*(C'>. In particular, CW<@DB::args> " "might have information from the previous time CW<\\*(C`caller\\*(C'> was " "called." msgstr "" "كن على علم بأن المحسّن (optimizer) قد يكون قد أزال إطارات الاستدعاء قبل أن " "تتاح لـ \\&CW<\\*(C`caller\\*(C'> فرصة الحصول على المعلومات. وهذا يعني أن " "CW قد لا يعيد معلومات حول إطار الاستدعاء الذي تتوقعه، بالنسبة لـ " "CW<\\*(C`N E 1\\*(C'>. على وجه الخصوص، قد يحتوي CW<@DB::args> على " "معلومات من المرة السابقة التي استُدعي فيها CW<\\*(C`caller\\*(C'>." #. type: Plain text #: debian-trixie debian-unstable msgid "" "Be aware that setting CW<@DB::args> is I, intended for " "debugging or generating backtraces, and should not be relied upon. In " "particular, as CW<@_> contains aliases to the caller's arguments, Perl does " "not take a copy of CW<@_>, so \\&CW<@DB::args> will contain modifications " "the subroutine makes to \\&CW<@_> or its contents, not the original values " "at call time. CW<@DB::args>, like CW<@_>, does not hold explicit references " "to its elements, so under certain cases its elements may have become freed " "and reallocated for other variables or temporary values. Finally, a side " "effect of the current implementation is that the effects of CW<\\*(C`shift " "@_\\*(C'> can I be undone (but not CW<\\*(C`pop @_\\*(C'> or other " "splicing, I not if a reference to CW<@_> has been taken, I subject " "to the caveat about reallocated elements), so \\&CW<@DB::args> is actually a " "hybrid of the current state and initial state of CW<@_>. Buyer beware." msgstr "" "كن على علم بأن تعيين CW<@DB::args> هو I<أقصى جهد>، ومخصص للتنقيح أو إنشاء " "تتبع خلفي، ولا ينبغي الاعتماد عليه. على وجه الخصوص، بما أن CW<@_> يحتوي على " "أسماء مستعارة لوسائط المستدعِي، فإن بيرل لا يأخذ نسخة من CW<@_>، لذا سيحتوي " "\\&CW<@DB::args> على التعديلات التي يجريها الروتين الفرعي على \\&CW<@_> أو " "محتوياته، وليس القيم الأصلية وقت الاستدعاء. CW<@DB::args>، مثل CW<@_>، لا " "يحتفظ بمرجع صريح لعناصره، لذا في حالات معينة قد تُحرر عناصره ويُعاد تخصيصها " "لمتغيرات أخرى أو قيم مؤقتة. أخيرًا، هناك تأثير جانبي للتنفيذ الحالي وهو أن " "تأثيرات CW<\\*(C`shift @_\\*(C'> يمكن إبطالها I<بشكل طبيعي> (ولكن ليس " "CW<\\*(C`pop @_\\*(C'> أو عمليات دمج أخرى، I<وليس> إذا أُخذ مرجع لـ CW<@_>، " "I<ومع> مراعاة التحذير بشأن العناصر المعاد تخصيصها)، لذا فإن \\&CW<@DB::args> " "هو في الواقع مزيج من الحالة الحالية والحالة الأولية لـ CW<@_>. المشتري يحذر." #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "chdir EXPR" msgstr "chdir EXPR" #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "chdir cd directory, change" msgstr "chdir cd directory, change" #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "chdir FILEHANDLE" msgstr "chdir FILEHANDLE" #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "chdir DIRHANDLE" msgstr "chdir DIRHANDLE" #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "chdir" msgstr "chdir" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Changes the working directory to EXPR, if possible. If EXPR is omitted, " "changes to the directory specified by CW<$ENV{HOME}>, if set; if not, " "changes to the directory specified by CW<$ENV{LOGDIR}>. (Under VMS, the " "variable CW<$ENV{\\*(AqSYS$LOGIN\\*(Aq}> is also checked, and used if it is " "set.) If neither is set, CW<\\*(C`chdir\\*(C'> does nothing and fails. It " "returns true on success, false otherwise. See the example under " "\\&CW<\\*(C`die\\*(C'>." msgstr "" "يغير دليل العمل إلى EXPR، إذا كان ذلك ممكنًا. إذا حُذف EXPR، يغير إلى الدليل " "المحدد بواسطة CW<$ENV{HOME}>، إذا ضُبط؛ وإذا لم يكن كذلك، يغير إلى الدليل " "المحدد بواسطة CW<$ENV{LOGDIR}>. (بموجب VMS، يُتحقق أيضًا من المتغير " "CW<$ENV{\\*(AqSYS$LOGIN\\*(Aq}>، ويستخدم إذا ضُبط.) إذا لم يُضبط أي منهما،" " فإن " "CW<\\*(C`chdir\\*(C'> لا يفعل شيئًا ويفشل. يعيد صوابًا عند النجاح، وخطأ بخلاف " "ذلك. انظر المثال تحت \\&CW<\\*(C`die\\*(C'>." #. type: Plain text #: debian-trixie debian-unstable msgid "" "On systems that support B\\|(2), you may pass a filehandle or " "directory handle as the argument. On systems that don't support B\\|" "(2), passing handles raises an exception." msgstr "" "في الأنظمة التي تدعم B\\|(2)، يمكنك تمرير مقبض ملف أو مقبض دليل " "كوسيط. في الأنظمة التي لا تدعم B\\|(2)، يؤدي تمرير المقابض إلى إثارة " "استثناء." #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "chmod LIST" msgstr "chmod LIST" #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "chmod permission mode" msgstr "chmod permission mode" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Changes the permissions of a list of files. The first element of the list " "must be the numeric mode, which should probably be an octal number, and " "which definitely should I be a string of octal digits: \\&CW<0644> is " "okay, but CW<\"0644\"> is not. Returns the number of files successfully " "changed. See also CW<\\*(C`oct\\*(C'> if all you have is a string." msgstr "" "يغير أذونات قائمة من الملفات. يجب أن يكون العنصر الأول من القائمة هو الوضع " "العددي، والذي يجب أن يكون رقمًا ثمانيًا، والذي I<لا> ينبغي بالتأكيد أن يكون " "سلسلة من الأرقام الثمانية: \\&CW<0644> جيد، لكن CW<\"0644\"> ليس كذلك. يعيد " "عدد الملفات التي وُفّق في تغييرها. انظر أيضًا CW<\\*(C`oct\\*(C'> إذا كان كل" " ما " "لديك هو سلسلة نصية." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "" "\\& my $cnt = chmod 0755, \"foo\", \"bar\";\n" "\\& chmod 0755, @executables;\n" "\\& my $mode = \"0644\"; chmod $mode, \"foo\"; # !!! sets mode to\n" "\\& # --w----r-T\n" "\\& my $mode = \"0644\"; chmod oct($mode), \"foo\"; # this is better\n" "\\& my $mode = 0644; chmod $mode, \"foo\"; # this is best\n" msgstr "" "\\& my $cnt = chmod 0755, \"foo\", \"bar\";\n" "\\& chmod 0755, @executables;\n" "\\& my $mode = \"0644\"; chmod $mode, \"foo\"; # !!! يضبط الوضع إلى\n" "\\& # --w----r-T\n" "\\& my $mode = \"0644\"; chmod oct($mode), \"foo\"; # هذا أفضل\n" "\\& my $mode = 0644; chmod $mode, \"foo\"; # هذا هو الأفضل\n" #. type: Plain text #: debian-trixie debian-unstable msgid "" "On systems that support B\\|(2), you may pass filehandles among the " "files. On systems that don't support B\\|(2), passing filehandles " "raises an exception. Filehandles must be passed as globs or glob references " "to be recognized; barewords are considered filenames." msgstr "" "في الأنظمة التي تدعم B\\|(2)، يمكنك تمرير مقابض الملفات بين الملفات. " "في الأنظمة التي لا تدعم B\\|(2)، يؤدي تمرير مقابض الملفات إلى إثارة " "استثناء. يجب تمرير مقابض الملفات كـ globs أو مراجع glob ليتم التعرف عليها؛ " "تُعتبر الكلمات المجردة أسماء ملفات." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "" "\\& open(my $fh, \"E\", \"foo\");\n" "\\& my $perm = (stat $fh)[2] & 07777;\n" "\\& chmod($perm | 0600, $fh);\n" msgstr "" "\\& open(my $fh, \"E\", \"foo\");\n" "\\& my $perm = (stat $fh)[2] & 07777;\n" "\\& chmod($perm | 0600, $fh);\n" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "You can also import the symbolic CW<\\*(C`S_I*\\*(C'> constants from the " "\\&CW<\\*(C`Fcntl\\*(C'> module:" msgstr "" "يمكنك أيضًا استيراد ثوابت CW<\\*(C`S_I*\\*(C'> الرمزية من وحدة " "\\&CW<\\*(C`Fcntl\\*(C'>:" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "" "\\& use Fcntl qw( :mode );\n" "\\& chmod S_IRWXU|S_IRGRP|S_IXGRP|S_IROTH|S_IXOTH, @executables;\n" "\\& # Identical to the chmod 0755 of the example above.\n" msgstr "" "\\& use Fcntl qw( :mode );\n" "\\& chmod S_IRWXU|S_IRGRP|S_IXGRP|S_IROTH|S_IXOTH, @executables;\n" "\\& # مماثل لـ chmod 0755 في المثال أعلاه.\n" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "Portability issues: \"chmod\" in perlport." msgstr "مشكلات قابلية النقل: \"chmod\" في perlport." #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "chomp VARIABLE" msgstr "chomp VARIABLE" #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "chomp INPUT_RECORD_SEPARATOR $ newline eol" msgstr "chomp INPUT_RECORD_SEPARATOR $ newline eol" #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "chomp( LIST )" msgstr "chomp( LIST )" #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "chomp" msgstr "chomp" #. type: Plain text #: debian-trixie debian-unstable msgid "" "This safer version of CW<\\*(C`chop\\*(C'> removes any trailing string that " "corresponds to the current value of \\&CW<$/> (also known as " "CW<$INPUT_RECORD_SEPARATOR> in the CW<\\*(C`English\\*(C'> module). It " "returns the total number of characters removed from all its arguments. It's " "often used to remove the newline from the end of an input record when you're " "worried that the final record may be missing its newline. When in paragraph " "mode (CW<\\*(C`$/ = \\*(Aq\\*(Aq\\*(C'>), it removes all trailing newlines " "from the string. When in slurp mode (CW<\\*(C`$/ = undef\\*(C'>) or fixed-" "length record mode (CW<$/> is a reference to an integer or the like; see " "perlvar), CW<\\*(C`chomp\\*(C'> won't remove anything. If VARIABLE is " "omitted, it chomps CW<$_>. Example:" msgstr "" "هذا الإصدار الأكثر أمانًا من CW<\\*(C`chop\\*(C'> يزيل أي سلسلة لاحقة تتوافق " "مع القيمة الحالية لـ \\&CW<$/> (المعروف أيضًا باسم " "CW<$INPUT_RECORD_SEPARATOR> في وحدة CW<\\*(C`English\\*(C'>). وهو يعيد " "إجمالي عدد الأحرف المحذوفة من جميع وسائطه. غالبًا ما يُستخدم لإزالة سطر جديد " "من نهاية سجل إدخال عندما تكون قلقًا من أن السجل النهائي قد يفتقد لسطره " "الجديد. عندما يكون في وضع الفقرة (CW<\\*(C`$/ = \\*(Aq\\*(Aq\\*(C'>)، فإنه " "يزيل جميع الأسطر الجديدة اللاحقة من السلسلة. عندما يكون في وضع الارتشاف " "(slurp) (CW<\\*(C`$/ = undef\\*(C'>) أو وضع السجل ثابت الطول (CW<$/> هو مرجع " "لعدد صحيح أو ما شابه؛ انظر perlvar)، فإن CW<\\*(C`chomp\\*(C'> لن يزيل أي " "شيء. إذا حُذف المتغير (VARIABLE)، فإنه يطبق chomp على CW<$_>. مثال:" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "" "\\& while (EE) {\n" "\\& chomp; # avoid \\en on last field\n" "\\& my @array = split(/:/);\n" "\\& # ...\n" "\\& }\n" msgstr "" "\\& while (EE) {\n" "\\& chomp; # تجنب \\en في الحقل الأخير\n" "\\& my @array = split(/:/);\n" "\\& # ...\n" "\\& }\n" #. type: Plain text #: debian-trixie debian-unstable msgid "" "If VARIABLE is a hash, it chomps the hash's values, but not its keys, " "resetting the CW<\\*(C`each\\*(C'> iterator in the process." msgstr "" "إذا كان المتغير (VARIABLE) عبارة عن هش، فإنه يطبق chomp على قيم الهش، ولكن " "ليس على مفاتيحه، مع إعادة تعيين مكرر CW<\\*(C`each\\*(C'> في هذه العملية." #. type: Plain text #: debian-trixie debian-unstable msgid "" "You can actually chomp anything that's an lvalue, including an assignment:" msgstr "" "يمكنك فعليًا تطبيق chomp على أي شيء يمثل قيمة يسارية (lvalue)، بما في ذلك " "عملية الإسناد:" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "" "\\& chomp(my $cwd = \\`pwd\\`);\n" "\\& chomp(my $answer = ESTDINE);\n" msgstr "" "\\& chomp(my $cwd = \\`pwd\\`);\n" "\\& chomp(my $answer = ESTDINE);\n" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "If you chomp a list, each element is chomped, and the total number of " "characters removed is returned." msgstr "" "إذا قمت بتطبيق chomp على قائمة، فسيُطبق chomp على كل عنصر، ويُعاد إجمالي عدد " "الأحرف المحذوفة." #. type: Plain text #: debian-trixie debian-unstable msgid "" "Note that parentheses are necessary when you're chomping anything that is " "not a simple variable. This is because CW<\\*(C`chomp $cwd = \\`pwd\\`;" "\\*(C'> is interpreted as CW<\\*(C`(chomp $cwd) = \\`pwd\\`;\\*(C'>, rather " "than as \\&CW<\\*(C`chomp( $cwd = \\`pwd\\` )\\*(C'> which you might " "expect. Similarly, \\&CW<\\*(C`chomp $x, $y\\*(C'> is interpreted as " "CW<\\*(C`chomp($x), $y\\*(C'> rather than as CW<\\*(C`chomp($x, $y)\\*(C'>." msgstr "" "لاحظ أن الأقواس ضرورية عندما تطبق chomp على أي شيء ليس متغيرًا بسيطًا. وذلك " "لأن CW<\\*(C`chomp $cwd = \\`pwd\\`;\\*(C'> يُفسر على أنه CW<\\*(C`(chomp " "$cwd) = \\`pwd\\`;\\*(C'>، بدلاً من \\&CW<\\*(C`chomp( $cwd = " "\\`pwd\\` )\\*(C'> كما قد تتوقع. وبالمثل، يُفسر \\&CW<\\*(C`chomp $x, " "$y\\*(C'> على أنه CW<\\*(C`chomp($x), $y\\*(C'> بدلاً من CW<\\*(C`chomp($x, " "$y)\\*(C'>." #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "chop VARIABLE" msgstr "chop VARIABLE" #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "chop" msgstr "chop" #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "chop( LIST )" msgstr "chop( LIST )" #. type: Plain text #: debian-trixie debian-unstable msgid "" "Chops off the last character of a string and returns the character chopped. " "It is much more efficient than CW<\\*(C`s/.$//s\\*(C'> because it neither " "scans nor copies the string. If VARIABLE is omitted, chops \\&CW<$_>. If " "VARIABLE is a hash, it chops the hash's values, but not its keys, resetting " "the CW<\\*(C`each\\*(C'> iterator in the process." msgstr "" "يحذف الحرف الأخير من السلسلة النصية ويعيد الحرف المحذوف. إنه أكثر كفاءة " "بكثير من CW<\\*(C`s/.$//s\\*(C'> لأنه لا يفحص السلسلة ولا ينسخها. إذا حُذف " "المتغير (VARIABLE)، فإنه يحذف من \\&CW<$_>. إذا كان المتغير (VARIABLE) عبارة " "عن هش، فإنه يحذف من قيم الهش، ولكن ليس من مفاتيحه، مع إعادة تعيين مكرر " "CW<\\*(C`each\\*(C'> في هذه العملية." #. type: Plain text #: debian-trixie debian-unstable msgid "" "You can actually chop anything that's an lvalue, including an assignment." msgstr "" "يمكنك فعليًا بتر (chop) أي شيء يعد قيمة يسارية (lvalue)، بما في ذلك التعيين." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "If you chop a list, each element is chopped. Only the value of the last " "CW<\\*(C`chop\\*(C'> is returned." msgstr "" "إذا بترت قائمة، فسيُبتر كل عنصر فيها. وتُعاد قيمة آخر عملية " "CW<\\*(C`chop\\*(C'> فقط." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Note that CW<\\*(C`chop\\*(C'> returns the last character. To return all " "but the last character, use CW<\\*(C`substr($string, 0, -1)\\*(C'>." msgstr "" "لاحظ أن CW<\\*(C`chop\\*(C'> تعيد المحرف الأخير. لإعادة كل المحارف باستثناء " "الأخير، استخدم CW<\\*(C`substr($string, 0, -1)\\*(C'>." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "See also CW<\\*(C`chomp\\*(C'>." msgstr "انظر أيضًا CW<\\*(C`chomp\\*(C'>." #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "chown LIST" msgstr "chown LIST" #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "chown owner user group" msgstr "chown owner user group" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Changes the owner (and group) of a list of files. The first two elements of " "the list must be the I uid and gid, in that order. A value of -1 " "in either position is interpreted by most systems to leave that value " "unchanged. Returns the number of files successfully changed." msgstr "" "تغير المالك (والمجموعة) لقائمة من الملفات. يجب أن يكون أول عنصرين في القائمة " "هما معرف المستخدم I ومعرف المجموعة I، بهذا الترتيب. تُفسر " "القيمة -1 في أي من الموضعين بواسطة معظم الأنظمة على أنها ترك تلك القيمة دون " "تغيير. تعيد عدد الملفات التي غُيرت بنجاح." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "" "\\& my $cnt = chown $uid, $gid, \\*(Aqfoo\\*(Aq, \\*(Aqbar\\*(Aq;\n" "\\& chown $uid, $gid, @filenames;\n" msgstr "" "\\& my $cnt = chown $uid, $gid, \\*(Aqfoo\\*(Aq, \\*(Aqbar\\*(Aq;\n" "\\& chown $uid, $gid, @filenames;\n" #. type: Plain text #: debian-trixie debian-unstable msgid "" "On systems that support B\\|(2), you may pass filehandles among the " "files. On systems that don't support B\\|(2), passing filehandles " "raises an exception. Filehandles must be passed as globs or glob references " "to be recognized; barewords are considered filenames." msgstr "" "في الأنظمة التي تدعم B\\|(2)، يمكنك تمرير مقابض الملفات ضمن الملفات. " "في الأنظمة التي لا تدعم B\\|(2)، يؤدي تمرير مقابض الملفات إلى إثارة " "استثناء. يجب تمرير مقابض الملفات كـ globs أو مراجع globs ليُتعرف عليها؛ " "وتُعتبر الكلمات المجردة أسماء ملفات." #. type: Plain text #: debian-trixie debian-unstable msgid "Here's an example that looks up nonnumeric uids in the passwd file:" msgstr "إليك مثال يبحث عن معرفات مستخدمين غير رقمية في ملف passwd:" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "" "\\& print \"User: \";\n" "\\& chomp(my $user = ESTDINE);\n" "\\& print \"Files: \";\n" "\\& chomp(my $pattern = ESTDINE);\n" "\\&\n" "\\& my ($login,$pass,$uid,$gid) = getpwnam($user)\n" "\\& or die \"$user not in passwd file\";\n" "\\&\n" "\\& my @ary = glob($pattern); # expand filenames\n" "\\& chown $uid, $gid, @ary;\n" msgstr "" "\\& print \"User: \";\n" "\\& chomp(my $user = ESTDINE);\n" "\\& print \"Files: \";\n" "\\& chomp(my $pattern = ESTDINE);\n" "\\&\n" "\\& my ($login,$pass,$uid,$gid) = getpwnam($user)\n" "\\& or die \"$user not in passwd file\";\n" "\\&\n" "\\& my @ary = glob($pattern); # expand filenames\n" "\\& chown $uid, $gid, @ary;\n" #. type: Plain text #: debian-trixie debian-unstable msgid "" "On most systems, you are not allowed to change the ownership of the file " "unless you're the superuser, although you should be able to change the group " "to any of your secondary groups. On insecure systems, these restrictions " "may be relaxed, but this is not a portable assumption. On POSIX systems, " "you can detect this condition this way:" msgstr "" "في معظم الأنظمة، لا يُسمح لك بتغيير ملكية الملف ما لم تكن المستخدم الخارق، " "رغم أنه ينبغي أن تكون قادرًا على تغيير المجموعة إلى أي من مجموعاتك الثانوية. " "في الأنظمة غير الآمنة، قد تُخفف هذه القيود، لكن هذا ليس افتراضًا محمولاً. في " "أنظمة POSIX، يمكنك اكتشاف هذه الحالة بهذه الطريقة:" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "" "\\& use POSIX qw(pathconf _PC_CHOWN_RESTRICTED);\n" "\\& my $can_chown_giveaway =\n" "\\& ! pathconf($path_of_interest, _PC_CHOWN_RESTRICTED);\n" msgstr "" "\\& use POSIX qw(pathconf _PC_CHOWN_RESTRICTED);\n" "\\& my $can_chown_giveaway =\n" "\\& ! pathconf($path_of_interest, _PC_CHOWN_RESTRICTED);\n" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "Portability issues: \"chown\" in perlport." msgstr "قضايا المحمولية: \"chown\" في perlport." #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "chr NUMBER" msgstr "chr NUMBER" #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "chr character ASCII Unicode" msgstr "chr character ASCII Unicode" #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "chr" msgstr "chr" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Returns the character represented by that NUMBER in the character set. For " "example, CW is CW<\"A\"> in either ASCII or Unicode, and " "\\&CW is a Unicode smiley face." msgstr "" "تعيد المحرف الذي يمثله ذلك الـ NUMBER في مجموعة المحارف. على سبيل المثال، " "CW هي CW<\"A\"> سواء في ASCII أو Unicode، و \\&CW هو " "وجه باسم في Unicode." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Negative values give the Unicode replacement character (CW), " "except under the bytes pragma, where the low eight bits of the value " "(truncated to an integer) are used." msgstr "" "تعطي القيم السالبة محرف استبدال Unicode ‏(CW)، باستثناء ما هو " "تحت موجّه (pragma) البايتات، حيث تُستخدم الثماني بتات المنخفضة من القيمة " "(مبتورة إلى عدد صحيح)." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "If NUMBER is omitted, uses CW<$_>." msgstr "إذا أُغفل الـ NUMBER، تُستخدم CW<$_>." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "For the reverse, use CW<\\*(C`ord\\*(C'>." msgstr "للعكس، استخدم CW<\\*(C`ord\\*(C'>." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Note that characters from 128 to 255 (inclusive) are by default internally " "not encoded as UTF-8 for backward compatibility reasons." msgstr "" "لاحظ أن المحارف من 128 إلى 255 (بما في ذلك) لا تُرمّز داخليًا كمبدئي بصيغة " "UTF-8 لأسباب تتعلق بالتوافقية مع الإصدارات السابقة." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "See perlunicode for more about Unicode." msgstr "انظر perlunicode للمزيد حول Unicode." #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "chroot FILENAME" msgstr "chroot FILENAME" #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "chroot root" msgstr "chroot root" #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "chroot" msgstr "chroot" #. type: Plain text #: debian-trixie debian-unstable msgid "" "This function works like the system call by the same name: it makes the " "named directory the new root directory for all further pathnames that begin " "with a CW<\\*(C`/\\*(C'> by your process and all its children. (It doesn't " "change your current working directory, which is unaffected.) For security " "reasons, this call is restricted to the superuser. If FILENAME is omitted, " "does a CW<\\*(C`chroot\\*(C'> to CW<$_>." msgstr "" "تعمل هذه الدالة مثل نداء النظام الذي يحمل نفس الاسم: فهي تجعل المجلد المسمى " "هو المجلد الجذر (root) الجديد لجميع مسارات الملفات اللاحقة التي تبدأ بـ " "CW<\\*(C`/\\*(C'> بواسطة عمليتك وجميع توابعها. (لا تغير مجلد العمل الحالي، " "فهو لا يتأثر). لأسباب أمنية، يقتصر هذا النداء على المستخدم الخارق. إذا أُغفل " "الـ FILENAME، تُجرى عملية CW<\\*(C`chroot\\*(C'> على CW<$_>." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "\\&B It is mandatory for security to CW " "(CW<\\*(C`chdir\\*(C'> to the root directory) immediately after a " "\\&CW<\\*(C`chroot\\*(C'>, otherwise the current working directory may be " "outside of the new root." msgstr "" "\\&B<ملاحظة:> من الإلزامي للأمن القيام بـ CW " "‏(CW<\\*(C`chdir\\*(C'> إلى المجلد الجذر) فورًا بعد \\&CW<\\*(C`chroot\\*(C'" ">، " "وإلا فقد يكون مجلد العمل الحالي خارج الجذر الجديد." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "Portability issues: \"chroot\" in perlport." msgstr "قضايا المحمولية: \"chroot\" في perlport." #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "class NAMESPACE" msgstr "class NAMESPACE" #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "class NAMESPACE VERSION" msgstr "class NAMESPACE VERSION" #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "class NAMESPACE BLOCK" msgstr "class NAMESPACE BLOCK" #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "class NAMESPACE VERSION BLOCK" msgstr "class NAMESPACE VERSION BLOCK" #. type: Plain text #: debian-trixie debian-unstable msgid "" "Declares the BLOCK or the rest of the compilation unit as being in the given " "namespace, which implements an object class. This behaves similarly to " "\\&CW<\\*(C`package\\*(C'>, except that the newly-created package behaves as " "a class." msgstr "" "تعلن عن الـ BLOCK أو بقية وحدة التجميع ككائن في مساحة الأسماء المعطاة، والتي " "تنفذ فئة كائن (object class). يسلك هذا سلوكًا مشابهًا لـ " "\\&CW<\\*(C`package\\*(C'>، باستثناء أن الحزمة المنشأة حديثًا تسلك سلوك الفئة." #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "close FILEHANDLE" msgstr "close FILEHANDLE" #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "close" msgstr "close" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Closes the file or pipe associated with the filehandle, flushes the IO " "buffers, and closes the system file descriptor. Returns true if those " "operations succeed, and if no error was reported by any PerlIO layer, and " "there was no existing error on the filehandle." msgstr "" "تغلق الملف أو الأنبوب المرتبط بمقبض الملف، وتفرغ خبيئات الإدخال والإخراج، " "وتغلق واصف ملف النظام. تعيد قيمة صواب إذا نجحت تلك العمليات، وإذا لم يبلغ عن " "أي خطأ بواسطة أي طبقة PerlIO، ولم يكن هناك خطأ موجود مسبقًا على مقبض الملف." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "If there was an existing error on the filehandle, close will return false " "and CW<$!> will be set to the error from the failing operation, so you can " "safely use its value when reporting the error." msgstr "" "إذا كان هناك خطأ موجود مسبقًا على مقبض الملف، فستعيد close قيمة خطأ وسيُضبط " "CW<$!> على الخطأ الناتج عن العملية الفاشلة، لذا يمكنك استخدام قيمته بأمان " "عند التبليغ عن الخطأ." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "Closes the currently selected filehandle if the argument is omitted." msgstr "تغلق مقبض الملف المحدد حاليًا إذا أُغفل المعطى." #. type: Plain text #: debian-trixie debian-unstable msgid "" "You don't have to close FILEHANDLE if you are immediately going to do " "another CW<\\*(C`open\\*(C'> on it, because \\&CW<\\*(C`open\\*(C'> closes " "it for you. (See \\&CW<\\*(C`open\\*(C'>.) However, an explicit " "\\&CW<\\*(C`close\\*(C'> on an input file resets the line counter (CW<$.>), " "while the implicit close done by \\&CW<\\*(C`open\\*(C'> does not." msgstr "" "ليس عليك إغلاق FILEHANDLE إذا كنت ستجري عملية \\&CW<\\*(C`open\\*(C'> أخرى " "عليه فورًا، لأن \\&CW<\\*(C`open\\*(C'> تغلقه نيابة عنك. (انظر " "\\&CW<\\*(C`open\\*(C'>). ومع ذلك، فإن الإغلاق الصريح عبر " "\\&CW<\\*(C`close\\*(C'> على ملف إدخال يعيد ضبط عداد الأسطر (CW<$.>)، بينما " "لا يفعل ذلك الإغلاق الضمني الذي تجريه \\&CW<\\*(C`open\\*(C'>." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "If the filehandle came from a piped open, CW<\\*(C`close\\*(C'> returns " "false if one of the other syscalls involved fails or if its program exits " "with non-zero status. If the only problem was that the program exited non-" "zero, CW<$!> will be set to CW<0>. Closing a pipe also waits for the " "process executing on the pipe to exit--in case you wish to look at the " "output of the pipe afterwards--and implicitly puts the exit status value of " "that command into \\&CW<$?> and \\&CW<\\*(C`${^CHILD_ERROR_NATIVE}\\*(C'>." msgstr "" "إذا كان مقبض الملف قادمًا من فتح أنبوبي (piped open)، فستعيد " "CW<\\*(C`close\\*(C'> قيمة خطأ إذا فشل أحد نداءات النظام الأخرى المعنية أو " "إذا خرج برنامجه بحالة غير صفرية. إذا كانت المشكلة الوحيدة هي خروج البرنامج " "بحالة غير صفرية، فسيُضبط CW<$!> على CW<0>. يؤدي إغلاق الأنبوب أيضًا إلى" " انتظار " "العملية المنفذة على الأنبوب حتى تخرج -- في حال رغبت في الاطلاع على مخرجات " "الأنبوب بعد ذلك -- ويضع ضمنيًا قيمة حالة الخروج لذلك الأمر في \\&CW<$?> و " "\\&CW<\\*(C`${^CHILD_ERROR_NATIVE}\\*(C'>." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "If there are multiple threads running, CW<\\*(C`close\\*(C'> on a filehandle " "from a piped open returns true without waiting for the child process to " "terminate, if the filehandle is still open in another thread." msgstr "" "إذا كانت هناك خيوط (threads) متعددة تعمل، فإن CW<\\*(C`close\\*(C'> على مقبض " "ملف من فتح أنبوبي تعيد قيمة صواب دون انتظار انتهاء العملية الابنة، إذا كان " "مقبض الملف لا يزال مفتوحًا في خيط آخر." #. type: Plain text #: debian-trixie debian-unstable msgid "" "Closing the read end of a pipe before the process writing to it at the other " "end is done writing results in the writer receiving a SIGPIPE. If the other " "end can't handle that, be sure to read all the data before closing the pipe." msgstr "" "يؤدي إغلاق طرف القراءة للأنبوب قبل أن تنتهي العملية التي تكتب إليه في الطرف " "الآخر من الكتابة إلى استلام الكاتب إشارة SIGPIPE. إذا لم يكن الطرف الآخر " "قادرًا على التعامل مع ذلك، فتأكد من قراءة جميع البيانات قبل إغلاق الأنبوب." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "" "\\& open(OUTPUT, \\*(Aq|sort Efoo\\*(Aq) # pipe to sort\n" "\\& or die \"Can\\*(Aqt start sort: $!\";\n" "\\& #... # print stuff to output\n" "\\& close OUTPUT # wait for sort to finish\n" "\\& or warn $! ? \"Error closing sort pipe: $!\"\n" "\\& : \"Exit status $? from sort\";\n" "\\& open(INPUT, \\*(Aqfoo\\*(Aq) # get sort\\*(Aqs results\n" "\\& or die \"Can\\*(Aqt open \\*(Aqfoo\\*(Aq for input: $!\";\n" msgstr "" "\\& open(OUTPUT, \\*(Aq|sort Efoo\\*(Aq) # pipe to sort\n" "\\& or die \"Can\\*(Aqt start sort: $!\";\n" "\\& #... # print stuff to output\n" "\\& close OUTPUT # wait for sort to finish\n" "\\& or warn $! ? \"Error closing sort pipe: $!\"\n" "\\& : \"Exit status $? from sort\";\n" "\\& open(INPUT, \\*(Aqfoo\\*(Aq) # get sort\\*(Aqs results\n" "\\& or die \"Can\\*(Aqt open \\*(Aqfoo\\*(Aq for input: $!\";\n" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "FILEHANDLE may be an expression whose value can be used as an indirect " "filehandle, usually the real filehandle name or an autovivified handle." msgstr "" "قد يكون FILEHANDLE تعبيرًا يمكن استخدام قيمته كمقبض ملف غير مباشر، وعادة ما " "يكون اسم مقبض الملف الحقيقي أو مقبضًا وُلد آليًا (autovivified)." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "If an error occurs when perl implicitly closes a handle, perl will produce a " "warning. Explicitly calling close on the handle prevents that warning." msgstr "" "إذا حدث خطأ عندما تغلق بيرل مقبضًا ضمنيًا، فستنتج بيرل تحذيرًا. يؤدي استدعاء " "close صراحة على المقبض إلى منع ذلك التحذير." #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "closedir DIRHANDLE" msgstr "closedir DIRHANDLE" #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "closedir" msgstr "closedir" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Closes a directory opened by CW<\\*(C`opendir\\*(C'> and returns the success " "of that system call." msgstr "" "تغلق مجلدًا فُتح بواسطة CW<\\*(C`opendir\\*(C'> وتعيد نجاح نداء النظام ذلك." #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "connect SOCKET,NAME" msgstr "connect SOCKET,NAME" #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "connect" msgstr "connect" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Attempts to connect to a remote socket, just like B\\|(2). Returns " "true if it succeeded, false otherwise. NAME should be a packed address of " "the appropriate type for the socket. See the examples in \"Sockets: Client/" "Server Communication\" in perlipc." msgstr "" "تحاول الاتصال بمقبس (socket) بعيد، تمامًا مثل B\\|(2). تعيد قيمة " "صواب إذا نجحت، وخطأ بخلاف ذلك. يجب أن يكون NAME عنوانًا محزومًا من النوع " "المناسب للمقبس. انظر الأمثلة في \"المقابس: تواصل العميل/الخادم\" في perlipc." #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "continue BLOCK" msgstr "continue BLOCK" #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "continue" msgstr "continue" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "When followed by a BLOCK, CW<\\*(C`continue\\*(C'> is actually a flow " "control statement rather than a function. If there is a " "\\&CW<\\*(C`continue\\*(C'> BLOCK attached to a BLOCK (typically in a " "\\&CW<\\*(C`while\\*(C'> or CW<\\*(C`foreach\\*(C'>), it is always executed " "just before the conditional is about to be evaluated again, just like the " "third part of a CW<\\*(C`for\\*(C'> loop in C. Thus it can be used to " "increment a loop variable, even when the loop has been continued via the " "CW<\\*(C`next\\*(C'> statement (which is similar to the C " "CW<\\*(C`continue\\*(C'> statement)." msgstr "" "عندما تُتبع بـ BLOCK، تكون CW<\\*(C`continue\\*(C'> في الواقع عبارة تحكم في " "التدفق وليست دالة. إذا كان هناك BLOCK لـ \\&CW<\\*(C`continue\\*(C'> مرفق بـ " "BLOCK (عادةً في \\&CW<\\*(C`while\\*(C'> أو CW<\\*(C`foreach\\*(C'>)، فإنه " "يُنفذ دائمًا قبل إعادة تقييم الشرط مباشرة، تمامًا مثل الجزء الثالث من حلقة " "CW<\\*(C`for\\*(C'> في لغة C. وبالتالي يمكن استخدامه لزيادة متغير الحلقة، " "حتى عندما تُستمر الحلقة عبر عبارة CW<\\*(C`next\\*(C'> (التي تشبه عبارة " "CW<\\*(C`continue\\*(C'> في C)." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "\\&CW<\\*(C`last\\*(C'>, CW<\\*(C`next\\*(C'>, or \\&CW<\\*(C`redo\\*(C'> " "may appear within a \\&CW<\\*(C`continue\\*(C'> block; CW<\\*(C`last\\*(C'> " "and \\&CW<\\*(C`redo\\*(C'> behave as if they had been executed within the " "main block. So will CW<\\*(C`next\\*(C'>, but since it will execute a " "\\&CW<\\*(C`continue\\*(C'> block, it may be more entertaining." msgstr "" "قد تظهر \\&CW<\\*(C`last\\*(C'>، أو CW<\\*(C`next\\*(C'>، أو " "\\&CW<\\*(C`redo\\*(C'> داخل كتلة \\&CW<\\*(C`continue\\*(C'>؛ وتسلك " "CW<\\*(C`last\\*(C'> و \\&CW<\\*(C`redo\\*(C'> كما لو أنهما نُفذتا داخل " "الكتلة الرئيسة. وكذلك ستفعل CW<\\*(C`next\\*(C'>، ولكن بما أنها ستنفذ كتلة " "\\&CW<\\*(C`continue\\*(C'>، فقد يكون الأمر أكثر إثارة." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "" "\\& while (EXPR) {\n" "\\& ### redo always comes here\n" "\\& do_something;\n" "\\& } continue {\n" "\\& ### next always comes here\n" "\\& do_something_else;\n" "\\& # then back to the top to re-check EXPR\n" "\\& }\n" "\\& ### last always comes here\n" msgstr "" "\\& while (EXPR) {\n" "\\& ### redo تأتي دائمًا إلى هنا\n" "\\& do_something;\n" "\\& } continue {\n" "\\& ### next تأتي دائمًا إلى هنا\n" "\\& do_something_else;\n" "\\& # ثم العودة إلى الأعلى لإعادة فحص EXPR\n" "\\& }\n" "\\& ### last تأتي دائمًا إلى هنا\n" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Omitting the CW<\\*(C`continue\\*(C'> section is equivalent to using an " "empty one, logically enough, so CW<\\*(C`next\\*(C'> goes directly back to " "check the condition at the top of the loop." msgstr "" "إغفال قسم CW<\\*(C`continue\\*(C'> يعادل استخدام قسم فارغ، وهذا منطقي تمامًا، " "لذا تعود CW<\\*(C`next\\*(C'> مباشرة لفحص الشرط في أعلى الحلقة." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "When there is no BLOCK, CW<\\*(C`continue\\*(C'> is a function that falls " "through the current CW<\\*(C`when\\*(C'> or CW<\\*(C`default\\*(C'> block " "instead of iterating a dynamically enclosing CW<\\*(C`foreach\\*(C'> or " "exiting a lexically enclosing CW<\\*(C`given\\*(C'>. In Perl 5.14 and " "earlier, this form of \\&CW<\\*(C`continue\\*(C'> was only available when " "the \\&CW<\"switch\"> feature was enabled. See feature and \"Switch " "Statements\" in perlsyn for more information." msgstr "" "عندما لا يكون هناك BLOCK، تكون CW<\\*(C`continue\\*(C'> دالة تسقط عبر كتلة " "CW<\\*(C`when\\*(C'> أو CW<\\*(C`default\\*(C'> الحالية بدلاً من تكرار " "CW<\\*(C`foreach\\*(C'> محيطة ديناميكيًا أو الخروج من CW<\\*(C`given\\*(C'> " "محيطة معجميًا. في إصدار بيرل 5.14 وما قبله، كان هذا الشكل من " "\\&CW<\\*(C`continue\\*(C'> متاحًا فقط عند تفعيل ميزة \\&CW<\"switch\">. انظر " "feature و \"عبارات التبديل\" في perlsyn لمزيد من المعلومات." #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "cos EXPR" msgstr "cos EXPR" #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "cos cosine acos arccosine" msgstr "cos cosine acos arccosine" #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "cos" msgstr "cos" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Returns the cosine of EXPR (expressed in radians). If EXPR is omitted, " "takes the cosine of CW<$_>." msgstr "" "تعيد جيب التمام (cosine) لـ EXPR (معبرًا عنه بالراديان). إذا أُغفل EXPR، تؤخذ " "جيب تمام CW<$_>." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "For the inverse cosine operation, you may use the \\&CW<\\*(C`Math::Trig::" "acos\\*(C'> function, or use this relation:" msgstr "" "لعملية جيب التمام العكسية، يمكنك استخدام دالة \\&CW<\\*(C`Math::Trig::" "acos\\*(C'>، أو استخدام هذه العلاقة:" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "\\& sub acos { atan2( sqrt(1 - $_[0] * $_[0]), $_[0] ) }\n" msgstr "\\& sub acos { atan2( sqrt(1 - $_[0] * $_[0]), $_[0] ) }\n" #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "crypt PLAINTEXT,SALT" msgstr "crypt PLAINTEXT,SALT" #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "" "crypt digest hash salt plaintext password decrypt cryptography passwd encrypt" msgstr "" "crypt digest hash salt plaintext password decrypt cryptography passwd encrypt" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Creates a digest string exactly like the B\\|(3) function in the C " "library (assuming that you actually have a version there that has not been " "extirpated as a potential munition)." msgstr "" "يُنشئ سلسلة ملخص (digest) تماماً مثل دالة B\\|(3) في مكتبة C (على " "افتراض أن لديك نسخة هناك لم تُستأصل لكونها ذخيرة محتملة)." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "\\&CW<\\*(C`crypt\\*(C'> is a one-way hash function. The PLAINTEXT and SALT " "are turned into a short string, called a digest, which is returned. The " "same PLAINTEXT and SALT will always return the same string, but there is no " "(known) way to get the original PLAINTEXT from the hash. Small changes in " "the PLAINTEXT or SALT will result in large changes in the digest." msgstr "" "\\&CW<\\*(C`crypt\\*(C'> هي دالة هاش أحادية الاتجاه. تُحوّل PLAINTEXT (النص " "الصريح) وSALT (الملح) إلى سلسلة قصيرة تُسمى ملخصاً، وهي القيمة التي تُعاد. " "سيؤدي استخدام نفس الـ PLAINTEXT والـ SALT دائماً إلى إعادة السلسلة نفسها، " "ولكن لا توجد طريقة (معروفة) للحصول على الـ PLAINTEXT الأصلي من الهاش. " "التغييرات الطفيفة في الـ PLAINTEXT أو الـ SALT ستؤدي إلى تغييرات كبيرة في " "الملخص." #. type: Plain text #: debian-trixie debian-unstable msgid "" "There is no decrypt function. This function isn't all that useful for " "cryptography (for that, look for I modules on your nearby CPAN " "mirror) and the name \"crypt\" is a bit of a misnomer. Instead it is " "primarily used to check if two pieces of text are the same without having to " "transmit or store the text itself. An example is checking if a correct " "password is given. The digest of the password is stored, not the password " "itself. The user types in a password that is \\&CW<\\*(C`crypt\\*(C'>'d " "with the same salt as the stored digest. If the two digests match, the " "password is correct." msgstr "" "لا توجد دالة لفك التعمية. هذه الدالة ليست مفيدة جداً للأغراض التعموية (لذلك، " "ابحث عن وحدات I في مرآة CPAN القريبة منك) واسم \"crypt\" يعد تسمية " "خاطئة نوعاً ما. بدلاً من ذلك، تُستخدم بشكل رئيس للتحقق مما إذا كان قطعتان من " "النص متطابقتين دون الحاجة إلى نقل أو تخزين النص نفسه. ومن الأمثلة على ذلك " "التحقق من صحة كلمة المرور المعطاة. يُخزن ملخص كلمة المرور، وليس كلمة المرور " "نفسها. يكتب المستخدم كلمة مرور تُعالج بواسطة \\&CW<\\*(C`crypt\\*(C'> بنفس " "الملح المستخدم في الملخص المخزن. إذا تطابق الملخصان، تكون كلمة المرور صحيحة." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "When verifying an existing digest string you should use the digest as the " "salt (like CW<\\*(C`crypt($plain, $digest) eq $digest\\*(C'>). The SALT " "used to create the digest is visible as part of the digest. This ensures " "\\&CW<\\*(C`crypt\\*(C'> will hash the new string with the same salt as the " "digest. This allows your code to work with the standard " "\\&CW<\\*(C`crypt\\*(C'> and with more exotic implementations. In other " "words, assume nothing about the returned string itself nor about how many " "bytes of SALT may matter." msgstr "" "عند التحقق من سلسلة ملخص موجودة، يجب استخدام الملخص نفسه كملح (مثل " "CW<\\*(C`crypt($plain, $digest) eq $digest\\*(C'>). إن الـ SALT المستخدم " "لإنشاء الملخص يكون مرئياً كجزء من الملخص. يضمن هذا أن " "\\&CW<\\*(C`crypt\\*(C'> ستقوم بهاش السلسلة الجديدة بنفس الملح الموجود في " "الملخص. يسمح هذا لبرمجتك بالعمل مع \\&CW<\\*(C`crypt\\*(C'> القياسية ومع " "التطبيقات الأكثر غرابة. وبعبارة أخرى، لا تفترض شيئاً عن السلسلة المعادة نفسها " "ولا عن عدد بايتات الـ SALT التي قد تكون مهمة." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Traditionally the result is a string of 13 bytes: two first bytes of the " "salt, followed by 11 bytes from the set CW<\\*(C`[./0-9A-Za-z]\\*(C'>, and " "only the first eight bytes of PLAINTEXT mattered. But alternative hashing " "schemes (like MD5), higher level security schemes (like C2), and " "implementations on non-Unix platforms may produce different strings." msgstr "" "تقليدياً، النتيجة هي سلسلة من 13 بايتاً: أول بايتين هما الملح، تتبعهما 11 " "بايتاً من المجموعة CW<\\*(C`[./0-9A-Za-z]\\*(C'>، وكانت أول ثمانية بايتات فقط " "من الـ PLAINTEXT هي المهمة. لكن مخططات الهاش البديلة (مثل MD5)، ومخططات " "الأمان عالية المستوى (مثل C2)، والتطبيقات على المنصات غير التابعة لـ Unix قد " "تنتج سلاسل مختلفة." #. type: Plain text #: debian-trixie debian-unstable msgid "" "When choosing a new salt create a random two character string whose " "characters come from the set CW<\\*(C`[./0-9A-Za-z]\\*(C'> (like " "CW<\\*(C`join \\*(Aq\\*(Aq, (\\*(Aq.\\*(Aq, \\&\\*(Aq/\\*(Aq, 0..9, " "\\*(AqA\\*(Aq..\\*(AqZ\\*(Aq, \\*(Aqa\\*(Aq..\\*(Aqz\\*(Aq)[rand 64, rand " "64]\\*(C'>). This set of characters is just a recommendation; the " "characters allowed in the salt depend solely on your system's crypt library, " "and Perl can't restrict what salts CW<\\*(C`crypt\\*(C'> accepts." msgstr "" "عند اختيار ملح جديد، أنشئ سلسلة عشوائية من حرفين تأتي أحرفها من المجموعة " "CW<\\*(C`[./0-9A-Za-z]\\*(C'> (مثل CW<\\*(C`join \\*(Aq\\*(Aq, (\\*(Aq." "\\*(Aq, \\&\\*(Aq/\\*(Aq, 0..9, \\*(AqA\\*(Aq..\\*(AqZ\\*(Aq, \\*(Aqa\\*(Aq.." "\\*(Aqz\\*(Aq)[rand 64, rand 64]\\*(C'>). هذه المجموعة من الأحرف هي مجرد " "توصية؛ فالأحرف المسموح بها في الملح تعتمد كلياً على مكتبة crypt في نظامك، ولا " "يمكن لبيرل تقييد الأملاح التي تقبلها دالة CW<\\*(C`crypt\\*(C'>." #. type: Plain text #: debian-trixie debian-unstable msgid "" "Here's an example that makes sure that whoever runs this program knows their " "password:" msgstr "إليك مثال يضمن أن من يشغل هذا البرنامج يعرف كلمة مروره:" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "" "\\& my $pwd = (getpwuid($E))[1];\n" "\\&\n" "\\& system \"stty -echo\";\n" "\\& print \"Password: \";\n" "\\& chomp(my $word = ESTDINE);\n" "\\& print \"\\en\";\n" "\\& system \"stty echo\";\n" "\\&\n" "\\& if (crypt($word, $pwd) ne $pwd) {\n" "\\& die \"Sorry...\\en\";\n" "\\& } else {\n" "\\& print \"ok\\en\";\n" "\\& }\n" msgstr "" "\\& my $pwd = (getpwuid($E))[1];\n" "\\&\n" "\\& system \"stty -echo\";\n" "\\& print \"Password: \";\n" "\\& chomp(my $word = ESTDINE);\n" "\\& print \"\\en\";\n" "\\& system \"stty echo\";\n" "\\&\n" "\\& if (crypt($word, $pwd) ne $pwd) {\n" "\\& die \"Sorry...\\en\";\n" "\\& } else {\n" "\\& print \"ok\\en\";\n" "\\& }\n" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Of course, typing in your own password to whoever asks you for it is unwise." msgstr "بالطبع، كتابة كلمة مرورك الخاصة لأي شخص يطلبها منك هو أمر غير حكيم." #. type: Plain text #: debian-trixie debian-unstable msgid "" "The CW<\\*(C`crypt\\*(C'> function is unsuitable for hashing large " "quantities of data, not least of all because you can't get the information " "back. Look at the Digest module for more robust algorithms." msgstr "" "دالة CW<\\*(C`crypt\\*(C'> غير مناسبة لهاش كميات كبيرة من البيانات، ليس فقط " "لأنه لا يمكنك استعادة المعلومات. انظر إلى وحدة Digest للحصول على خوارزميات " "أكثر قوة." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "If using CW<\\*(C`crypt\\*(C'> on a Unicode string (which \\&I " "has characters with codepoints above 255), Perl tries to make sense of the " "situation by trying to downgrade (a copy of) the string back to an eight-bit " "byte string before calling \\&CW<\\*(C`crypt\\*(C'> (on that copy). If that " "works, good. If not, CW<\\*(C`crypt\\*(C'> dies with \\&CW<\\*(C`Wide " "character in crypt\\*(C'>." msgstr "" "إذا استخدمت CW<\\*(C`crypt\\*(C'> على سلسلة Unicode (التي I<يُحتمل> أن تحتوي " "على أحرف بنقاط ترميز فوق 255)، تحاول بيرل فهم الموقف بمحاولة خفض رتبة (نسخة " "من) السلسلة إلى سلسلة بايتات من ثمانية بتات قبل استدعاء " "\\&CW<\\*(C`crypt\\*(C'> (على تلك النسخة). إذا نجح ذلك، فبها ونعمت. وإلا، " "فإن CW<\\*(C`crypt\\*(C'> تتوقف مع رسالة \\&CW<\\*(C`Wide character in " "crypt\\*(C'>." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "Portability issues: \"crypt\" in perlport." msgstr "قضايا النقل: \"crypt\" في perlport." #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "dbmclose HASH" msgstr "dbmclose HASH" #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "dbmclose" msgstr "dbmclose" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "[This function has been largely superseded by the \\&CW<\\*(C`untie\\*(C'> " "function.]" msgstr "[حلت دالة \\&CW<\\*(C`untie\\*(C'> محل هذه الدالة بشكل كبير.]" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "Breaks the binding between a DBM file and a hash." msgstr "يفك الارتباط بين ملف DBM وهاش." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "Portability issues: \"dbmclose\" in perlport." msgstr "قضايا النقل: \"dbmclose\" في perlport." #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "dbmopen HASH,DBNAME,MASK" msgstr "dbmopen HASH,DBNAME,MASK" #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "dbmopen dbm ndbm sdbm gdbm" msgstr "dbmopen dbm ndbm sdbm gdbm" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "[This function has been largely superseded by the \\&CW<\\*(C`tie\\*(C'> " "function.]" msgstr "[حلت دالة \\&CW<\\*(C`tie\\*(C'> محل هذه الدالة بشكل كبير.]" #. type: Plain text #: debian-trixie debian-unstable msgid "" "This binds a B\\|(3), B\\|(3), B\\|(3), B\\|(3), or " "Berkeley DB file to a hash. HASH is the name of the hash. (Unlike normal " "\\&CW<\\*(C`open\\*(C'>, the first argument is I a filehandle, even " "though it looks like one). DBNAME is the name of the database (without the " "I<.dir> or I<.pag> extension if any). If the database does not exist, it is " "created with protection specified by MASK (as modified by the " "CW<\\*(C`umask\\*(C'>). To prevent creation of the database if it doesn't " "exist, you may specify a MASK of 0, and the function will return a false " "value if it can't find an existing database. If your system supports only " "the older DBM functions, you may make only one CW<\\*(C`dbmopen\\*(C'> call " "in your program. In older versions of Perl, if your system had neither DBM " "nor ndbm, calling CW<\\*(C`dbmopen\\*(C'> produced a fatal error; it now " "falls back to B\\|(3)." msgstr "" "يربط هذا ملف B\\|(3) أو B\\|(3) أو B\\|(3) أو B\\|(3) " "أو Berkeley DB بهاش. HASH هو اسم الهاش. (على عكس \\&CW<\\*(C`open\\*(C'> " "العادية، المعطى الأول I<ليس> مقبض ملف، على الرغم من أنه يبدو كذلك). DBNAME " "هو اسم قاعدة البيانات (بدون الامتداد I<.dir> أو I<.pag> إن وجد). إذا لم تكن " "قاعدة البيانات موجودة، تُنشأ مع الحماية المحددة بواسطة MASK (كما عُدلت بواسطة " "CW<\\*(C`umask\\*(C'>). لمنع إنشاء قاعدة البيانات إذا لم تكن موجودة، يمكنك " "تحديد MASK بقيمة 0، وستعيد الدالة قيمة خاطئة إذا لم تتمكن من العثور على " "قاعدة بيانات موجودة. إذا كان نظامك يدعم وظائف DBM القديمة فقط، فيمكنك إجراء " "استدعاء واحد فقط لـ CW<\\*(C`dbmopen\\*(C'> في برنامجك. في الإصدارات القديمة " "من Perl، إذا لم يكن نظامك يحتوي على DBM ولا ndbm، فإن استدعاء " "CW<\\*(C`dbmopen\\*(C'> كان ينتج عنه خطأ فادح؛ أما الآن فهو يتراجع إلى " "B\\|(3)." #. type: Plain text #: debian-trixie debian-unstable msgid "" "If you don't have write access to the DBM file, you can only read hash " "variables, not set them. If you want to test whether you can write, either " "use file tests or try setting a dummy hash entry inside an " "\\&CW<\\*(C`eval\\*(C'> to trap the error." msgstr "" "إذا لم يكن لديك صلاحية وصول للكتابة إلى ملف DBM، فيمكنك فقط قراءة متغيرات " "الهاش، وليس ضبطها. إذا كنت تريد اختبار ما إذا كان بإمكانك الكتابة، فاستخدم " "اختبارات الملفات أو حاول ضبط إدخال هاش وهمي داخل \\&CW<\\*(C`eval\\*(C'> " "لاصطياد الخطأ." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Note that functions such as CW<\\*(C`keys\\*(C'> and " "\\&CW<\\*(C`values\\*(C'> may return huge lists when used on large DBM " "files. You may prefer to use the CW<\\*(C`each\\*(C'> function to iterate " "over large DBM files. Example:" msgstr "" "لاحظ أن دوالاً مثل CW<\\*(C`keys\\*(C'> و \\&CW<\\*(C`values\\*(C'> قد تعيد " "قوائم ضخمة عند استخدامها على ملفات DBM كبيرة. قد تفضل استخدام دالة " "CW<\\*(C`each\\*(C'> للتكرار عبر ملفات DBM كبيرة. مثال:" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "" "\\& # print out history file offsets\n" "\\& dbmopen(%HIST,\\*(Aq/usr/lib/news/history\\*(Aq,0666);\n" "\\& while (($key,$val) = each %HIST) {\n" "\\& print $key, \\*(Aq = \\*(Aq, unpack(\\*(AqL\\*(Aq,$val)," " \"\\en\";\n" "\\& }\n" "\\& dbmclose(%HIST);\n" msgstr "" "\\& # print out history file offsets\n" "\\& dbmopen(%HIST,\\*(Aq/usr/lib/news/history\\*(Aq,0666);\n" "\\& while (($key,$val) = each %HIST) {\n" "\\& print $key, \\*(Aq = \\*(Aq, unpack(\\*(AqL\\*(Aq,$val)," " \"\\en\";\n" "\\& }\n" "\\& dbmclose(%HIST);\n" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "See also AnyDBM_File for a more general description of the pros and cons of " "the various dbm approaches, as well as DB_File for a particularly rich " "implementation." msgstr "" "انظر أيضًا AnyDBM_File للحصول على وصف أكثر عمومية لإيجابيات وسلبيات مناهج dbm " "المختلفة، بالإضافة إلى DB_File لتطبيق غني بشكل خاص." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "You can control which DBM library you use by loading that library before you " "call CW<\\*(C`dbmopen\\*(C'>:" msgstr "" "يمكنك التحكم في مكتبة DBM التي تستخدمها عن طريق تحميل تلك المكتبة قبل " "استدعاء CW<\\*(C`dbmopen\\*(C'>:" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "" "\\& use DB_File;\n" "\\& dbmopen(%NS_Hist, \"$ENV{HOME}/.netscape/history.db\")\n" "\\& or die \"Can\\*(Aqt open netscape history file: $!\";\n" msgstr "" "\\& use DB_File;\n" "\\& dbmopen(%NS_Hist, \"$ENV{HOME}/.netscape/history.db\")\n" "\\& or die \"Can\\*(Aqt open netscape history file: $!\";\n" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "Portability issues: \"dbmopen\" in perlport." msgstr "قضايا النقل: \"dbmopen\" في perlport." #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "defined EXPR" msgstr "defined EXPR" #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "defined undef undefined" msgstr "defined undef undefined" #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "defined" msgstr "defined" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Returns a Boolean value telling whether EXPR has a value other than the " "undefined value CW<\\*(C`undef\\*(C'>. If EXPR is not present, \\&CW<$_> is " "checked." msgstr "" "تعيد قيمة منطقية تخبر ما إذا كان لـ EXPR قيمة غير القيمة غير المعرفة " "CW<\\*(C`undef\\*(C'>. إذا لم يكن EXPR موجوداً، يُفحص \\&CW<$_>." #. type: Plain text #: debian-trixie debian-unstable msgid "" "Many operations return CW<\\*(C`undef\\*(C'> to indicate failure, end of " "file, system error, uninitialized variable, and other exceptional " "conditions. This function allows you to distinguish " "\\&CW<\\*(C`undef\\*(C'> from other values. (A simple Boolean test will not " "distinguish among CW<\\*(C`undef\\*(C'>, zero, the empty string, and " "CW<\"0\">, which are all equally false.) Note that since " "\\&CW<\\*(C`undef\\*(C'> is a valid scalar, its presence doesn't " "\\&I indicate an exceptional condition: CW<\\*(C`pop\\*(C'> " "returns CW<\\*(C`undef\\*(C'> when its argument is an empty array, \\&I " "when the element to return happens to be CW<\\*(C`undef\\*(C'>." msgstr "" "تعيد العديد من العمليات CW<\\*(C`undef\\*(C'> للإشارة إلى الفشل، نهاية " "الملف، خطأ في النظام، متغير غير مهيأ، وحالات استثنائية أخرى. تسمح لك هذه " "الدالة بتمييز \\&CW<\\*(C`undef\\*(C'> عن القيم الأخرى. (الاختبار المنطقي " "البسيط لن يميز بين CW<\\*(C`undef\\*(C'>، والصفر، والسلسلة الفارغة، و " "CW<\"0\">، فجميعها قيم خاطئة بالتساوي). لاحظ أنه بما أن " "\\&CW<\\*(C`undef\\*(C'> هي قيمة سلمية صالحة، فإن وجودها لا يشير I<بالضرورة> " "إلى حالة استثنائية: فمثلاً تعيد CW<\\*(C`pop\\*(C'> القيمة " "CW<\\*(C`undef\\*(C'> عندما يكون معطاها مصفوفة فارغة، I<أو> عندما يكون " "العنصر المراد إعادته هو CW<\\*(C`undef\\*(C'> أصلاً." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "You may also use CW to check whether subroutine " "CW<\\*(C`func\\*(C'> has ever been defined. The return value is unaffected " "by any forward declarations of CW<\\*(C`func\\*(C'>. A subroutine that is " "not defined may still be callable: its package may have an " "CW<\\*(C`AUTOLOAD\\*(C'> method that makes it spring into existence the " "first time that it is called; see perlsub." msgstr "" "يمكنك أيضًا استخدام CW للتحقق مما إذا كان قد سُمي الروتين " "الفرعي CW<\\*(C`func\\*(C'> من قبل. لا تتأثر القيمة المعادة بأي تصريحات " "أمامية لـ CW<\\*(C`func\\*(C'>. قد يظل الروتين الفرعي الذي لم يُعرّف قابلاً " "للاستدعاء: قد تحتوي حزمته على طريقة CW<\\*(C`AUTOLOAD\\*(C'> تجعله ينبثق " "للوجود في المرة الأولى التي يُستدعى فيها؛ انظر perlsub." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Use of CW<\\*(C`defined\\*(C'> on aggregates (hashes and arrays) is no " "longer supported. It used to report whether memory for that aggregate had " "ever been allocated. You should instead use a simple test for size:" msgstr "" "استخدام CW<\\*(C`defined\\*(C'> على المجمعات (الهاشات والمصفوفات) لم يعد " "مدعوماً. كان يُستخدم للإبلاغ عما إذا كان قد خُصصت ذاكرة لهذا المجمع من قبل. " "بدلاً من ذلك، يجب استخدام اختبار بسيط للحجم:" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "" "\\& if (@an_array) { print \"has array elements\\en\" }\n" "\\& if (%a_hash) { print \"has hash members\\en\" }\n" msgstr "" "\\& if (@an_array) { print \"has array elements\\en\" }\n" "\\& if (%a_hash) { print \"has hash members\\en\" }\n" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "When used on a hash element, it tells you whether the value is defined, not " "whether the key exists in the hash. Use CW<\\*(C`exists\\*(C'> for the " "latter purpose." msgstr "" "عند استخدامه على عنصر هاش، فإنه يخبرك ما إذا كانت القيمة معرفة، وليس ما إذا " "كان المفتاح موجوداً في الهاش. استخدم CW<\\*(C`exists\\*(C'> لهذا الغرض الأخير." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "Examples:" msgstr "أمثلة:" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "" "\\& print if defined $switch{D};\n" "\\& print \"$val\\en\" while defined($val = pop(@ary));\n" "\\& die \"Can\\*(Aqt readlink $sym: $!\"\n" "\\& unless defined($value = readlink $sym);\n" "\\& sub foo { defined &$bar ? $bar-E(@_) : die \"No bar\"; }\n" "\\& $debugging = 0 unless defined $debugging;\n" msgstr "" "\\& print if defined $switch{D};\n" "\\& print \"$val\\en\" while defined($val = pop(@ary));\n" "\\& die \"Can\\*(Aqt readlink $sym: $!\"\n" "\\& unless defined($value = readlink $sym);\n" "\\& sub foo { defined &$bar ? $bar-E(@_) : die \"No bar\"; }\n" "\\& $debugging = 0 unless defined $debugging;\n" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Note: Many folks tend to overuse CW<\\*(C`defined\\*(C'> and are then " "surprised to discover that the number CW<0> and CW<\"\"> (the zero-length " "string) are, in fact, defined values. For example, if you say" msgstr "" "ملاحظة: يميل الكثيرون إلى الإفراط في استخدام CW<\\*(C`defined\\*(C'> ثم " "يفاجئون عندما يكتشفون أن الرقم CW<0> و CW<\"\"> (السلسلة ذات الطول الصفري) " "هما في الواقع قيمتان معرّفتان. على سبيل المثال، إذا قلت" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "\\& \"ab\" =~ /a(.*)b/;\n" msgstr "\\& \"ab\" =~ /a(.*)b/;\n" #. type: Plain text #: debian-trixie debian-unstable msgid "" "The pattern match succeeds and CW<$1> is defined, although it matched " "\"nothing\". It didn't really fail to match anything. Rather, it matched " "something that happened to be zero characters long. This is all very above-" "board and honest. When a function returns an undefined value, it's an " "admission that it couldn't give you an honest answer. So you should use " "CW<\\*(C`defined\\*(C'> only when questioning the integrity of what you're " "trying to do. At other times, a simple comparison to CW<0> or CW<\"\"> is " "what you want." msgstr "" "ينجح تطابق النمط وتُعرّف CW<$1>، على الرغم من أنها طابقت \"لا شيء\". لم تفشل " "حقًا في مطابقة أي شيء، بل طابقت شيئاً صادف أن طوله صفر من الأحرف. هذا كله" " نزيه " "وصادق تماماً. عندما تعيد دالة قيمة غير معرفة، فهذا اعتراف منها بأنها لم تستطع " "إعطاء إجابة صادقة. لذا يجب استخدام CW<\\*(C`defined\\*(C'> فقط عند التشكيك " "في سلامة ما تحاول القيام به. في الأوقات الأخرى، تكون المقارنة البسيطة بـ " "CW<0> أو CW<\"\"> هي ما تريده." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "See also CW<\\*(C`undef\\*(C'>, CW<\\*(C`exists\\*(C'>, " "\\&CW<\\*(C`ref\\*(C'>." msgstr "" "انظر أيضًا CW<\\*(C`undef\\*(C'>، و CW<\\*(C`exists\\*(C'>، و " "\\&CW<\\*(C`ref\\*(C'>." #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "delete EXPR" msgstr "delete EXPR" #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "delete" msgstr "delete" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Given an expression that specifies an element or slice of a hash, " "\\&CW<\\*(C`delete\\*(C'> deletes the specified elements from that hash so " "that CW<\\*(C`exists\\*(C'> on that element no longer returns true. Setting " "a hash element to the undefined value does not remove its key, but deleting " "it does; see CW<\\*(C`exists\\*(C'>." msgstr "" "بإعطاء تعبير يحدد عنصراً أو شريحة من الهاش، تقوم \\&CW<\\*(C`delete\\*(C'> " "بحذف العناصر المحددة من ذلك الهاش بحيث لا تعود CW<\\*(C`exists\\*(C'> على " "ذلك العنصر تعيد قيمة صحيحة. ضبط عنصر هاش على القيمة غير المعرفة لا يزيل " "مفتاحه، لكن حذفه يفعل ذلك؛ انظر CW<\\*(C`exists\\*(C'>." #. type: Plain text #: debian-trixie debian-unstable msgid "" "In list context, usually returns the value or values deleted, or the last " "such element in scalar context. The return list's length corresponds to " "that of the argument list: deleting non-existent elements returns the " "undefined value in their corresponding positions. Since Perl 5.28, a key/" "value hash slice can be passed to CW<\\*(C`delete\\*(C'>, and the return " "value is a list of key/value pairs (two elements for each item deleted from " "the hash)." msgstr "" "في سياق القائمة، تعيد عادةً القيمة أو القيم المحذوفة، أو آخر عنصر من هذا " "القبيل في سياق سلمي. يتوافق طول قائمة الإرجاع مع طول قائمة المعطيات: حذف " "العناصر غير الموجودة يعيد القيمة غير المعرفة في مواقعها المقابلة. منذ " "الإصدار 5.28 من بيرل، يمكن تمرير شريحة هاش (مفتاح/قيمة) إلى " "CW<\\*(C`delete\\*(C'>، وتكون القيمة المعادة قائمة من أزواج مفتاح/قيمة " "(عنصران لكل بند حُذف من الهاش)." #. type: Plain text #: debian-trixie debian-unstable msgid "" "\\&CW<\\*(C`delete\\*(C'> may also be used on arrays and array slices, but " "its behavior is less straightforward. Although \\&CW<\\*(C`exists\\*(C'> " "will return false for deleted entries, deleting array elements never changes " "indices of existing values; use \\&CW<\\*(C`shift\\*(C'> or " "CW<\\*(C`splice\\*(C'> for that. However, if any deleted elements fall at " "the end of an array, the array's size shrinks to the position of the highest " "element that still tests true for CW<\\*(C`exists\\*(C'>, or to 0 if none " "do. In other words, an array won't have trailing nonexistent elements after " "a delete." msgstr "" "يمكن أيضًا استخدام \\&CW<\\*(C`delete\\*(C'> على المصفوفات وشرائح المصفوفات، " "لكن سلوكها أقل وضوحاً. على الرغم من أن \\&CW<\\*(C`exists\\*(C'> ستعيد قيمة " "خاطئة للمدخلات المحذوفة، فإن حذف عناصر المصفوفة لا يغير أبداً فهارس القيم " "الموجودة؛ استخدم \\&CW<\\*(C`shift\\*(C'> أو CW<\\*(C`splice\\*(C'> لذلك. " "ومع ذلك، إذا وقعت أي عناصر محذوفة في نهاية المصفوفة، فإن حجم المصفوفة يتقلص " "إلى موقع أعلى عنصر لا يزال يختبر كقيمة صحيحة لـ CW<\\*(C`exists\\*(C'>، أو " "إلى 0 إذا لم يوجد أي منها. وبعبارة أخرى، لن تحتوي المصفوفة على عناصر زائدة " "غير موجودة بعد الحذف." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "\\&B Calling CW<\\*(C`delete\\*(C'> on array values is strongly " "discouraged. The notion of deleting or checking the existence of Perl array " "elements is not conceptually coherent, and can lead to surprising behavior." msgstr "" "\\&B<تحذير:> لا يُنصح بشدة باستدعاء CW<\\*(C`delete\\*(C'> على قيم المصفوفة. " "إن مفهوم حذف أو فحص وجود عناصر مصفوفة بيرل ليس متسقاً من الناحية المفاهيمية، " "ويمكن أن يؤدي إلى سلوك مفاجئ." #. type: Plain text #: debian-trixie debian-unstable msgid "" "Deleting from CW<%ENV> modifies the environment. Deleting from a hash tied " "to a DBM file deletes the entry from the DBM file. Deleting from a " "CW<\\*(C`tied\\*(C'> hash or array may not necessarily return anything; it " "depends on the implementation of the \\&CW<\\*(C`tied\\*(C'> package's " "DELETE method, which may do whatever it pleases." msgstr "" "الحذف من CW<%ENV> يعدل البيئة. الحذف من هاش مربوط بملف DBM يحذف الإدخال من " "ملف DBM. الحذف من هاش أو مصفوفة CW<\\*(C`tied\\*(C'> (مربوطة) قد لا يعيد " "بالضرورة أي شيء؛ يعتمد ذلك على تطبيق طريقة DELETE الخاصة بالحزمة المربوطة، " "والتي قد تفعل ما تشاء." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "The CW<\\*(C`delete local EXPR\\*(C'> construct localizes the deletion to " "the current block at run time. Until the block exits, elements locally " "deleted temporarily no longer exist. See \"Localized deletion of elements " "of composite types\" in perlsub." msgstr "" "تعبير CW<\\*(C`delete local EXPR\\*(C'> يجعل الحذف محلياً للكتلة الحالية في " "وقت التشغيل. حتى تخرج الكتلة، فإن العناصر المحذوفة محلياً تتوقف عن الوجود " "مؤقتاً. انظر \"Localized deletion of elements of composite types\" في perlsub." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "" "\\& my %hash = (foo =E 11, bar =E 22, baz =E 33);\n" "\\& my $scalar = delete $hash{foo}; # $scalar is 11\n" "\\& $scalar = delete @hash{qw(foo bar)}; # $scalar is 22\n" "\\& my @array = delete @hash{qw(foo baz)}; # @array is (undef,33)\n" msgstr "" "\\& my %hash = (foo =E 11, bar =E 22, baz =E 33);\n" "\\& my $scalar = delete $hash{foo}; # $scalar is 11\n" "\\& $scalar = delete @hash{qw(foo bar)}; # $scalar is 22\n" "\\& my @array = delete @hash{qw(foo baz)}; # @array is (undef,33)\n" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "The following (inefficiently) deletes all the values of CW<%HASH> and " "CW<@ARRAY:>" msgstr "ما يلي يحذف (بشكل غير فعال) جميع قيم CW<%HASH> و CW<@ARRAY>:" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "" "\\& foreach my $key (keys %HASH) {\n" "\\& delete $HASH{$key};\n" "\\& }\n" "\\&\n" "\\& foreach my $index (0 .. $#ARRAY) {\n" "\\& delete $ARRAY[$index];\n" "\\& }\n" msgstr "" "\\& foreach my $key (keys %HASH) {\n" "\\& delete $HASH{$key};\n" "\\& }\n" "\\&\n" "\\& foreach my $index (0 .. $#ARRAY) {\n" "\\& delete $ARRAY[$index];\n" "\\& }\n" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "And so do these:" msgstr "وكذلك تفعل هذه:" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "" "\\& delete @HASH{keys %HASH};\n" "\\&\n" "\\& delete @ARRAY[0 .. $#ARRAY];\n" msgstr "" "\\& delete @HASH{keys %HASH};\n" "\\&\n" "\\& delete @ARRAY[0 .. $#ARRAY];\n" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "But both are slower than assigning the empty list or undefining CW<%HASH> or " "CW<@ARRAY>, which is the customary way to empty out an aggregate:" msgstr "" "لكن كلاهما أبطأ من إسناد القائمة الفارغة أو إلغاء تعريف CW<%HASH> أو " "CW<@ARRAY>، وهو الطريق المعتاد لتفريغ مجمع:" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "" "\\& %HASH = (); # completely empty %HASH\n" "\\& undef %HASH; # forget %HASH ever existed\n" "\\&\n" "\\& @ARRAY = (); # completely empty @ARRAY\n" "\\& undef @ARRAY; # forget @ARRAY ever existed\n" msgstr "" "\\& %HASH = (); # completely empty %HASH\n" "\\& undef %HASH; # forget %HASH ever existed\n" "\\&\n" "\\& @ARRAY = (); # completely empty @ARRAY\n" "\\& undef @ARRAY; # forget @ARRAY ever existed\n" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "The EXPR can be arbitrarily complicated provided its final operation is an " "element or slice of an aggregate:" msgstr "" "يمكن أن يكون EXPR معقداً بشكل عشوائي بشرط أن تكون عمليته النهائية هي عنصر أو " "شريحة من مجمع:" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "" "\\& delete $ref-E[$x][$y]{$key};\n" "\\& delete $ref-E[$x][$y]-E@{$key1, $key2, @morekeys};\n" "\\&\n" "\\& delete $ref-E[$x][$y][$index];\n" "\\& delete $ref-E[$x][$y]-E@[$index1, $index2, @moreindices];\n" msgstr "" "\\& delete $ref-E[$x][$y]{$key};\n" "\\& delete $ref-E[$x][$y]-E@{$key1, $key2, @morekeys};\n" "\\&\n" "\\& delete $ref-E[$x][$y][$index];\n" "\\& delete $ref-E[$x][$y]-E@[$index1, $index2, @moreindices];\n" #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "die LIST" msgstr "die LIST" #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "die throw exception raise $@ abort" msgstr "die throw exception raise $@ abort" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "\\&CW<\\*(C`die\\*(C'> raises an exception. Inside an CW<\\*(C`eval\\*(C'> " "the exception is stuffed into CW<$@> and the CW<\\*(C`eval\\*(C'> is " "terminated with the undefined value. If the exception is outside of all " "enclosing CW<\\*(C`eval\\*(C'>s, then the uncaught exception is printed to " "CW<\\*(C`STDERR\\*(C'> and perl exits with an exit code indicating failure. " "If you need to exit the process with a specific exit code, see " "CW<\\*(C`exit\\*(C'>." msgstr "" "تثير \\&CW<\\*(C`die\\*(C'> استثناءً. داخل CW<\\*(C`eval\\*(C'>، يُحشى " "الاستثناء في CW<$@> وتُنهى CW<\\*(C`eval\\*(C'> بالقيمة غير المعرفة. إذا كان " "الاستثناء خارج جميع كتل CW<\\*(C`eval\\*(C'> المحيطة، فسيُطبع الاستثناء غير " "الممسوك في CW<\\*(C`STDERR\\*(C'> وتخرج بيرل بكود خروج يشير إلى الفشل. إذا " "كنت بحاجة إلى الخروج من العملية بكود خروج محدد، فانظر CW<\\*(C`exit\\*(C'>." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "Equivalent examples:" msgstr "أمثلة مكافئة:" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "" "\\& die \"Can\\*(Aqt cd to spool: $!\\en\" unless chdir" " \\*(Aq/usr/spool/news\\*(Aq;\n" "\\& chdir \\*(Aq/usr/spool/news\\*(Aq or die \"Can\\*(Aqt cd to spool:" " $!\\en\"\n" msgstr "" "\\& die \"Can\\*(Aqt cd to spool: $!\\en\" unless chdir" " \\*(Aq/usr/spool/news\\*(Aq;\n" "\\& chdir \\*(Aq/usr/spool/news\\*(Aq or die \"Can\\*(Aqt cd to spool:" " $!\\en\"\n" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Most of the time, CW<\\*(C`die\\*(C'> is called with a string to use as the " "exception. You may either give a single non-reference operand to serve as " "the exception, or a list of two or more items, which will be stringified and " "concatenated to make the exception." msgstr "" "في معظم الأوقات، تُستدعى CW<\\*(C`die\\*(C'> مع سلسلة لاستخدامها كاستثناء. " "يمكنك إما إعطاء معامل واحد غير مرجعي ليعمل كاستثناء، أو قائمة من عنصرين أو " "أكثر، حيث ستُحول إلى سلاسل وتُدمج معاً لتشكيل الاستثناء." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "If the string exception does not end in a newline, the current script line " "number and input line number (if any) and a newline are appended to it. " "Note that the \"input line number\" (also known as \"chunk\") is subject to " "whatever notion of \"line\" happens to be currently in effect, and is also " "available as the special variable \\&CW<$.>. See \"$/\" in perlvar and \"$." "\" in perlvar." msgstr "" "إذا لم تنتهِ سلسلة الاستثناء بسطر جديد، فسيُلحق بها رقم سطر السكربت الحالي " "ورقم سطر الإدخال (إن وجد) وسطر جديد. لاحظ أن \"رقم سطر الإدخال\" (المعروف " "أيضًا باسم \"القطعة\") يخضع لأي مفهوم لـ \"السطر\" يكون سارياً حالياً، وهو" " متاح " "أيضًا كمتغير خاص \\&CW<$.>. انظر \"$/\" في perlvar و \"$.\" في perlvar." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Hint: sometimes appending CW<\", stopped\"> to your message will cause it to " "make better sense when the string CW<\"at foo line 123\"> is appended. " "Suppose you are running script \"canasta\"." msgstr "" "تلميح: أحياناً يؤدي إلحاق CW<\", stopped\"> برسالتك إلى جعلها أكثر منطقية عند " "إلحاق السلسلة CW<\"at foo line 123\">. لنفترض أنك تشغل سكربت \"canasta\"." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "" "\\& die \"/etc/games is no good\";\n" "\\& die \"/etc/games is no good, stopped\";\n" msgstr "" "\\& die \"/etc/games is no good\";\n" "\\& die \"/etc/games is no good, stopped\";\n" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "produce, respectively" msgstr "ينتج عنهما، على التوالي" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "" "\\& /etc/games is no good at canasta line 123.\n" "\\& /etc/games is no good, stopped at canasta line 123.\n" msgstr "" "\\& /etc/games is no good at canasta line 123.\n" "\\& /etc/games is no good, stopped at canasta line 123.\n" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "If LIST was empty or made an empty string, and CW<$@> already contains an " "exception value (typically from a previous \\&CW<\\*(C`eval\\*(C'>), then " "that value is reused after appending CW<\"\\et...propagated\">. This is " "useful for propagating exceptions:" msgstr "" "إذا كانت LIST فارغة أو كونت سلسلة فارغة، وكانت CW<$@> تحتوي بالفعل على قيمة " "استثناء (عادةً من \\&CW<\\*(C`eval\\*(C'> سابقة)، فسيُعاد استخدام تلك القيمة " "بعد إلحاق CW<\"\\et...propagated\">. هذا مفيد لنشر الاستثناءات:" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "" "\\& eval { ... };\n" "\\& die unless $@ =~ /Expected exception/;\n" msgstr "" "\\& eval { ... };\n" "\\& die unless $@ =~ /Expected exception/;\n" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "If LIST was empty or made an empty string, and CW<$@> contains an object " "reference that has a CW<\\*(C`PROPAGATE\\*(C'> method, that method will be " "called with additional file and line number parameters. The return value " "replaces the value in CW<$@>; i.e., as if \\&CW<\\*(C`$@ = eval { $@-" "EPROPAGATE(_\\|_FILE_\\|_, _\\|_LINE_\\|_) };\\*(C'> were called." msgstr "" "إذا كانت LIST فارغة أو كونت سلسلة فارغة، وكانت CW<$@> تحتوي على مرجع كائن له " "طريقة CW<\\*(C`PROPAGATE\\*(C'>، فسيُستدعى هذا الأسلوب مع بارامترات إضافية " "للملف ورقم السطر. تحل القيمة المعادة محل القيمة في CW<$@>؛ أي كما لو أنه قد " "استُدعي \\&CW<\\*(C`$@ = eval { $@-EPROPAGATE(_\\|_FILE_\\|_, _\\|" "_LINE_\\|_) };\\*(C'>." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "If LIST was empty or made an empty string, and CW<$@> is also empty, then " "the string CW<\"Died\"> is used." msgstr "" "إذا كانت LIST فارغة أو كونت سلسلة فارغة، وكانت CW<$@> فارغة أيضًا، فستُستخدم " "السلسلة CW<\"Died\">." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "You can also call CW<\\*(C`die\\*(C'> with a reference argument, and if this " "is trapped within an CW<\\*(C`eval\\*(C'>, CW<$@> contains that reference. " "This permits more elaborate exception handling using objects that maintain " "arbitrary state about the exception. Such a scheme is sometimes preferable " "to matching particular string values of \\&CW<$@> with regular expressions." msgstr "" "يمكنك أيضًا استدعاء CW<\\*(C`die\\*(C'> مع معطى مرجعي، وإذا صيد هذا داخل " "CW<\\*(C`eval\\*(C'>، فإن CW<$@> ستحتوي على ذلك المرجع. يسمح هذا بمعالجة " "أكثر تفصيلاً للاستثناءات باستخدام كائنات تحافظ على حالة عشوائية حول " "الاستثناء. مثل هذا المخطط يفضل أحياناً على مطابقة قيم نصية معينة في \\&CW<$@> " "باستخدام التعبيرات النمطية." #. type: Plain text #: debian-trixie debian-unstable msgid "" "Because Perl stringifies uncaught exception messages before display, you'll " "probably want to overload stringification operations on exception objects. " "See overload for details about that. The stringified message should be non-" "empty, and should end in a newline, in order to fit in with the treatment of " "string exceptions. Also, because an exception object reference cannot be " "stringified without destroying it, Perl doesn't attempt to append location " "or other information to a reference exception. If you want location " "information with a complex exception object, you'll have to arrange to put " "the location information into the object yourself." msgstr "" "نظرًا لأن بيرل تحول رسائل الاستثناء غير الممسوكة إلى سلاسل قبل العرض، فمن " "المحتمل أنك سترغب في تحميل عمليات تحويل السلاسل بشكل زائد (overload) على " "كائنات الاستثناء. انظر overload للحصول على تفاصيل حول ذلك. يجب أن تكون " "الرسالة المحولة غير فارغة، ويجب أن تنتهي بسطر جديد لكي تتناسب مع معالجة " "الاستثناءات النصية. أيضًا، لأن مرجع كائن الاستثناء لا يمكن تحويله إلى سلسلة " "دون تدميره، لا تحاول بيرل إلحاق الموقع أو معلومات أخرى باستثناء مرجعي. إذا " "كنت تريد معلومات الموقع مع كائن استثناء معقد، سيتعين عليك ترتيب وضع معلومات " "الموقع في الكائن بنفسك." #. type: Plain text #: debian-trixie debian-unstable msgid "" "Because CW<$@> is a global variable, be careful that analyzing an exception " "caught by CW<\\*(C`eval\\*(C'> doesn't replace the reference in the global " "variable. It's easiest to make a local copy of the reference before any " "manipulations. Here's an example:" msgstr "" "لأن CW<$@> هو متغير عام، احذر من أن تحليل استثناء ممسوك بواسطة " "CW<\\*(C`eval\\*(C'> قد يستبدل المرجع في المتغير العام. الأسهل هو عمل نسخة " "محلية من المرجع قبل أي معالجة. إليك مثال:" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "" "\\& use Scalar::Util \"blessed\";\n" "\\&\n" "\\& eval { ... ; die Some::Module::Exception-Enew( FOO =E \"bar\"" " ) };\n" "\\& if (my $ev_err = $@) {\n" "\\& if (blessed($ev_err)\n" "\\& && $ev_err-Eisa(\"Some::Module::Exception\")) {\n" "\\& # handle Some::Module::Exception\n" "\\& }\n" "\\& else {\n" "\\& # handle all other possible exceptions\n" "\\& }\n" "\\& }\n" msgstr "" "\\& use Scalar::Util \"blessed\";\n" "\\&\n" "\\& eval { ... ; die Some::Module::Exception-Enew( FOO =E \"bar\"" " ) };\n" "\\& if (my $ev_err = $@) {\n" "\\& if (blessed($ev_err)\n" "\\& && $ev_err-Eisa(\"Some::Module::Exception\")) {\n" "\\& # handle Some::Module::Exception\n" "\\& }\n" "\\& else {\n" "\\& # handle all other possible exceptions\n" "\\& }\n" "\\& }\n" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "If an uncaught exception results in interpreter exit, the exit code is " "determined from the values of CW<$!> and \\&CW<$?> with this pseudocode:" msgstr "" "إذا أدى استثناء غير ممسوك إلى خروج المفسر، يُحدد كود الخروج من قيم CW<$!> و " "\\&CW<$?> باستخدام هذا الكود الوهمي:" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "" "\\& exit $! if $!; # errno\n" "\\& exit $? EE 8 if $? EE 8; # child exit status\n" "\\& exit 255; # last resort\n" msgstr "" "\\& exit $! if $!; # errno\n" "\\& exit $? EE 8 if $? EE 8; # child exit status\n" "\\& exit 255; # last resort\n" #. type: Plain text #: debian-trixie debian-unstable msgid "" "As with CW<\\*(C`exit\\*(C'>, CW<$?> is set prior to unwinding the call " "stack; any CW<\\*(C`DESTROY\\*(C'> or CW<\\*(C`END\\*(C'> handlers can then " "alter this value, and thus Perl's exit code." msgstr "" "كما هو الحال مع CW<\\*(C`exit\\*(C'>، تُضبط CW<$?> قبل فك كدس الاستدعاء؛ يمكن " "لأي من معالجات CW<\\*(C`DESTROY\\*(C'> أو CW<\\*(C`END\\*(C'> بعد ذلك تغيير " "هذه القيمة، وبالتالي تغيير كود خروج بيرل." #. type: Plain text #: debian-trixie debian-unstable msgid "" "The intent is to squeeze as much possible information about the likely cause " "into the limited space of the system exit code. However, as \\&CW<$!> is " "the value of C's CW<\\*(C`errno\\*(C'>, which can be set by any system call, " "this means that the value of the exit code used by \\&CW<\\*(C`die\\*(C'> " "can be non-predictable, so should not be relied upon, other than to be non-" "zero." msgstr "" "القصد هو عصر أكبر قدر ممكن من المعلومات حول السبب المحتمل في المساحة " "المحدودة لكود خروج النظام. ومع ذلك، بما أن \\&CW<$!> هي قيمة " "CW<\\*(C`errno\\*(C'> في C، والتي يمكن ضبطها بواسطة أي نداء نظام، فهذا يعني " "أن قيمة كود الخروج المستخدم بواسطة \\&CW<\\*(C`die\\*(C'> يمكن أن تكون غير " "قابلة للتنبؤ، لذا لا ينبغي الاعتماد عليها، بخلاف كونها غير صفرية." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "You can arrange for a callback to be run just before the " "\\&CW<\\*(C`die\\*(C'> does its deed, by setting the \\&CW<$SIG{_\\|_DIE_\\|" "_}> hook. The associated handler is called with the exception as an " "argument, and can change the exception, if it sees fit, by calling " "CW<\\*(C`die\\*(C'> again. See \"%SIG\" in perlvar for details on setting " "CW<%SIG> entries, and CW<\\*(C`eval\\*(C'> for some examples. Although this " "feature was to be run only right before your program was to exit, this is " "not currently so: the \\&CW<$SIG{_\\|_DIE_\\|_}> hook is currently called " "even inside \\&CW<\\*(C`eval\\*(C'>ed blocks/strings! If one wants the hook " "to do nothing in such situations, put" msgstr "" "يمكنك ترتيب تشغيل استدعاء راجع (callback) قبل أن تقوم \\&CW<\\*(C`die\\*(C'> " "بفعلتها، وذلك بضبط خطاف \\&CW<$SIG{_\\|_DIE_\\|_}>. يُستدعى المعالج المرتبط " "مع الاستثناء كمعطى، ويمكنه تغيير الاستثناء، إذا رأى ذلك مناسباً، عن طريق " "استدعاء CW<\\*(C`die\\*(C'> مرة أخرى. انظر \"%SIG\" في perlvar للحصول على " "تفاصيل حول ضبط إدخالات CW<%SIG>، و CW<\\*(C`eval\\*(C'> لبعض الأمثلة. على " "الرغم من أن هذه الميزة كان من المفترض تشغيلها فقط قبل خروج برنامجك مباشرة، " "إلا أن الأمر ليس كذلك حالياً: يُستدعى خطاف \\&CW<$SIG{_\\|_DIE_\\|_}> حالياً " "حتى داخل الكتل/السلاسل المعالجة بواسطة \\&CW<\\*(C`eval\\*(C'>! إذا أراد " "المرء ألا يفعل الخطاف شيئاً في مثل هذه الحالات، فليضع" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "\\& die @_ if $^S;\n" msgstr "\\& die @_ if $^S;\n" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "as the first line of the handler (see \"$^S\" in perlvar). Because this " "promotes strange action at a distance, this counterintuitive behavior may be " "fixed in a future release." msgstr "" "كأول سطر في المعالج (انظر \"$^S\" في perlvar). ولأن هذا يشجع على حدوث أفعال " "غريبة عن بُعد، فقد يُصلح هذا السلوك غير المتوقع في إصدار مستقبلي." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "See also CW<\\*(C`exit\\*(C'>, CW<\\*(C`warn\\*(C'>, and the Carp module." msgstr "انظر أيضًا CW<\\*(C`exit\\*(C'>، و CW<\\*(C`warn\\*(C'>، ووحدة Carp." #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "do BLOCK" msgstr "do BLOCK" #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "do block" msgstr "do block" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Not really a function. Returns the value of the last command in the " "sequence of commands indicated by BLOCK. When modified by the " "CW<\\*(C`while\\*(C'> or \\&CW<\\*(C`until\\*(C'> loop modifier, executes " "the BLOCK once before testing the loop condition. (On other statements the " "loop modifiers test the conditional first.)" msgstr "" "ليست دالة في الواقع. تعيد قيمة آخر أمر في تسلسل الأوامر المشار إليها بواسطة " "BLOCK. عندما تُعدل بواسطة معدل الحلقة CW<\\*(C`while\\*(C'> أو " "\\&CW<\\*(C`until\\*(C'>، فإنها تنفذ الـ BLOCK مرة واحدة قبل اختبار حالة " "الحلقة. (في العبارات الأخرى، تختبر معدلات الحلقة الشرط أولاً)." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "\\&CW<\\*(C`do BLOCK\\*(C'> does I count as a loop, so the loop control " "statements \\&CW<\\*(C`next\\*(C'>, CW<\\*(C`last\\*(C'>, or " "\\&CW<\\*(C`redo\\*(C'> cannot be used to leave or restart the block. See " "perlsyn for alternative strategies." msgstr "" "لا تُعتبر \\&CW<\\*(C`do BLOCK\\*(C'> حلقة، لذا I<لا> يمكن استخدام عبارات" " التحكم " "في الحلقة \\&CW<\\*(C`next\\*(C'>، أو CW<\\*(C`last\\*(C'>، أو " "\\&CW<\\*(C`redo\\*(C'> لمغادرة الكتلة أو إعادة تشغيلها. انظر perlsyn " "لاستراتيجيات بديلة." #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "do EXPR" msgstr "do EXPR" #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "do" msgstr "do" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Uses the value of EXPR as a filename and executes the contents of the file " "as a Perl script:" msgstr "تستخدم قيمة EXPR كاسم ملف وتنفذ محتويات الملف كسكربت بيرل:" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "" "\\& # load the exact specified file (./ and ../ special-cased)\n" "\\& do \\*(Aq/foo/stat.pl\\*(Aq;\n" "\\& do \\*(Aq./stat.pl\\*(Aq;\n" "\\& do \\*(Aq../foo/stat.pl\\*(Aq;\n" "\\&\n" "\\& # search for the named file within @INC\n" "\\& do \\*(Aqstat.pl\\*(Aq;\n" "\\& do \\*(Aqfoo/stat.pl\\*(Aq;\n" msgstr "" "\\& # load the exact specified file (./ and ../ special-cased)\n" "\\& do \\*(Aq/foo/stat.pl\\*(Aq;\n" "\\& do \\*(Aq./stat.pl\\*(Aq;\n" "\\& do \\*(Aq../foo/stat.pl\\*(Aq;\n" "\\&\n" "\\& # search for the named file within @INC\n" "\\& do \\*(Aqstat.pl\\*(Aq;\n" "\\& do \\*(Aqfoo/stat.pl\\*(Aq;\n" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "\\&CW<\\*(C`do \\*(Aq./stat.pl\\*(Aq\\*(C'> is largely like" msgstr "\\&CW<\\*(C`do \\*(Aq./stat.pl\\*(Aq\\*(C'> تشبه إلى حد كبير" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "\\& eval \\`cat stat.pl\\`;\n" msgstr "\\& eval \\`cat stat.pl\\`;\n" #. type: Plain text #: debian-trixie debian-unstable msgid "" "except that it's more concise, runs no external processes, and keeps track " "of the current filename for error messages. It also differs in that code " "evaluated with CW<\\*(C`do FILE\\*(C'> cannot see lexicals in the enclosing " "scope; CW<\\*(C`eval STRING\\*(C'> does. It's the same, however, in that it " "does reparse the file every time you call it, so you probably don't want to " "do this inside a loop." msgstr "" "إلا أنها أكثر إيجازاً، ولا تشغل أي عمليات خارجية، وتتبع اسم الملف الحالي " "لرسائل الخطأ. وتختلف أيضًا في أن الكود الذي تمت معالجته باستخدام CW<\\*(C`do " "FILE\\*(C'> لا يمكنه رؤية المتغيرات المعجمية (lexicals) في النطاق المحيط؛ " "بينما تستطيع CW<\\*(C`eval STRING\\*(C'> ذلك. ومع ذلك، فإنها تتشابه في أنها " "تعيد تحليل الملف في كل مرة تستدعيها فيها، لذا فمن المحتمل أنك لا تريد القيام " "بذلك داخل حلقة." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Using CW<\\*(C`do\\*(C'> with a relative path (except for I<./> and I<../>), " "like" msgstr "استخدام CW<\\*(C`do\\*(C'> مع مسار نسبي (باستثناء I<./> و I<../>)، مثل" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "\\& do \\*(Aqfoo/stat.pl\\*(Aq;\n" msgstr "\\& do \\*(Aqfoo/stat.pl\\*(Aq;\n" #. type: Plain text #: debian-trixie debian-unstable msgid "" "will search the CW<@INC> directories, and update \\&CW<%INC> if the file is " "found. See \"@INC\" in perlvar and \"%INC\" in perlvar for these variables. " "In particular, note that whilst historically CW<@INC> contained '.' (the " "current directory) making these two cases equivalent, that is no longer " "necessarily the case, as '.' is not included in CW<@INC> by default in perl " "versions 5.26.0 onwards. Instead, perl will now warn:" msgstr "" "سيبحث في أدلة CW<@INC>، ويحدث \\&CW<%INC> إذا وُجد الملف. انظر \"@INC\" في " "perlvar و \"%INC\" في perlvar لهذه المتغيرات. وبشكل خاص، لاحظ أنه بينما كانت " "CW<@INC> تاريخياً تحتوي على '.' (الدليل الحالي) مما جعل هاتين الحالتين " "متكافئتين، لم يعد هذا هو الحال بالضرورة، حيث لا تُدرج '.' في CW<@INC> " "افتراضياً في إصدارات Perl 5.26.0 وما بعدها. بدلاً من ذلك، ستحذر بيرل الآن:" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "" "\\& do \"stat.pl\" failed, \\*(Aq.\\*(Aq is no longer in @INC;\n" "\\& did you mean do \"./stat.pl\"?\n" msgstr "" "\\& do \"stat.pl\" failed, \\*(Aq.\\*(Aq is no longer in @INC;\n" "\\& did you mean do \"./stat.pl\"?\n" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "If CW<\\*(C`do\\*(C'> can read the file but cannot compile it, it returns " "CW<\\*(C`undef\\*(C'> and sets an error message in \\&CW<$@>. If " "CW<\\*(C`do\\*(C'> cannot read the file, it returns undef and sets CW<$!> to " "the error. Always check \\&CW<$@> first, as compilation could fail in a way " "that also sets CW<$!>. If the file is successfully compiled, " "\\&CW<\\*(C`do\\*(C'> returns the value of the last expression evaluated." msgstr "" "إذا تمكنت CW<\\*(C`do\\*(C'> من قراءة الملف ولكن لم تتمكن من تصريفه، فإنها " "تعيد CW<\\*(C`undef\\*(C'> وتضبط رسالة خطأ في \\&CW<$@>. إذا لم تتمكن " "CW<\\*(C`do\\*(C'> من قراءة الملف، فإنها تعيد undef وتضبط CW<$!> على الخطأ. " "افحص دائماً \\&CW<$@> أولاً، لأن التصريف قد يفشل بطريقة تضبط أيضًا CW<$!>." " إذا " "صُرّف الملف بنجاح، تعيد \\&CW<\\*(C`do\\*(C'> قيمة آخر تعبير تمت معالجته." #. type: Plain text #: debian-trixie debian-unstable msgid "" "Inclusion of library modules is better done with the \\&CW<\\*(C`use\\*(C'> " "and CW<\\*(C`require\\*(C'> operators, which also do automatic error " "checking and raise an exception if there's a problem." msgstr "" "من الأفضل تضمين وحدات المكتبة باستخدام عاملي \\&CW<\\*(C`use\\*(C'> و " "CW<\\*(C`require\\*(C'>، اللذين يقومان أيضًا بفحص تلقائي للأخطاء ويثيران " "استثناءً إذا كانت هناك مشكلة." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "You might like to use CW<\\*(C`do\\*(C'> to read in a program configuration " "file. Manual error checking can be done this way:" msgstr "" "قد ترغب في استخدام CW<\\*(C`do\\*(C'> لقراءة ملف تهيئة البرنامج. يمكن إجراء " "فحص يدوي للأخطاء بهذه الطريقة:" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "" "\\& # Read in config files: system first, then user.\n" "\\& # Beware of using relative pathnames here.\n" "\\& for $file (\"/share/prog/defaults.rc\",\n" "\\& \"$ENV{HOME}/.someprogrc\")\n" "\\& {\n" "\\& unless ($return = do $file) {\n" "\\& warn \"couldn\\*(Aqt parse $file: $@\" if $@;\n" "\\& warn \"couldn\\*(Aqt do $file: $!\" unless defined" " $return;\n" "\\& warn \"couldn\\*(Aqt run $file\" unless $return;\n" "\\& }\n" "\\& }\n" msgstr "" "\\& # Read in config files: system first, then user.\n" "\\& # Beware of using relative pathnames here.\n" "\\& for $file (\"/share/prog/defaults.rc\",\n" "\\& \"$ENV{HOME}/.someprogrc\")\n" "\\& {\n" "\\& unless ($return = do $file) {\n" "\\& warn \"couldn\\*(Aqt parse $file: $@\" if $@;\n" "\\& warn \"couldn\\*(Aqt do $file: $!\" unless defined" " $return;\n" "\\& warn \"couldn\\*(Aqt run $file\" unless $return;\n" "\\& }\n" "\\& }\n" #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "dump LABEL" msgstr "dump LABEL" #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "dump core undump" msgstr "dump core undump" #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "dump EXPR" msgstr "dump EXPR" #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "dump" msgstr "dump" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "This function causes an immediate core dump. See also the B<-u> command-" "line switch in perlrun, which does the same thing. Primarily this is so " "that you can use the B program (not supplied) to turn your core dump " "into an executable binary after having initialized all your variables at the " "beginning of the program. When the new binary is executed it will begin by " "executing a CW<\\*(C`goto LABEL\\*(C'> (with all the restrictions that " "CW<\\*(C`goto\\*(C'> suffers). Think of it as a goto with an intervening " "core dump and reincarnation. If CW<\\*(C`LABEL\\*(C'> is omitted, restarts " "the program from the top. The \\&CW<\\*(C`dump EXPR\\*(C'> form, available " "starting in Perl 5.18.0, allows a name to be computed at run time, being " "otherwise identical to CW<\\*(C`dump LABEL\\*(C'>." msgstr "" "تؤدي هذه الدالة إلى تفريغ الذاكرة (core dump) فوراً. انظر أيضًا مفتاح سطر " "الأوامر B<-u> في perlrun، الذي يفعل الشيء نفسه. القصد الرئيس من ذلك هو أن " "تتمكن من استخدام برنامج B (غير مرفق) لتحويل تفريغ الذاكرة إلى ملف " "ثنائي قابل للتنفيذ بعد تهيئة جميع متغيراتك في بداية البرنامج. عندما يُنفذ " "الملف الثنائي الجديد، سيبدأ بتنفيذ CW<\\*(C`goto LABEL\\*(C'> (مع جميع " "القيود التي تعاني منها CW<\\*(C`goto\\*(C'>). فكر في الأمر على أنه goto مع " "تفريغ ذاكرة وتقمص (reincarnation) متدخلين. إذا حُذف الـ " "CW<\\*(C`LABEL\\*(C'>، فسيُعاد تشغيل البرنامج من البداية. يسمح شكل " "\\&CW<\\*(C`dump EXPR\\*(C'>، المتاح بدءاً من الإصدار 5.18.0 من Perl، بحساب " "اسم في وقت التشغيل، وهو مطابق لـ CW<\\*(C`dump LABEL\\*(C'> فيما عدا ذلك." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "\\&B: Any files opened at the time of the dump will I be open " "any more when the program is reincarnated, with possible resulting confusion " "by Perl." msgstr "" "\\&B<تحذير>: أي ملفات كانت مفتوحة في وقت التفريغ I<لن> تظل مفتوحة عندما " "يُتقمص البرنامج، مما قد يؤدي إلى ارتباك في بيرل." #. type: Plain text #: debian-trixie debian-unstable msgid "" "This function is now largely obsolete, mostly because it's very hard to " "convert a core file into an executable. As of Perl 5.30, it must be invoked " "as CW." msgstr "" "هذه الدالة أصبحت الآن مهجورة إلى حد كبير، ويرجع ذلك في الغالب إلى صعوبة " "تحويل ملف تفريغ (core file) إلى ملف قابل للتنفيذ. بدءاً من الإصدار 5.30 من " "بيرل، يجب استدعاؤها بصيغة CW." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Unlike most named operators, this has the same precedence as assignment. It " "is also exempt from the looks-like-a-function rule, so \\&CW<\\*(C`dump " "(\"foo\").\"bar\"\\*(C'> will cause \"bar\" to be part of the argument to " "\\&CW<\\*(C`dump\\*(C'>." msgstr "" "على عكس معظم العوامل المسماة، فإن لهذا العامل نفس أسبقية الإسناد. وهو معفى " "أيضًا من قاعدة \"يبدو وكأنه دالة\"، لذا فإن \\&CW<\\*(C`dump (\"foo\")." "\"bar\"\\*(C'> ستجعل \"bar\" جزءاً من المعطى لـ \\&CW<\\*(C`dump\\*(C'>." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "Portability issues: \"dump\" in perlport." msgstr "قضايا النقل: \"dump\" في perlport." #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "each HASH" msgstr "each HASH" #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "each hash, iterator" msgstr "each hash, iterator" #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "each ARRAY" msgstr "each ARRAY" #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "array, iterator" msgstr "array, iterator" #. type: Plain text #: debian-trixie debian-unstable msgid "" "When called on a hash in list context, returns a 2-element list consisting " "of the key and value for the next element of a hash. In Perl 5.12 and later " "only, it will also return the index and value for the next element of an " "array so that you can iterate over it; older Perls consider this a syntax " "error. When called in scalar context, returns only the key (not the value) " "in a hash, or the index in an array." msgstr "" "عند استدعائها على هاش في سياق قائمة، فإنها تعيد قائمة من عنصرين تتكون من " "المفتاح والقيمة للعنصر التالي في الهاش. في بيرل 5.12 وما بعدها فقط، ستعيد " "أيضًا الفهرس والقيمة للعنصر التالي في مصفوفة بحيث يمكنك التكرار عليها؛ أما في " "إصدارات بيرل الأقدم فيُعتبر هذا خطأ في الصياغة. عند استدعائها في سياق سلمي، " "فإنها تعيد المفتاح فقط (ليس القيمة) في الهاش، أو الفهرس في المصفوفة." #. type: Plain text #: debian-trixie debian-unstable msgid "" "Hash entries are returned in an apparently random order. The actual random " "order is specific to a given hash; the exact same series of operations on " "two hashes may result in a different order for each hash. Any insertion " "into the hash may change the order, as will any deletion, with the exception " "that the most recent key returned by CW<\\*(C`each\\*(C'> or " "\\&CW<\\*(C`keys\\*(C'> may be deleted without changing the order. So long " "as a given hash is unmodified you may rely on \\&CW<\\*(C`keys\\*(C'>, " "CW<\\*(C`values\\*(C'> and \\&CW<\\*(C`each\\*(C'> to repeatedly return the " "same order as each other. See \"Algorithmic Complexity Attacks\" in perlsec " "for details on why hash order is randomized. Aside from the guarantees " "provided here the exact details of Perl's hash algorithm and the hash " "traversal order are subject to change in any release of Perl." msgstr "" "تُعاد إدخالات الهاش بترتيب يبدو عشوائياً. الترتيب العشوائي الفعلي خاص بهاش " "معين؛ نفس السلسلة من العمليات على هاشين قد تؤدي إلى ترتيب مختلف لكل منهما. " "أي إدخال في الهاش قد يغير الترتيب، كما يفعل أي حذف، باستثناء أن المفتاح " "الأخير الذي أعادته CW<\\*(C`each\\*(C'> أو \\&CW<\\*(C`keys\\*(C'> يمكن حذفه " "دون تغيير الترتيب. طالما لم يُعدل الهاش، يمكنك الاعتماد على " "\\&CW<\\*(C`keys\\*(C'> و CW<\\*(C`values\\*(C'> و \\&CW<\\*(C`each\\*(C'> " "لإعادة نفس الترتيب بشكل متكرر كما يفعل بعضهم البعض. انظر \"Algorithmic " "Complexity Attacks\" في perlsec للحصول على تفاصيل حول سبب عشوائية ترتيب " "الهاش. وبصرف النظر عن الضمانات المقدمة هنا، فإن التفاصيل الدقيقة لخوارزمية " "الهاش وترتيب التنقل فيها تخضع للتغيير في أي إصدار من بيرل." #. type: Plain text #: debian-trixie debian-unstable msgid "" "After CW<\\*(C`each\\*(C'> has returned all entries from the hash or array, " "the next call to CW<\\*(C`each\\*(C'> returns the empty list in list context " "and CW<\\*(C`undef\\*(C'> in scalar context; the next call following I " "one restarts iteration. Each hash or array has its own internal iterator, " "accessed by CW<\\*(C`each\\*(C'>, \\&CW<\\*(C`keys\\*(C'>, and " "CW<\\*(C`values\\*(C'>. The iterator is implicitly reset when " "CW<\\*(C`each\\*(C'> has reached the end as just described; it can be " "explicitly reset by calling CW<\\*(C`keys\\*(C'> or CW<\\*(C`values\\*(C'> " "on the hash or array, or by referencing the hash (but not array) in list " "context. If you add or delete a hash's elements while iterating over it, " "the effect on the iterator is unspecified; for example, entries may be " "skipped or duplicated--so don't do that. Exception: It is always safe to " "delete the item most recently returned by CW<\\*(C`each\\*(C'>, so the " "following code works properly:" msgstr "" "بعد أن تعيد CW<\\*(C`each\\*(C'> جميع الإدخالات من الهاش أو المصفوفة، فإن " "الاستدعاء التالي لـ CW<\\*(C`each\\*(C'> يعيد القائمة الفارغة في سياق " "القائمة و CW<\\*(C`undef\\*(C'> في سياق سلمي؛ الاستدعاء التالي I<لذلك> يعيد " "تشغيل التكرار. لكل هاش أو مصفوفة مكرر داخلي خاص به، يُوصل إليه بواسطة " "CW<\\*(C`each\\*(C'> و \\&CW<\\*(C`keys\\*(C'> و CW<\\*(C`values\\*(C'>. " "يُعاد ضبط المكرر ضمنياً عندما تصل CW<\\*(C`each\\*(C'> إلى النهاية كما وُصف؛ " "يمكن إعادة ضبطه صراحةً باستدعاء CW<\\*(C`keys\\*(C'> أو " "CW<\\*(C`values\\*(C'> على الهاش أو المصفوفة، أو بالإشارة إلى الهاش (وليس " "المصفوفة) في سياق قائمة. إذا أضفت أو حذفت عناصر من الهاش أثناء التكرار عليه، " "فإن التأثير على المكرر غير محدد؛ على سبيل المثال، قد تُتخطى إدخالات أو تتكرر " "- لذا لا تفعل ذلك. استثناء: من الآمن دائماً حذف البند الذي أعادته " "CW<\\*(C`each\\*(C'> مؤخراً، لذا فإن الكود التالي يعمل بشكل صحيح:" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "" "\\& while (my ($key, $value) = each %hash) {\n" "\\& print $key, \"\\en\";\n" "\\& delete $hash{$key}; # This is safe\n" "\\& }\n" msgstr "" "\\& while (my ($key, $value) = each %hash) {\n" "\\& print $key, \"\\en\";\n" "\\& delete $hash{$key}; # This is safe\n" "\\& }\n" #. type: Plain text #: debian-trixie debian-unstable msgid "" "Tied hashes may have a different ordering behaviour to perl's hash " "implementation." msgstr "" "قد يكون للهاشات المربوطة (Tied hashes) سلوك ترتيب مختلف عن تطبيق الهاش في " "Perl." #. type: Plain text #: debian-trixie debian-unstable msgid "" "The iterator used by CW<\\*(C`each\\*(C'> is attached to the hash or array, " "and is shared between all iteration operations applied to the same hash or " "array. Thus all uses of CW<\\*(C`each\\*(C'> on a single hash or array " "advance the same iterator location. All uses of CW<\\*(C`each\\*(C'> are " "also subject to having the iterator reset by any use of CW<\\*(C`keys\\*(C'> " "or CW<\\*(C`values\\*(C'> on the same hash or array, or by the hash (but not " "array) being referenced in list context. This makes CW<\\*(C`each\\*(C'>-" "based loops quite fragile: it is easy to arrive at such a loop with the " "iterator already part way through the object, or to accidentally clobber the " "iterator state during execution of the loop body. It's easy enough to " "explicitly reset the iterator before starting a loop, but there is no way to " "insulate the iterator state used by a loop from the iterator state used by " "anything else that might execute during the loop body. To avoid these " "problems, use a CW<\\*(C`foreach\\*(C'> loop rather than " "\\&CW<\\*(C`while\\*(C'>-CW<\\*(C`each\\*(C'>." msgstr "" "المكرر المستخدم بواسطة CW<\\*(C`each\\*(C'> ملحق بالهاش أو المصفوفة، ويُشارك " "بين جميع عمليات التكرار المطبقة على نفس الهاش أو المصفوفة. وبالتالي فإن جميع " "استخدامات CW<\\*(C`each\\*(C'> على هاش أو مصفوفة واحدة تقدم موقع المكرر " "نفسه. تخضع جميع استخدامات CW<\\*(C`each\\*(C'> أيضًا لإعادة ضبط المكرر بواسطة " "أي استخدام لـ CW<\\*(C`keys\\*(C'> أو CW<\\*(C`values\\*(C'> على نفس الهاش " "أو المصفوفة، أو عن طريق الإشارة إلى الهاش (وليس المصفوفة) في سياق قائمة. " "وهذا يجعل الحلقات المعتمدة على CW<\\*(C`each\\*(C'> هشة للغاية: فمن السهل " "الوصول إلى مثل هذه الحلقة والمكرر قد قطع بالفعل جزءاً من الكائن، أو تخريب " "حالة المكرر عن طريق الخطأ أثناء تنفيذ جسم الحلقة. من السهل جداً إعادة ضبط " "المكرر صراحةً قبل بدء الحلقة، ولكن لا توجد طريقة لعزل حالة المكرر المستخدمة " "بواسطة الحلقة عن حالة المكرر المستخدمة بواسطة أي شيء آخر قد يُنفذ أثناء جسم " "الحلقة. لتجنب هذه المشاكل، استخدم حلقة CW<\\*(C`foreach\\*(C'> بدلاً من " "\\&CW<\\*(C`while\\*(C'>-CW<\\*(C`each\\*(C'>." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "This extends to using CW<\\*(C`each\\*(C'> on the result of an anonymous " "hash or array constructor. A new underlying array or hash is created each " "time so each will always start iterating from scratch, eg:" msgstr "" "يمتد هذا إلى استخدام CW<\\*(C`each\\*(C'> على نتيجة منشئ هاش أو مصفوفة " "مجهول. تُنشأ مصفوفة أو هاش أساسي جديد في كل مرة بحيث تبدأ each دائماً التكرار " "من الصفر، على سبيل المثال:" #. type: Plain text #: debian-trixie debian-unstable #, no-wrap msgid "" "\\& # loops forever\n" "\\& while (my ($key, $value) = each @{ +{ a =E 1 } }) {\n" "\\& print \"$key=$value\\en\";\n" "\\& }\n" msgstr "" "\\& # loops forever\n" "\\& while (my ($key, $value) = each @{ +{ a =E 1 } }) {\n" "\\& print \"$key=$value\\en\";\n" "\\& }\n" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "This prints out your environment like the B\\|(1) program, but in " "a different order:" msgstr "يقوم هذا بطباعة بيئتك مثل برنامج B\\|(1)، ولكن بترتيب مختلف:" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "" "\\& while (my ($key,$value) = each %ENV) {\n" "\\& print \"$key=$value\\en\";\n" "\\& }\n" msgstr "" "\\& while (my ($key,$value) = each %ENV) {\n" "\\& print \"$key=$value\\en\";\n" "\\& }\n" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Starting with Perl 5.14, an experimental feature allowed " "\\&CW<\\*(C`each\\*(C'> to take a scalar expression. This experiment has " "been deemed unsuccessful, and was removed as of Perl 5.24." msgstr "" "بدءاً من الإصدار 5.14 من Perl، سمحت ميزة تجريبية لـ \\&CW<\\*(C`each\\*(C'> " "بأخذ تعبير سلمي. اعتُبرت هذه التجربة غير ناجحة، وأزيلت اعتباراً من الإصدار " "5.24 من Perl." #. type: Plain text #: debian-trixie debian-unstable msgid "" "As of Perl 5.18 you can use a bare CW<\\*(C`each\\*(C'> in a " "CW<\\*(C`while\\*(C'> loop, which will set CW<$_> on every iteration. If " "either an CW<\\*(C`each\\*(C'> expression or an explicit assignment of an " "CW<\\*(C`each\\*(C'> expression to a scalar is used as a " "CW<\\*(C`while\\*(C'>/CW<\\*(C`for\\*(C'> condition, then the condition " "actually tests for definedness of the expression's value, not for its " "regular truth value." msgstr "" "اعتباراً من الإصدار 5.18 من Perl، يمكنك استخدام CW<\\*(C`each\\*(C'> مجردة في " "حلقة CW<\\*(C`while\\*(C'>، والتي ستضبط CW<$_> في كل تكرار. إذا استُخدم تعبير " "CW<\\*(C`each\\*(C'> أو إسناد صريح لتعبير CW<\\*(C`each\\*(C'> إلى قيمة " "سلمية كشرط لـ CW<\\*(C`while\\*(C'>/CW<\\*(C`for\\*(C'>، فإن الشرط يختبر في " "الواقع تعريف قيمة التعبير، وليس قيمته المنطقية العادية." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "" "\\& while (each %ENV) {\n" "\\& print \"$_=$ENV{$_}\\en\";\n" "\\& }\n" msgstr "" "\\& while (each %ENV) {\n" "\\& print \"$_=$ENV{$_}\\en\";\n" "\\& }\n" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "To avoid confusing would-be users of your code who are running earlier " "versions of Perl with mysterious syntax errors, put this sort of thing at " "the top of your file to signal that your code will work I on Perls of " "a recent vintage:" msgstr "" "لتجنب إرباك المستخدمين المحتملين لكودك الذين يشغلون إصدارات أقدم من بيرل " "بأخطاء صياغة غامضة، ضع هذا النوع من الأشياء في أعلى ملفك للإشارة إلى أن كودك " "سيعمل I<فقط> على إصدارات بيرل الحديثة:" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "" "\\& use v5.12; # so keys/values/each work on arrays\n" "\\& use v5.18; # so each assigns to $_ in a lone while test\n" msgstr "" "\\& use v5.12; # so keys/values/each work on arrays\n" "\\& use v5.18; # so each assigns to $_ in a lone while test\n" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "See also CW<\\*(C`keys\\*(C'>, CW<\\*(C`values\\*(C'>, and " "\\&CW<\\*(C`sort\\*(C'>." msgstr "" "انظر أيضًا CW<\\*(C`keys\\*(C'>، و CW<\\*(C`values\\*(C'>، و " "\\&CW<\\*(C`sort\\*(C'>." #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "eof FILEHANDLE" msgstr "eof FILEHANDLE" #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "eof end of file end-of-file" msgstr "eof end of file end-of-file" #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "eof ()" msgstr "eof ()" #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "eof" msgstr "eof" #. type: Plain text #: debian-trixie debian-unstable msgid "" "Returns 1 if the next read on FILEHANDLE will return end of file I if " "FILEHANDLE is not open. FILEHANDLE may be an expression whose value gives " "the real filehandle. (Note that this function actually reads a character " "and then CW<\\*(C`ungetc\\*(C'>s it, so isn't useful in an interactive " "context.) Do not read from a terminal file (or call \\&CW " "on it) after end-of-file is reached. File types such as terminals may lose " "the end-of-file condition if you do." msgstr "" "تعيد 1 إذا كانت القراءة التالية على FILEHANDLE ستعيد نهاية الملف I<أو> إذا " "كان FILEHANDLE غير مفتوح. قد يكون FILEHANDLE تعبيراً تعطي قيمته مقبض الملف " "الحقيقي. (لاحظ أن هذه الدالة تقرأ حرفاً بالفعل ثم تقوم بـ " "CW<\\*(C`ungetc\\*(C'> له، لذا فهي ليست مفيدة في سياق تفاعلي). لا تقرأ من " "ملف طرفية (أو تستدعِ \\&CW عليه) بعد الوصول إلى نهاية الملف. " "قد تفقد أنواع الملفات مثل الطرفيات حالة نهاية الملف إذا فعلت ذلك." #. type: Plain text #: debian-trixie debian-unstable msgid "" "An CW<\\*(C`eof\\*(C'> without an argument uses the last file read. Using " "CW with empty parentheses is different. It refers to the pseudo file " "formed from the files listed on the command line and accessed via the " "CW<\\*(C`EE\\*(C'> operator. Since \\&CW<\\*(C`EE\\*(C'> " "isn't explicitly opened, as a normal filehandle is, an \\&CW before " "CW<\\*(C`EE\\*(C'> has been used will cause \\&CW<@ARGV> to be " "examined to determine if input is available. Similarly, an CW after " "CW<\\*(C`EE\\*(C'> has returned end-of-file will assume you are " "processing another \\&CW<@ARGV> list, and if you haven't set \\&CW<@ARGV>, " "will read input from CW<\\*(C`STDIN\\*(C'>; see \"I/O Operators\" in perlop." msgstr "" "استخدام CW<\\*(C`eof\\*(C'> بدون معطى يستخدم آخر ملف قُرئ. استخدام CW " "مع أقواس فارغة مختلف؛ حيث يشير إلى الملف الوهمي المكون من الملفات المدرجة في " "سطر الأوامر والتي يُوصل إليها عبر عامل CW<\\*(C`EE\\*(C'>. بما أن " "\\&CW<\\*(C`EE\\*(C'> لا يُفتح صراحةً كما يُفتح مقبض الملف العادي،" " فإن " "\\&CW قبل استخدام CW<\\*(C`EE\\*(C'> ستؤدي إلى فحص " "\\&CW<@ARGV> لتحديد ما إذا كان الإدخال متاحاً. وبالمثل، فإن CW بعد أن " "يعيد CW<\\*(C`EE\\*(C'> نهاية الملف ستفترض أنك تعالج قائمة " "\\&CW<@ARGV> أخرى، وإذا لم تكن قد ضبطت \\&CW<@ARGV>، فستقرأ الإدخال من " "CW<\\*(C`STDIN\\*(C'>؛ انظر \"I/O Operators\" في perlop." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "In a CW<\\*(C`while (EE)\\*(C'> loop, CW<\\*(C`eof\\*(C'> or " "CW can be used to detect the end of each file, whereas " "\\&CW will detect the end of the very last file only. Examples:" msgstr "" "في حلقة CW<\\*(C`while (EE)\\*(C'>، يمكن استخدام CW<\\*(C`eof\\*(C'> " "أو CW لاكتشاف نهاية كل ملف، بينما ستكتشف \\&CW نهاية الملف " "الأخير فقط. أمثلة:" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "" "\\& # reset line numbering on each input file\n" "\\& while (EE) {\n" "\\& next if /^\\es*#/; # skip comments\n" "\\& print \"$.\\et$_\";\n" "\\& } continue {\n" "\\& close ARGV if eof; # Not eof()!\n" "\\& }\n" "\\&\n" "\\& # insert dashes just before last line of last file\n" "\\& while (EE) {\n" "\\& if (eof()) { # check for end of last file\n" "\\& print \"--------------\\en\";\n" "\\& }\n" "\\& print;\n" "\\& last if eof(); # needed if we\\*(Aqre reading from a terminal\n" "\\& }\n" msgstr "" "\\& # reset line numbering on each input file\n" "\\& while (EE) {\n" "\\& next if /^\\es*#/; # skip comments\n" "\\& print \"$.\\et$_\";\n" "\\& } continue {\n" "\\& close ARGV if eof; # Not eof()!\n" "\\& }\n" "\\&\n" "\\& # insert dashes just before last line of last file\n" "\\& while (EE) {\n" "\\& if (eof()) { # check for end of last file\n" "\\& print \"--------------\\en\";\n" "\\& }\n" "\\& print;\n" "\\& last if eof(); # needed if we\\*(Aqre reading from a terminal\n" "\\& }\n" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Practical hint: you almost never need to use CW<\\*(C`eof\\*(C'> in Perl, " "because the input operators typically return CW<\\*(C`undef\\*(C'> when they " "run out of data or encounter an error." msgstr "" "تلميح عملي: لا تحتاج تقريباً أبداً إلى استخدام CW<\\*(C`eof\\*(C'> في Perl، " "لأن عوامل الإدخال عادةً ما تعيد CW<\\*(C`undef\\*(C'> عندما تنفد البيانات أو " "تواجه خطأ." #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "eval EXPR" msgstr "eval EXPR" #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "" "eval try catch evaluate parse execute error, handling exception, handling" msgstr "" "eval try catch evaluate parse execute error, handling exception, handling" #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "eval BLOCK" msgstr "eval BLOCK" #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "eval" msgstr "eval" #. type: Plain text #: debian-trixie debian-unstable msgid "" "\\&CW<\\*(C`eval\\*(C'> in all its forms is used to execute a little Perl " "program, trapping any errors encountered so they don't crash the calling " "program." msgstr "" "تُستخدم \\&CW<\\*(C`eval\\*(C'> بكل أشكالها لتنفيذ برنامج بيرل صغير، مع صيد " "أي أخطاء تظهر حتى لا يتوقف برنامج المستدعِي عن العمل." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Plain CW<\\*(C`eval\\*(C'> with no argument is just CW<\\*(C`eval " "EXPR\\*(C'>, where the expression is understood to be contained in CW<$_>. " "Thus there are only two real CW<\\*(C`eval\\*(C'> forms; the one with an " "EXPR is often called \"string eval\". In a string eval, the value of the " "expression (which is itself determined within scalar context) is first " "parsed, and if there were no errors, executed as a block within the lexical " "context of the current Perl program. This form is typically used to delay " "parsing and subsequent execution of the text of EXPR until run time. Note " "that the value is parsed every time the CW<\\*(C`eval\\*(C'> executes." msgstr "" "إن استخدام CW<\\*(C`eval\\*(C'> المجردة بلا معطيات هو مجرد CW<\\*(C`eval " "EXPR\\*(C'>، حيث يُفهم أن التعبير محتوى في CW<$_>. وبذلك لا يوجد سوى شكلين " "حقيقيين لـ CW<\\*(C`eval\\*(C'>؛ يُسمى الشكل الذي يحتوي على EXPR غالباً " "\"string eval\". في تقييم السلسلة النصية، تُحلل قيمة التعبير (التي تُحدد ضمن " "سياق سلمي) أولاً، وإذا لم توجد أخطاء، تُنفذ ككتلة برمجية داخل السياق" " المفرداتي " "لبرنامج بيرل الحالي. يُستخدم هذا الشكل عادةً لتأخير التحليل والتنفيذ اللاحق " "لنص EXPR حتى وقت التشغيل. لاحظ أن القيمة تُحلل في كل مرة تُنفذ فيها " "CW<\\*(C`eval\\*(C'>." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "The other form is called \"block eval\". It is less general than string " "eval, but the code within the BLOCK is parsed only once (at the same time " "the code surrounding the CW<\\*(C`eval\\*(C'> itself was parsed) and " "executed within the context of the current Perl program. This form is " "typically used to trap exceptions more efficiently than the first, while " "also providing the benefit of checking the code within BLOCK at compile " "time. BLOCK is parsed and compiled just once. Since errors are trapped, it " "often is used to check if a given feature is available." msgstr "" "يُسمى الشكل الآخر \"block eval\". وهو أقل عمومية من تقييم السلسلة، لكن " "الشيفرة داخل BLOCK تُحلل مرة واحدة فقط (في نفس الوقت الذي حُللت فيه الشيفرة " "المحيطة بـ CW<\\*(C`eval\\*(C'> نفسها) وتُنفذ داخل سياق برنامج بيرل الحالي. " "يُستخدم هذا الشكل عادةً لصيد الاستثناءات بكفاءة أكبر من الأول، مع توفير ميزة " "التحقق من الشيفرة داخل BLOCK في وقت التصريف. تُحلل BLOCK وتُصرف مرة واحدة" " فقط. " "وبما أن الأخطاء تُصاد، فغالباً ما تُستخدم للتحقق مما إذا كانت ميزة معينة" " متاحة." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "In both forms, the value returned is the value of the last expression " "evaluated inside the mini-program; a return statement may also be used, just " "as with subroutines. The expression providing the return value is evaluated " "in void, scalar, or list context, depending on the context of the " "\\&CW<\\*(C`eval\\*(C'> itself. See CW<\\*(C`wantarray\\*(C'> for more on " "how the evaluation context can be determined." msgstr "" "في كلا الشكلين، تكون القيمة المعادة هي قيمة آخر تعبير قُيم داخل البرنامج " "الصغير؛ ويمكن أيضًا استخدام جملة return، تماماً كما في الدوال الفرعية. يُقيم " "التعبير الذي يقدم القيمة المعادة في سياق فارغ، أو سلمي، أو قائمة، اعتماداً " "على سياق \\&CW<\\*(C`eval\\*(C'> نفسها. راجع CW<\\*(C`wantarray\\*(C'> " "للمزيد حول كيفية تحديد سياق التقييم." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "If there is a syntax error or runtime error, or a CW<\\*(C`die\\*(C'> " "statement is executed, CW<\\*(C`eval\\*(C'> returns \\&CW<\\*(C`undef\\*(C'> " "in scalar context, or an empty list in list context, and CW<$@> is set to " "the error message. (Prior to 5.16, a bug caused CW<\\*(C`undef\\*(C'> to be " "returned in list context for syntax errors, but not for runtime errors.) If " "there was no error, CW<$@> is set to the empty string. A control flow " "operator like CW<\\*(C`last\\*(C'> or CW<\\*(C`goto\\*(C'> can bypass the " "setting of CW<$@>. Beware that using \\&CW<\\*(C`eval\\*(C'> neither " "silences Perl from printing warnings to STDERR, nor does it stuff the text " "of warning messages into \\&CW<$@>. To do either of those, you have to use " "the \\&CW<$SIG{_\\|_WARN_\\|_}> facility, or turn off warnings inside the " "BLOCK or EXPR using CW<\\*(C`no\\ warnings\\ \\*(Aqall\\*(Aq\\*(C'>. See " "\\&CW<\\*(C`warn\\*(C'>, perlvar, and warnings." msgstr "" "إذا وجد خطأ في بناء الجملة أو خطأ في وقت التشغيل، أو نُفذت جملة " "CW<\\*(C`die\\*(C'>، تعيد CW<\\*(C`eval\\*(C'> القيمة " "\\&CW<\\*(C`undef\\*(C'> في السياق السلمي، أو قائمة فارغة في سياق القائمة، " "وتُضبط CW<$@> على رسالة الخطأ. (قبل الإصدار 5.16، تسبب خطأ برمجبي في إعادة " "CW<\\*(C`undef\\*(C'> في سياق القائمة لأخطاء بناء الجملة، وليس لأخطاء وقت " "التشغيل). إذا لم يوجد خطأ، تُضبط CW<$@> على سلسلة فارغة. يمكن لعامل التحكم في " "التدفق مثل CW<\\*(C`last\\*(C'> أو CW<\\*(C`goto\\*(C'> تجاوز ضبط CW<$@>. " "احذر من أن استخدام \\&CW<\\*(C`eval\\*(C'> لا يمنع بيرل من طباعة التحذيرات " "إلى STDERR، ولا يضع نص رسائل التحذير داخل \\&CW<$@>. للقيام بأي منهما، يجب " "استخدام مرفق \\&CW<$SIG{_\\|_WARN_\\|_}>، أو إيقاف التحذيرات داخل BLOCK أو " "EXPR باستخدام CW<\\*(C`no\\ warnings\\ \\*(Aqall\\*(Aq\\*(C'>. راجع " "\\&CW<\\*(C`warn\\*(C'> و perlvar و warnings." #. type: Plain text #: debian-trixie debian-unstable msgid "" "Note that, because CW<\\*(C`eval\\*(C'> traps otherwise-fatal errors, it is " "useful for determining whether a particular feature (such as " "\\&CW<\\*(C`socket\\*(C'> or \\&CW<\\*(C`symlink\\*(C'>) is implemented. It " "is also Perl's exception-trapping mechanism, where the CW<\\*(C`die\\*(C'> " "operator is used to raise exceptions." msgstr "" "لاحظ أنه نظراً لأن CW<\\*(C`eval\\*(C'> تصيد الأخطاء التي تكون قاتلة في حالات " "أخرى، فهي مفيدة لتحديد ما إذا كانت ميزة معينة (مثل \\&CW<\\*(C`socket\\*(C'> " "أو \\&CW<\\*(C`symlink\\*(C'>) مطبقة. وهي أيضًا آلية صيد الاستثناءات في بيرل، " "حيث يُستخدم عامل CW<\\*(C`die\\*(C'> لرفع الاستثناءات." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Before Perl 5.14, the assignment to CW<$@> occurred before restoration of " "localized variables, which means that for your code to run on older " "versions, a temporary is required if you want to mask some, but not all " "errors:" msgstr "" "قبل الإصدار 5.14 من بيرل، كان التعيين لـ CW<$@> يحدث قبل استعادة المتغيرات " "المحلية، مما يعني أنه لكي تعمل شيفرتك على الإصدارات القديمة، يلزم وجود متغير " "مؤقت إذا كنت تريد إخفاء بعض الأخطاء وليس كلها:" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "" "\\& # alter $@ on nefarious repugnancy only\n" "\\& {\n" "\\& my $e;\n" "\\& {\n" "\\& local $@; # protect existing $@\n" "\\& eval { test_repugnancy() };\n" "\\& # $@ =~ /nefarious/ and die $@; # Perl 5.14 and higher only\n" "\\& $@ =~ /nefarious/ and $e = $@;\n" "\\& }\n" "\\& die $e if defined $e\n" "\\& }\n" msgstr "" "\\& # عدل $@ في حالة التنافر الشنيع فقط\n" "\\& {\n" "\\& my $e;\n" "\\& {\n" "\\& local $@; # احمِ $@ الموجودة\n" "\\& eval { test_repugnancy() };\n" "\\& # $@ =~ /nefarious/ and die $@; # لبيرل 5.14 وأعلى فقط\n" "\\& $@ =~ /nefarious/ and $e = $@;\n" "\\& }\n" "\\& die $e if defined $e\n" "\\& }\n" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "There are some different considerations for each form:" msgstr "توجد اعتبارات مختلفة لكل شكل:" #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "String eval" msgstr "تقييم السلسلة (String eval)" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Since the return value of EXPR is executed as a block within the lexical " "context of the current Perl program, any outer lexical variables are visible " "to it, and any package variable settings or subroutine and format " "definitions remain afterwards." msgstr "" "بما أن القيمة المعادة من EXPR تُنفذ ككتلة داخل السياق المفرداتي لبرنامج بيرل " "الحالي، فإن أي متغيرات مفرداتية خارجية تكون مرئية لها، وأي إعدادات لمتغيرات " "الحزمة أو تعريفات الدوال الفرعية والتنسيقات تبقى قائمة بعدها." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Note that when CW<\\*(C`BEGIN {}\\*(C'> blocks are embedded inside of an " "eval block the contents of the block will be executed immediately and before " "the rest of the eval code is executed. You can disable this entirely by" msgstr "" "لاحظ أنه عند تضمين كتل CW<\\*(C`BEGIN {}\\*(C'> داخل كتلة eval، فإن محتويات " "الكتلة ستُنفذ فوراً وقبل تنفيذ بقية شيفرة eval. يمكنك تعطيل هذا تماماً عن طريق" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "" "\\& local ${^MAX_NESTED_EVAL_BEGIN_BLOCKS} = 0;\n" "\\& eval $string;\n" msgstr "" "\\& local ${^MAX_NESTED_EVAL_BEGIN_BLOCKS} = 0;\n" "\\& eval $string;\n" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "which will cause any embedded CW<\\*(C`BEGIN\\*(C'> blocks in CW<$string> to " "throw an exception." msgstr "" "مما سيؤدي إلى رمي أي كتل CW<\\*(C`BEGIN\\*(C'> مضمنة في CW<$string> لاستثناء." #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "Under the \"unicode_eval\" feature" msgstr "تحت ميزة \"unicode_eval\"" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "If this feature is enabled (which is the default under a CW<\\*(C`use " "5.16\\*(C'> or higher declaration), Perl assumes that EXPR is a character " "string. Any CW<\\*(C`use\\ utf8\\*(C'> or CW<\\*(C`no\\ utf8\\*(C'> " "declarations within the string thus have no effect. Source filters are " "forbidden as well. (CW<\\*(C`unicode_strings\\*(C'>, however, can appear " "within the string.)" msgstr "" "إذا مُكنت هذه الميزة (وهو المبدئي تحت إعلان CW<\\*(C`use 5.16\\*(C'> أو " "أعلى)، تفترض بيرل أن EXPR هي سلسلة محارف. وبذلك لا يكون لأي إعلانات " "CW<\\*(C`use\\ utf8\\*(C'> أو CW<\\*(C`no\\ utf8\\*(C'> داخل السلسلة أي أثر. " "كما تمنع مرشحات المصدر أيضًا. (ومع ذلك، يمكن لـ " "CW<\\*(C`unicode_strings\\*(C'> الظهور داخل السلسلة)." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "See also the CW<\\*(C`evalbytes\\*(C'> operator, which works properly with " "source filters." msgstr "" "راجع أيضًا عامل CW<\\*(C`evalbytes\\*(C'>، الذي يعمل بشكل صحيح مع مرشحات " "المصدر." #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "Outside the \"unicode_eval\" feature" msgstr "خارج ميزة \"unicode_eval\"" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "In this case, the behavior is problematic and is not so easily described. " "Here are two bugs that cannot easily be fixed without breaking existing " "programs:" msgstr "" "في هذه الحالة، يكون السلوك إشكالياً ولا يمكن وصفه بسهولة. إليك خطأين برمجيين " "لا يمكن إصلاحهما بسهولة دون كسر البرامج الموجودة:" #. type: Plain text #: debian-trixie debian-unstable msgid "" "Perl's internal storage of EXPR affects the behavior of the executed code. " "For example:" msgstr "" "يؤثر تخزين بيرل الداخلي لـ EXPR على سلوك الشيفرة المنفذة. على سبيل المثال:" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "\\& my $v = eval \"use utf8; \\*(Aq$expr\\*(Aq\";\n" msgstr "\\& my $v = eval \"use utf8; \\*(Aq$expr\\*(Aq\";\n" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "If CW<$expr> is CW<\"\\exc4\\ex80\"> (U+0100 in UTF-8), then the value " "stored in CW<$v> will depend on whether Perl stores CW<$expr> " "\"upgraded\" (cf. utf8) or not:" msgstr "" "إذا كانت CW<$expr> هي CW<\"\\exc4\\ex80\"> (أي U+0100 في UTF-8)، فإن القيمة " "المخزنة في CW<$v> ستعتمد على ما إذا كانت بيرل تخزن CW<$expr> بوضع " "\"الترقية\" (راجع utf8) أم لا:" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "If upgraded, CW<$v> will be CW<\"\\exc4\\ex80\"> (i.e., the \\&CW<\\*(C`use " "utf8\\*(C'> has no effect.)" msgstr "" "إذا رُقيت، ستكون CW<$v> هي CW<\"\\exc4\\ex80\"> (أي أن \\&CW<\\*(C`use " "utf8\\*(C'> ليس له أثر)." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "If non-upgraded, CW<$v> will be CW<\"\\ex{100}\">." msgstr "إذا لم تُرَقَّ، ستكون CW<$v> هي CW<\"\\ex{100}\">." #. type: Plain text #: debian-trixie debian-unstable msgid "" "This is undesirable since being upgraded or not should not affect a string's " "behavior." msgstr "" "هذا غير مرغوب فيه لأن حالة الترقية من عدمها يجب ألا تؤثر على سلوك السلسلة " "النصية." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Source filters activated within CW<\\*(C`eval\\*(C'> leak out into whichever " "file scope is currently being compiled. To give an example with the CPAN " "module Semi::Semicolons:" msgstr "" "تتسرب مرشحات المصدر المفعلة داخل CW<\\*(C`eval\\*(C'> إلى أي نطاق ملف يُصرف " "حالياً. لإعطاء مثال مع وحدة CPAN المسماة Semi::Semicolons:" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "" "\\& BEGIN { eval \"use Semi::Semicolons; # not filtered\" }\n" "\\& # filtered here!\n" msgstr "" "\\& BEGIN { eval \"use Semi::Semicolons; # لا يرشح هنا\" }\n" "\\& # يرشح هنا!\n" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "\\&CW<\\*(C`evalbytes\\*(C'> fixes that to work the way one would expect:" msgstr "تصلح \\&CW<\\*(C`evalbytes\\*(C'> ذلك لتعمل بالطريقة المتوقعة:" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "" "\\& use feature \"evalbytes\";\n" "\\& BEGIN { evalbytes \"use Semi::Semicolons; # filtered\" }\n" "\\& # not filtered\n" msgstr "" "\\& use feature \"evalbytes\";\n" "\\& BEGIN { evalbytes \"use Semi::Semicolons; # مرشح\" }\n" "\\& # غير مرشح\n" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Problems can arise if the string expands a scalar containing a floating " "point number. That scalar can expand to letters, such as CW<\"NaN\"> or " "\\&CW<\"Infinity\">; or, within the scope of a CW<\\*(C`use locale\\*(C'>, " "the decimal point character may be something other than a dot (such as a " "comma). None of these are likely to parse as you are likely expecting." msgstr "" "قد تظهر مشكلات إذا وسعت السلسلة النصية متغيراً سلمياً يحتوي على رقم بفاصلة " "عائمة. يمكن لهذا السلمي أن يتوسع إلى أحرف، مثل CW<\"NaN\"> أو " "\\&CW<\"Infinity\">؛ أو، داخل نطاق CW<\\*(C`use locale\\*(C'>، قد يكون محرف " "الفاصلة العشرية شيئاً آخر غير النقطة (مثل الفاصلة). من غير المرجح أن يُحلل أي " "من هذه الحالات كما تتوقع." #. type: Plain text #: debian-trixie debian-unstable msgid "" "You should be especially careful to remember what's being looked at when:" msgstr "يجب أن تكون حذراً بشكل خاص لتذكر ما يُنظر إليه عندما يكون:" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "" "\\& eval $x; # CASE 1\n" "\\& eval \"$x\"; # CASE 2\n" "\\&\n" "\\& eval \\*(Aq$x\\*(Aq; # CASE 3\n" "\\& eval { $x }; # CASE 4\n" "\\&\n" "\\& eval \"\\e$$x++\"; # CASE 5\n" "\\& $$x++; # CASE 6\n" msgstr "" "\\& eval $x; # الحالة 1\n" "\\& eval \"$x\"; # الحالة 2\n" "\\&\n" "\\& eval \\*(Aq$x\\*(Aq; # الحالة 3\n" "\\& eval { $x }; # الحالة 4\n" "\\&\n" "\\& eval \"\\e$$x++\"; # الحالة 5\n" "\\& $$x++; # الحالة 6\n" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Cases 1 and 2 above behave identically: they run the code contained in the " "variable CW<$x>. (Although case 2 has misleading double quotes making the " "reader wonder what else might be happening (nothing is).) Cases 3 and 4 " "likewise behave in the same way: they run the code CW<\\*(Aq$x\\*(Aq>, which " "does nothing but return the value of CW<$x>. (Case 4 is preferred for " "purely visual reasons, but it also has the advantage of compiling at compile-" "time instead of at run-time.) Case 5 is a place where normally you I " "like to use double quotes, except that in this particular situation, you can " "just use symbolic references instead, as in case 6." msgstr "" "تعمل الحالتان 1 و 2 أعلاه بشكل متطابق: فهما تشغلان الشيفرة الموجودة في " "المتغير CW<$x>. (رغم أن الحالة 2 تحتوي على علامات اقتباس مزدوجة مضللة تجل " "القارئ يتساءل عما قد يحدث أيضًا (لا شيء يحدث)). وبالمثل، تعمل الحالتان 3 و 4 " "بنفس الطريقة: فهما تشغلان الشيفرة CW<\\*(Aq$x\\*(Aq>، والتي لا تفعل شيئاً سوى " "إعادة قيمة CW<$x>. (تُفضل الحالة 4 لأسباب بصرية بحتة، ولكن لها أيضًا ميزة " "التصريف في وقت التصريف بدلاً من وقت التشغيل). الحالة 5 هي مكان I<قد> ترغب فيه " "عادةً باستخدام علامات الاقتباس المزدوجة، باستثناء أنه في هذه الحالة بالذات، " "يمكنك فقط استخدام المراجع الرمزية بدلاً من ذلك، كما في الحالة 6." #. type: Plain text #: debian-trixie debian-unstable msgid "" "An CW<\\*(C`eval \\*(Aq\\*(Aq\\*(C'> executed within a subroutine defined in " "the CW<\\*(C`DB\\*(C'> package doesn't see the usual surrounding lexical " "scope, but rather the scope of the first non-DB piece of code that called " "it. You don't normally need to worry about this unless you are writing a " "Perl debugger." msgstr "" "إن CW<\\*(C`eval \\*(Aq\\*(Aq\\*(C'> المنفذة داخل دالة فرعية معرفة في حزمة " "CW<\\*(C`DB\\*(C'> لا ترى النطاق المفرداتي المحيط المعتاد، بل ترى نطاق أول " "قطعة شيفرة غير تابعة لـ DB استدعتها. لا تحتاج عادةً للقلق بشأن هذا ما لم تكن " "بصدد كتابة منقح لبيرل." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "The final semicolon, if any, may be omitted from the value of EXPR." msgstr "يمكن حذف الفاصلة المنقوطة النهائية، إن وجدت، من قيمة EXPR." #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "Block eval" msgstr "تقييم الكتلة (Block eval)" #. type: Plain text #: debian-trixie debian-unstable msgid "" "If the code to be executed doesn't vary, you may use the eval-BLOCK form to " "trap run-time errors without incurring the penalty of recompiling each " "time. The error, if any, is still returned in \\&CW<$@>. Examples:" msgstr "" "إذا كانت الشيفرة المطلوب تنفيذها لا تتغير، يمكنك استخدام شكل eval-BLOCK لصيد " "أخطاء وقت التشغيل دون تحمل عقوبة إعادة التصريف في كل مرة. سيظل الخطأ، إن " "وجد، يُعاد في \\&CW<$@>. أمثلة:" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "" "\\& # make divide-by-zero nonfatal\n" "\\& eval { $answer = $x / $y; }; warn $@ if $@;\n" "\\&\n" "\\& # same thing, but less efficient\n" "\\& eval \\*(Aq$answer = $x / $y\\*(Aq; warn $@ if $@;\n" "\\&\n" "\\& # a compile-time error\n" "\\& eval { $answer = }; # WRONG\n" "\\&\n" "\\& # a run-time error\n" "\\& eval \\*(Aq$answer =\\*(Aq; # sets $@\n" msgstr "" "\\& # اجعل القسمة على صفر غير قاتلة\n" "\\& eval { $answer = $x / $y; }; warn $@ if $@;\n" "\\&\n" "\\& # نفس الشيء، ولكن بكفاءة أقل\n" "\\& eval \\*(Aq$answer = $x / $y\\*(Aq; warn $@ if $@;\n" "\\&\n" "\\& # خطأ في وقت التصريف\n" "\\& eval { $answer = }; # خطأ\n" "\\&\n" "\\& # خطأ في وقت التشغيل\n" "\\& eval \\*(Aq$answer =\\*(Aq; # تضبط $@\n" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "If you want to trap errors when loading an XS module, some problems with the " "binary interface (such as Perl version skew) may be fatal even with " "\\&CW<\\*(C`eval\\*(C'> unless CW<$ENV{PERL_DL_NONLAZY}> is set. See " "perlrun." msgstr "" "إذا كنت تريد صيد الأخطاء عند تحميل وحدة XS، فقد تكون بعض المشكلات في الواجهة " "الثنائية (مثل تضارب إصدارات بيرل) قاتلة حتى مع استخدام " "\\&CW<\\*(C`eval\\*(C'> ما لم يُضبط CW<$ENV{PERL_DL_NONLAZY}>. راجع perlrun." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Using the CW<\\*(C`eval {}\\*(C'> form as an exception trap in libraries " "does have some issues. Due to the current arguably broken state of " "CW<\\*(C`_\\|_DIE_\\|_\\*(C'> hooks, you may wish not to trigger any " "CW<\\*(C`_\\|_DIE_\\|_\\*(C'> hooks that user code may have installed. You " "can use the CW<\\*(C`local $SIG{_\\|_DIE_\\|_}\\*(C'> construct for this " "purpose, as this example shows:" msgstr "" "إن استخدام شكل CW<\\*(C`eval {}\\*(C'> كمصيدة استثناءات في المكتبات له بعض " "المشكلات. نظراً للحالة المعطلة حالياً لخطافات CW<\\*(C`_\\|_DIE_\\|_\\*(C'>، " "قد ترغب في عدم إطلاق أي خطافات CW<\\*(C`_\\|_DIE_\\|_\\*(C'> قد تكون شيفرة " "المستخدم قد ثبتتها. يمكنك استخدام بنية CW<\\*(C`local $SIG{_\\|_DIE_\\|" "_}\\*(C'> لهذا الغرض، كما يوضح هذا المثال:" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "" "\\& # a private exception trap for divide-by-zero\n" "\\& eval { local $SIG{\\*(Aq_\\|_DIE_\\|_\\*(Aq}; $answer = $x / $y; };\n" "\\& warn $@ if $@;\n" msgstr "" "\\& # مصيدة استثناء خاصة للقسمة على صفر\n" "\\& eval { local $SIG{\\*(Aq_\\|_DIE_\\|_\\*(Aq}; $answer = $x / $y; };\n" "\\& warn $@ if $@;\n" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "This is especially significant, given that CW<\\*(C`_\\|_DIE_\\|_\\*(C'> " "hooks can call \\&CW<\\*(C`die\\*(C'> again, which has the effect of " "changing their error messages:" msgstr "" "هذا مهم بشكل خاص، نظراً لأن خطافات CW<\\*(C`_\\|_DIE_\\|_\\*(C'> يمكنها " "استدعاء \\&CW<\\*(C`die\\*(C'> مرة أخرى، مما يؤدي إلى تغيير رسائل الخطأ " "الخاصة بها:" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "" "\\& # _\\|_DIE_\\|_ hooks may modify error messages\n" "\\& {\n" "\\& local $SIG{\\*(Aq_\\|_DIE_\\|_\\*(Aq} =\n" "\\& sub { (my $x = $_[0]) =~ s/foo/bar/g; die $x };\n" "\\& eval { die \"foo lives here\" };\n" "\\& print $@ if $@; # prints \"bar lives here\"\n" "\\& }\n" msgstr "" "\\& # قد تعدل خطافات _\\|_DIE_\\|_ رسائل الخطأ\n" "\\& {\n" "\\& local $SIG{\\*(Aq_\\|_DIE_\\|_\\*(Aq} =\n" "\\& sub { (my $x = $_[0]) =~ s/foo/bar/g; die $x };\n" "\\& eval { die \"foo lives here\" };\n" "\\& print $@ if $@; # تطبع \"bar lives here\"\n" "\\& }\n" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Because this promotes action at a distance, this counterintuitive behavior " "may be fixed in a future release." msgstr "" "لأن هذا يشجع على التأثير عن بعد، فقد يُصلح هذا السلوك غير المتوقع في إصدار " "مستقبلي." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "\\&CW<\\*(C`eval BLOCK\\*(C'> does I count as a loop, so the loop " "control statements \\&CW<\\*(C`next\\*(C'>, CW<\\*(C`last\\*(C'>, or " "\\&CW<\\*(C`redo\\*(C'> cannot be used to leave or restart the block." msgstr "" "لا تُعتبر \\&CW<\\*(C`eval BLOCK\\*(C'> حلقة تكرار، لذا I<لا> يمكن استخدام" " جمل " "التحكم في الحلقات \\&CW<\\*(C`next\\*(C'> أو CW<\\*(C`last\\*(C'> أو " "\\&CW<\\*(C`redo\\*(C'> لمغادرة الكتلة أو إعادة تشغيلها." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "The final semicolon, if any, may be omitted from within the BLOCK." msgstr "يمكن حذف الفاصلة المنقوطة النهائية، إن وجدت، من داخل BLOCK." #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "evalbytes EXPR" msgstr "evalbytes EXPR" #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "evalbytes" msgstr "evalbytes" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "This function is similar to a string eval, except it always parses its " "argument (or CW<$_> if EXPR is omitted) as a byte string. If the string " "contains any code points above 255, then it cannot be a byte string, and the " "CW<\\*(C`evalbytes\\*(C'> will fail with the error stored in CW<$@>." msgstr "" "هذه الدالة تشبه تقييم السلسلة، إلا أنها تحلل معطاها دائماً (أو CW<$_> إذا " "حُذفت EXPR) كسلسلة بايتات. إذا احتوت السلسلة على أي نقاط ترميز فوق 255، فلا " "يمكن أن تكون سلسلة بايتات، وستفشل CW<\\*(C`evalbytes\\*(C'> مع تخزين الخطأ " "في CW<$@>." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "\\&CW<\\*(C`use utf8\\*(C'> and CW<\\*(C`no utf8\\*(C'> within the string " "have their usual effect." msgstr "" "يكون لـ \\&CW<\\*(C`use utf8\\*(C'> و CW<\\*(C`no utf8\\*(C'> داخل السلسلة " "أثرهما المعتاد." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Source filters activated within the evaluated code apply to the code itself." msgstr "تنطبق مرشحات المصدر المفعلة داخل الشيفرة المقيمة على الشيفرة نفسها." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "\\&CW<\\*(C`evalbytes\\*(C'> is available starting in Perl v5.16. To access " "it, you must say CW<\\*(C`CORE::evalbytes\\*(C'>, but you can omit the " "\\&CW<\\*(C`CORE::\\*(C'> if the \\&CW<\"evalbytes\"> feature is enabled. " "This is enabled automatically with a CW<\\*(C`use v5.16\\*(C'> (or higher) " "declaration in the current scope." msgstr "" "تتوفر \\&CW<\\*(C`evalbytes\\*(C'> بدءاً من الإصدار 5.16 من بيرل. للوصول " "إليها، يجب كتابة CW<\\*(C`CORE::evalbytes\\*(C'>، ولكن يمكنك حذف " "\\&CW<\\*(C`CORE::\\*(C'> إذا كانت ميزة \\&CW<\"evalbytes\"> مُمكّنة. تُمكّن" " هذه " "الميزة آلياً عند استخدام إعلان CW<\\*(C`use v5.16\\*(C'> (أو أعلى) في النطاق " "الحالي." #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "exec LIST" msgstr "exec LIST" #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "exec execute" msgstr "تنفيذ exec" #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "exec PROGRAM LIST" msgstr "exec PROGRAM LIST" #. type: Plain text #: debian-trixie debian-unstable msgid "" "The CW<\\*(C`exec\\*(C'> function executes a system command I; use CW<\\*(C`system\\*(C'> instead of CW<\\*(C`exec\\*(C'> if you " "want it to return. It fails and returns false only if the command does not " "exist I it is executed directly instead of via your system's command " "shell (see below)." msgstr "" "تنفذ دالة CW<\\*(C`exec\\*(C'> أمراً للنظام I<ولا تعود أبداً>؛ استخدم " "CW<\\*(C`system\\*(C'> بدلاً من CW<\\*(C`exec\\*(C'> إذا كنت تريدها أن تعود. " "وهي تفشل وتعيد قيمة خاطئة فقط إذا كان الأمر غير موجود I<و>نُفذ مباشرة بدلاً" " من " "تنفيذه عبر صدفة أوامر النظام (انظر أدناه)." #. type: Plain text #: debian-trixie debian-unstable msgid "" "Since it's a common mistake to use CW<\\*(C`exec\\*(C'> instead of " "\\&CW<\\*(C`system\\*(C'>, Perl warns you if CW<\\*(C`exec\\*(C'> is called " "in void context and if there is a following statement that isn't " "\\&CW<\\*(C`die\\*(C'>, CW<\\*(C`warn\\*(C'>, or CW<\\*(C`exit\\*(C'> (if " "warnings are enabled--but you always do that, right?). If you \\&I " "want to follow an CW<\\*(C`exec\\*(C'> with some other statement, you can " "use one of these styles to avoid the warning:" msgstr "" "بما أنه من الخطأ الشائع استخدام CW<\\*(C`exec\\*(C'> بدلاً من " "\\&CW<\\*(C`system\\*(C'>، فإن بيرل تحذرك إذا استُدعيت CW<\\*(C`exec\\*(C'> " "في سياق فارغ وإذا كانت تليها جملة ليست \\&CW<\\*(C`die\\*(C'> أو " "CW<\\*(C`warn\\*(C'> أو CW<\\*(C`exit\\*(C'> (إذا كانت التحذيرات مُمكّنة)." " إذا " "كنت تريد I<حقًا> إلحاق CW<\\*(C`exec\\*(C'> بجملة أخرى، يمكنك استخدام أحد هذه " "الأنماط لتجنب التحذير:" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "" "\\& exec (\\*(Aqfoo\\*(Aq) or print STDERR \"couldn\\*(Aqt exec foo:" " $!\";\n" "\\& { exec (\\*(Aqfoo\\*(Aq) }; print STDERR \"couldn\\*(Aqt exec foo:" " $!\";\n" msgstr "" "\\& exec (\\*(Aqfoo\\*(Aq) أو print STDERR \"تعذر exec foo: $!\";\n" "\\& { exec (\\*(Aqfoo\\*(Aq) }; print STDERR \"تعذر exec foo: $!\";\n" #. type: Plain text #: debian-trixie debian-unstable msgid "" "If there is more than one argument in LIST, this calls B\\|(3) with " "the arguments in LIST. If there is only one element in LIST, the argument " "is checked for shell metacharacters, and if there are any, the entire " "argument is passed to the system's command shell for parsing (this is " "\\&CW<\\*(C`/bin/sh -c\\*(C'> on Unix platforms, but varies on other " "platforms). If there are no shell metacharacters in the argument, it is " "split into words and passed directly to CW<\\*(C`execvp\\*(C'>, which is " "more efficient. Examples:" msgstr "" "إذا وجد أكثر من معطى واحد في LIST، فإن هذا يستدعي B\\|(3) مع " "المعطيات في LIST. إذا وجد عنصر واحد فقط في LIST، يُفحص المعطى بحثاً عن محارف " "الصدفة الخاصة، وإذا وُجد أي منها، يُمرر المعطى بالكامل إلى صدفة أوامر النظام " "لتحليله (هذا هو \\&CW<\\*(C`/bin/sh -c\\*(C'> في منصات يونكس، ولكنه يختلف في " "المنصات الأخرى). إذا لم توجد محارف صدفة خاصة في المعطى، يُقسم إلى كلمات" " ويُمرر " "مباشرة إلى CW<\\*(C`execvp\\*(C'>، وهو أمر أكثر كفاءة. أمثلة:" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "" "\\& exec \\*(Aq/bin/echo\\*(Aq, \\*(AqYour arguments are: \\*(Aq, @ARGV;\n" "\\& exec \"sort $outfile | uniq\";\n" msgstr "" "\\& exec \\*(Aq/bin/echo\\*(Aq, \\*(AqYour arguments are: \\*(Aq, @ARGV;\n" "\\& exec \"sort $outfile | uniq\";\n" #. type: Plain text #: debian-trixie debian-unstable msgid "" "If you don't really want to execute the first argument, but want to lie to " "the program you are executing about its own name, you can specify the " "program you actually want to run as an \"indirect object\" (without a comma) " "in front of the LIST, as in CW<\\*(C`exec PROGRAM LIST\\*(C'>. (This always " "forces interpretation of the LIST as a multivalued list, even if there is " "only a single scalar in the list.) Example:" msgstr "" "إذا كنت لا تريد حقًا تنفيذ المعطى الأول، ولكنك تريد الكذب على البرنامج الذي " "تنفذه بخصوص اسمه، يمكنك تحديد البرنامج الذي تريد تشغيله فعلياً كـ \"كائن غير " "مباشر\" (بدون فاصلة) أمام LIST، كما في CW<\\*(C`exec PROGRAM LIST\\*(C'>. " "(يجبر هذا دائماً تفسير LIST كقائمة متعددة القيم، حتى لو وجد سلمي واحد فقط في " "القائمة). مثال:" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "" "\\& my $shell = \\*(Aq/bin/csh\\*(Aq;\n" "\\& exec $shell \\*(Aq-sh\\*(Aq; # pretend it\\*(Aqs a login shell\n" msgstr "" "\\& my $shell = \\*(Aq/bin/csh\\*(Aq;\n" "\\& exec $shell \\*(Aq-sh\\*(Aq; # تظاهر بأنها صدفة ولوج\n" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "or, more directly," msgstr "أو، بشكل مباشر أكثر،" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "" "\\& exec {\\*(Aq/bin/csh\\*(Aq} \\*(Aq-sh\\*(Aq; # pretend it\\*(Aqs a" " login shell\n" msgstr "" "\\& exec {\\*(Aq/bin/csh\\*(Aq} \\*(Aq-sh\\*(Aq; # تظاهر بأنها صدفة ولوج\n" #. type: Plain text #: debian-trixie debian-unstable msgid "" "When the arguments get executed via the system shell, results are subject to " "its quirks and capabilities. See \"`STRING`\" in perlop for details." msgstr "" "عند تنفيذ المعطيات عبر صدفة النظام، تخضع النتائج لتقلباتها وقدراتها. راجع " "\"`STRING`\" في perlop للتفاصيل." #. type: Plain text #: debian-trixie debian-unstable msgid "" "Using an indirect object with CW<\\*(C`exec\\*(C'> or " "\\&CW<\\*(C`system\\*(C'> is also more secure. This usage (which also works " "fine with CW<\\*(C`system\\*(C'>) forces interpretation of the arguments as " "a multivalued list, even if the list had just one argument. That way you're " "safe from the shell expanding wildcards or splitting up words with " "whitespace in them." msgstr "" "إن استخدام كائن غير مباشر مع CW<\\*(C`exec\\*(C'> أو " "\\&CW<\\*(C`system\\*(C'> هو أيضًا أكثر أماناً. هذا الاستخدام (الذي يعمل بشكل " "جيد أيضًا مع CW<\\*(C`system\\*(C'>) يجبر تفسير المعطيات كقائمة متعددة القيم، " "حتى لو كانت القائمة تحتوي على معطى واحد فقط. بهذه الطريقة تكون في مأمن من " "قيام الصدفة بتوسيع الرموز العامة أو تقسيم الكلمات التي تحتوي على مسافات " "بيضاء." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "" "\\& my @args = ( \"echo surprise\" );\n" "\\&\n" "\\& exec @args; # subject to shell escapes\n" "\\& # if @args == 1\n" "\\& exec { $args[0] } @args; # safe even with one-arg list\n" msgstr "" "\\& my @args = ( \"echo surprise\" );\n" "\\&\n" "\\& exec @args; # عرضة لهروب الصدفة\n" "\\& # إذا كانت @args == 1\n" "\\& exec { $args[0] } @args; # آمنة حتى مع قائمة من معطى واحد\n" #. type: Plain text #: debian-trixie debian-unstable msgid "" "The first version, the one without the indirect object, ran the I " "program, passing it CW<\"surprise\"> an argument. The second version " "didn't; it tried to run a program named I<\"echo surprise\">, didn't find " "it, and set \\&CW<$?> to a non-zero value indicating failure." msgstr "" "شغلت النسخة الأولى، التي لا تحتوي على كائن غير مباشر، برنامج I، ومررت " "له CW<\"surprise\"> كمعطى. أما النسخة الثانية فلم تفعل ذلك؛ بل حاولت تشغيل " "برنامج باسم I<\"echo surprise\">، ولم تجده، وضبطت \\&CW<$?> على قيمة غير " "صفرية تشير إلى الفشل." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "On Windows, only the CW<\\*(C`exec PROGRAM LIST\\*(C'> indirect object " "syntax will reliably avoid using the shell; CW<\\*(C`exec LIST\\*(C'>, even " "with more than one element, will fall back to the shell if the first spawn " "fails." msgstr "" "في ويندوز، وحدها صيغة الكائن غير مباشر CW<\\*(C`exec PROGRAM LIST\\*(C'> " "تتجنب استخدام الصدفة بشكل موثوق؛ أما CW<\\*(C`exec LIST\\*(C'>، حتى مع أكثر " "من عنصر، فستعود إلى الصدفة إذا فشل التشغيل الأول." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Perl attempts to flush all files opened for output before the exec, but this " "may not be supported on some platforms (see perlport). To be safe, you may " "need to set CW<$|> (CW<$AUTOFLUSH> in English) or call the " "CW<\\*(C`autoflush\\*(C'> method of \\&CW<\\*(C`IO::Handle\\*(C'> on any " "open handles to avoid lost output." msgstr "" "تحاول بيرل إفراغ جميع الملفات المفتوحة للمخرجات قبل تنفيذ exec، ولكن قد لا " "يكون هذا مدعوماً في بعض المنصات (راجع perlport). لكي تكون آمناً، قد تحتاج" " لضبط " "CW<$|> (أو CW<$AUTOFLUSH> بالإنجليزية) أو استدعاء طريقة " "CW<\\*(C`autoflush\\*(C'> الخاصة بـ \\&CW<\\*(C`IO::Handle\\*(C'> على أي " "مقابض مفتوحة لتجنب فقدان المخرجات." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Note that CW<\\*(C`exec\\*(C'> will not call your CW<\\*(C`END\\*(C'> " "blocks, nor will it invoke CW<\\*(C`DESTROY\\*(C'> methods on your objects." msgstr "" "لاحظ أن CW<\\*(C`exec\\*(C'> لن تستدعي كتل CW<\\*(C`END\\*(C'> الخاصة بك، " "ولن تستدعي طرق CW<\\*(C`DESTROY\\*(C'> على كائناتك." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "Portability issues: \"exec\" in perlport." msgstr "قضايا النقلية: \"exec\" في perlport." #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "exists EXPR" msgstr "exists EXPR" #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "exists autovivification" msgstr "exists autovivification" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Given an expression that specifies an element of a hash, returns true if the " "specified element in the hash has ever been initialized, even if the " "corresponding value is undefined." msgstr "" "عند إعطائها تعبيراً يحدد عنصراً في مفرمة (hash)، تعيد قيمة صحيحة إذا سبق" " تهيئة " "العنصر المحدد في المفرمة، حتى لو كانت القيمة المقابلة غير معرفة." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "" "\\& print \"Exists\\en\" if exists $hash{$key};\n" "\\& print \"Defined\\en\" if defined $hash{$key};\n" "\\& print \"True\\en\" if $hash{$key};\n" msgstr "" "\\& print \"Exists\\en\" if exists $hash{$key};\n" "\\& print \"Defined\\en\" if defined $hash{$key};\n" "\\& print \"True\\en\" if $hash{$key};\n" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "exists may also be called on array elements, but its behavior is much less " "obvious and is strongly tied to the use of CW<\\*(C`delete\\*(C'> on arrays." msgstr "" "يمكن أيضًا استدعاء exists على عناصر المصفوفة، لكن سلوكها أقل وضوحاً بكثير " "ويرتبط بقوة باستخدام CW<\\*(C`delete\\*(C'> على المصفوفات." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "\\&B Calling CW<\\*(C`exists\\*(C'> on array values is strongly " "discouraged. The notion of deleting or checking the existence of Perl array " "elements is not conceptually coherent, and can lead to surprising behavior." msgstr "" "\\&B<تحذير:> لا يُنصح بشدة باستدعاء CW<\\*(C`exists\\*(C'> على قيم المصفوفة. " "إن فكرة حذف أو التحقق من وجود عناصر مصفوفة بيرل ليست متماسكة مفاهيمياً، ويمكن " "أن تؤدي إلى سلوك مفاجئ." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "" "\\& print \"Exists\\en\" if exists $array[$index];\n" "\\& print \"Defined\\en\" if defined $array[$index];\n" "\\& print \"True\\en\" if $array[$index];\n" msgstr "" "\\& print \"Exists\\en\" if exists $array[$index];\n" "\\& print \"Defined\\en\" if defined $array[$index];\n" "\\& print \"True\\en\" if $array[$index];\n" #. type: Plain text #: debian-trixie debian-unstable msgid "" "A hash or array element can be true only if it's defined and defined only if " "it exists, but the reverse doesn't necessarily hold true." msgstr "" "لا يمكن لعنصر مفرمة أو مصفوفة أن يكون صحيحاً إلا إذا كان معرفاً، ولا يكون " "معرفاً إلا إذا كان موجوداً، ولكن العكس ليس بالضرورة صحيحاً." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Given an expression that specifies the name of a subroutine, returns true if " "the specified subroutine has ever been declared, even if it is undefined. " "Mentioning a subroutine name for exists or defined does not count as " "declaring it. Note that a subroutine that does not exist may still be " "callable: its package may have an CW<\\*(C`AUTOLOAD\\*(C'> method that makes " "it spring into existence the first time that it is called; see perlsub." msgstr "" "عند إعطائها تعبيراً يحدد اسم دالة فرعية، تعيد قيمة صحيحة إذا سبق التصريح عن " "الدالة الفرعية المحددة، حتى لو كانت غير معرفة. ذكر اسم دالة فرعية من أجل " "exists أو defined لا يُعد تصريحاً عنها. لاحظ أن الدالة الفرعية التي لا توجد" " قد " "تظل قابلة للاستدعاء: فقد تحتوي حزمتها على طريقة CW<\\*(C`AUTOLOAD\\*(C'> " "تجعلها تظهر للوجود في أول مرة تُستدعى فيها؛ راجع perlsub." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "" "\\& print \"Exists\\en\" if exists &subroutine;\n" "\\& print \"Defined\\en\" if defined &subroutine;\n" msgstr "" "\\& print \"Exists\\en\" if exists &subroutine;\n" "\\& print \"Defined\\en\" if defined &subroutine;\n" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Note that the EXPR can be arbitrarily complicated as long as the final " "operation is a hash or array key lookup or subroutine name:" msgstr "" "لاحظ أن EXPR يمكن أن تكون معقدة بشكل اختياري طالما أن العملية النهائية هي " "بحث عن مفتاح مفرمة أو مصفوفة أو اسم دالة فرعية:" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "" "\\& if (exists $ref-E{A}-E{B}-E{$key}) { }\n" "\\& if (exists $hash{A}{B}{$key}) { }\n" "\\&\n" "\\& if (exists $ref-E{A}-E{B}-E[$ix]) { }\n" "\\& if (exists $hash{A}{B}[$ix]) { }\n" "\\&\n" "\\& if (exists &{$ref-E{A}{B}{$key}}) { }\n" msgstr "" "\\& if (exists $ref-E{A}-E{B}-E{$key}) { }\n" "\\& if (exists $hash{A}{B}{$key}) { }\n" "\\&\n" "\\& if (exists $ref-E{A}-E{B}-E[$ix]) { }\n" "\\& if (exists $hash{A}{B}[$ix]) { }\n" "\\&\n" "\\& if (exists &{$ref-E{A}{B}{$key}}) { }\n" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Although the most deeply nested array or hash element will not spring into " "existence just because its existence was tested, any intervening ones will. " "Thus CW<\\*(C`$ref-E{\"A\"}\\*(C'> and CW<\\*(C`$ref-E{\"A\"}-" "E{\"B\"}\\*(C'> will spring into existence due to the existence test for " "the CW<$key> element above. This happens anywhere the arrow operator is " "used, including even here:" msgstr "" "رغم أن عنصر المصفوفة أو المفرمة الأكثر عمقاً لن يظهر للوجود لمجرد اختبار " "وجوده، إلا أن أي عناصر متوسطة ستظهر. وبذلك سيظهر CW<\\*(C`$ref-" "E{\"A\"}\\*(C'> و CW<\\*(C`$ref-E{\"A\"}-E{\"B\"}\\*(C'> إلى " "الوجود بسبب اختبار الوجود لعنصر CW<$key> أعلاه. يحدث هذا في أي مكان يُستخدم " "فيه عامل السهم، بما في ذلك هنا:" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "" "\\& undef $ref;\n" "\\& if (exists $ref-E{\"Some key\"}) { }\n" "\\& print $ref; # prints HASH(0x80d3d5c)\n" msgstr "" "\\& undef $ref;\n" "\\& if (exists $ref-E{\"Some key\"}) { }\n" "\\& print $ref; # تطبع HASH(0x80d3d5c)\n" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Use of a subroutine call, rather than a subroutine name, as an argument to " "CW<\\*(C`exists\\*(C'> is an error." msgstr "" "إن استخدام استدعاء دالة فرعية، بدلاً من اسم الدالة الفرعية، كمعطى لـ " "CW<\\*(C`exists\\*(C'> يعد خطأ." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "" "\\& exists ⊂ # OK\n" "\\& exists &sub(); # Error\n" msgstr "" "\\& exists ⊂ # مقبول\n" "\\& exists &sub(); # خطأ\n" #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "exit EXPR" msgstr "exit EXPR" #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "exit terminate abort" msgstr "خروج exit إنهاء إجهاض" #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "exit" msgstr "exit" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "Evaluates EXPR and exits immediately with that value. Example:" msgstr "تقيم EXPR وتخرج فوراً بتلك القيمة. مثال:" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "" "\\& my $ans = ESTDINE;\n" "\\& exit 0 if $ans =~ /^[Xx]/;\n" msgstr "" "\\& my $ans = ESTDINE;\n" "\\& exit 0 if $ans =~ /^[Xx]/;\n" #. type: Plain text #: debian-trixie debian-unstable msgid "" "See also CW<\\*(C`die\\*(C'>. If EXPR is omitted, exits with CW<0> status. " "The only universally recognized values for EXPR are CW<0> for success and " "CW<1> for error; other values are subject to interpretation depending on the " "environment in which the Perl program is running. For example, exiting 69 " "(EX_UNAVAILABLE) from a I incoming-mail filter will cause the " "mailer to return the item undelivered, but that's not true everywhere." msgstr "" "راجع أيضًا CW<\\*(C`die\\*(C'>. إذا حُذفت EXPR، يخرج البرنامج بحالة CW<0>. " "القيم الوحيدة المعترف بها عالمياً لـ EXPR هي CW<0> للنجاح و CW<1> للخطأ؛ " "وتخضع القيم الأخرى للتفسير اعتماداً على البيئة التي يعمل فيها برنامج بيرل. " "على سبيل المثال، الخروج بالقيمة 69 (EX_UNAVAILABLE) من مرشح بريد وارد لـ " "I سيجعل مرسل البريد يعيد العنصر كـ غير مسلم، لكن هذا ليس صحيحاً في " "كل مكان." #. type: Plain text #: debian-trixie debian-unstable msgid "" "Don't use CW<\\*(C`exit\\*(C'> to abort a subroutine if there's any chance " "that someone might want to trap whatever error happened. Use " "\\&CW<\\*(C`die\\*(C'> instead, which can be trapped by an " "\\&CW<\\*(C`eval\\*(C'>." msgstr "" "لا تستخدم CW<\\*(C`exit\\*(C'> لإجهاض دالة فرعية إذا كان هناك أي احتمال بأن " "شخصاً ما قد يرغب في صيد أي خطأ حدث. استخدم \\&CW<\\*(C`die\\*(C'> بدلاً من " "ذلك، والتي يمكن صيدها بواسطة \\&CW<\\*(C`eval\\*(C'>." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "The CW<\\*(C`exit\\*(C'> function does not always exit immediately. It " "calls any defined CW<\\*(C`END\\*(C'> routines first, but these " "CW<\\*(C`END\\*(C'> routines may not themselves abort the exit. Likewise " "any object destructors that need to be called are called before the real " "exit. CW<\\*(C`END\\*(C'> routines and destructors can change the exit " "status by modifying CW<$?>. If this is a problem, you can call \\&CW to avoid CW<\\*(C`END\\*(C'> and destructor processing. See " "perlmod for details." msgstr "" "لا تخرج دالة CW<\\*(C`exit\\*(C'> دائماً فوراً. فهي تستدعي أي روتينات " "CW<\\*(C`END\\*(C'> معرفة أولاً، ولكن روتينات CW<\\*(C`END\\*(C'> هذه قد لا " "تحبط الخروج بنفسها. وبالمثل، تُستدعى أي مدمرات كائنات يلزم استدعاؤها قبل " "الخروج الفعلي. يمكن لروتينات CW<\\*(C`END\\*(C'> والمدمرات تغيير حالة الخروج " "بتعديل CW<$?>. إذا كان هذا يشكل مشكلة، يمكنك استدعاء \\&CW لتجنب معالجة CW<\\*(C`END\\*(C'> والمدمرات. راجع perlmod " "للتفاصيل." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "Portability issues: \"exit\" in perlport." msgstr "قضايا النقلية: \"exit\" في perlport." #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "exp EXPR" msgstr "exp EXPR" #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "exp exponential antilog antilogarithm e" msgstr "أس exp لوغاريتم عكسي e" #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "exp" msgstr "exp" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Returns I (the natural logarithm base) to the power of EXPR. If EXPR is " "omitted, gives CW." msgstr "" "تعيد I (أساس اللوغاريتم الطبيعي) مرفوعاً للقوة EXPR. إذا حُذفت EXPR، تعطي " "CW." #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "fc EXPR" msgstr "fc EXPR" #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "fc foldcase casefold fold-case case-fold" msgstr "طي الحالة fc" #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "fc" msgstr "fc" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Returns the casefolded version of EXPR. This is the internal function " "implementing the CW<\\*(C`\\eF\\*(C'> escape in double-quoted strings." msgstr "" "تعيد نسخة \"مطوية الحالة\" (casefolded) من EXPR. هذه هي الدالة الداخلية التي " "تطبق هروب CW<\\*(C`\\eF\\*(C'> في السلاسل النصية ذات الاقتباس المزدوج." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Casefolding is the process of mapping strings to a form where case " "differences are erased; comparing two strings in their casefolded form is " "effectively a way of asking if two strings are equal, regardless of case." msgstr "" "طي الحالة هو عملية تعيين السلاسل النصية إلى شكل تُمحى فيه فروق حالة الأحرف؛ " "ومقارنة سلسلتين في شكلهما المطوي هو في الواقع وسيلة للتساؤل عما إذا كانت " "السلسلتان متساويتين بغض النظر عن الحالة." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "Roughly, if you ever found yourself writing this" msgstr "تقريباً، إذا وجدت نفسك يوماً تكتب هذا" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "" "\\& lc($this) eq lc($that) # Wrong!\n" "\\& # or\n" "\\& uc($this) eq uc($that) # Also wrong!\n" "\\& # or\n" "\\& $this =~ /^\\eQ$that\\eE\\ez/i # Right!\n" msgstr "" "\\& lc($this) eq lc($that) # خطأ!\n" "\\& # أو\n" "\\& uc($this) eq uc($that) # خطأ أيضًا!\n" "\\& # أو\n" "\\& $this =~ /^\\eQ$that\\eE\\ez/i # صواب!\n" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "Now you can write" msgstr "الآن يمكنك كتابة" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "\\& fc($this) eq fc($that)\n" msgstr "\\& fc($this) eq fc($that)\n" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "And get the correct results." msgstr "والحصول على نتائج صحيحة." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Perl only implements the full form of casefolding, but you can access the " "simple folds using \"B\" in Unicode::UCD and " "\"B\" in Unicode::UCD. For further information on " "casefolding, refer to the Unicode Standard, specifically sections 3.13 " "CW<\\*(C`Default Case Operations\\*(C'>, 4.2 CW<\\*(C`Case-Normative\\*(C'>, " "and 5.18 CW<\\*(C`Case Mappings\\*(C'>, available at Ehttps://www." "unicode.org/versions/latest/E, as well as the Case Charts available at " "Ehttps://www.unicode.org/charts/case/E." msgstr "" "تطبق بيرل الشكل الكامل لطي الحالة فقط، ولكن يمكنك الوصول إلى الطيات البسيطة " "باستخدام \"B\" في Unicode::UCD و \"B\" في " "Unicode::UCD. لمزيد من المعلومات حول طي الحالة، ارجع إلى معيار يونيكود، " "وتحديداً الأقسام 3.13 CW<\\*(C`Default Case Operations\\*(C'>، و 4.2 " "CW<\\*(C`Case-Normative\\*(C'>، و 5.18 CW<\\*(C`Case Mappings\\*(C'>، " "المتوفرة في Ehttps://www.unicode.org/versions/latest/E، بالإضافة إلى " "جداول الحالات المتوفرة في Ehttps://www.unicode.org/charts/case/E." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "If EXPR is omitted, uses CW<$_>." msgstr "إذا حُذفت EXPR، تُستخدم CW<$_>." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "This function behaves the same way under various pragmas, such as within " "\\&CW<\"use\\ feature\\ \\*(Aqunicode_strings\">, as CW<\\*(C`lc\\*(C'> " "does, with the single exception of \\&CW<\\*(C`fc\\*(C'> of I (U+1E9E) within the scope of CW<\\*(C`use\\ locale\\*(C'>. " "The foldcase of this character would normally be CW<\"ss\">, but as " "explained in the CW<\\*(C`lc\\*(C'> section, case changes that cross the " "255/256 boundary are problematic under locales, and are hence prohibited. " "Therefore, this function under locale returns instead the string " "CW<\"\\ex{17F}\\ex{17F}\">, which is the I. " "Since that character itself folds to CW<\"s\">, the string of two of them " "together should be equivalent to a single U+1E9E when foldcased." msgstr "" "تعمل هذه الدالة بنفس الطريقة تحت توجيهات برمجية مختلفة، مثل \\&CW<\"use\\ " "feature\\ \\*(Aqunicode_strings\">، كما تفعل CW<\\*(C`lc\\*(C'>، مع استثناء " "وحيد وهو \\&CW<\\*(C`fc\\*(C'> لـ I (U+1E9E) " "ضمن نطاق CW<\\*(C`use\\ locale\\*(C'>. يكون طي حالة هذا المحرف عادةً هو " "CW<\"ss\">، ولكن كما شُرح في قسم CW<\\*(C`lc\\*(C'>، فإن تغييرات الحالة التي " "تتجاوز الحد 255/256 تكون إشكالية تحت المحليات (locales)، وبالتالي هي محظورة. " "لذا، تعيد هذه الدالة تحت المحلية بدلاً من ذلك السلسلة " "CW<\"\\ex{17F}\\ex{17F}\">، وهي محرف I. وبما أن " "هذا المحرف نفسه يطوى إلى CW<\"s\">، فإن سلسلة من اثنين منهما معاً يجب أن تكون " "مكافئة لـ U+1E9E واحدة عند طي حالتها." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "While the Unicode Standard defines two additional forms of casefolding, one " "for Turkic languages and one that never maps one character into multiple " "characters, these are not provided by the Perl core. However, the CPAN " "module \\&CW<\\*(C`Unicode::Casing\\*(C'> may be used to provide an " "implementation." msgstr "" "بينما يعرف معيار يونيكود شكلين إضافيين لطي الحالة، أحدهما للغات التركية " "والآخر لا يعين أبداً محرفاً واحداً إلى محارف متعددة، إلا أن نواة بيرل لا " "توفرهما. ومع ذلك، يمكن استخدام وحدة CPAN المسماة \\&CW<\\*(C`Unicode::" "Casing\\*(C'> لتوفير تطبيق لهما." #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "fcntl FILEHANDLE,FUNCTION,SCALAR" msgstr "fcntl FILEHANDLE,FUNCTION,SCALAR" #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "fcntl" msgstr "fcntl" #. type: Plain text #: debian-trixie debian-unstable msgid "Implements the B\\|(2) function. You'll probably have to say" msgstr "تطبق دالة B\\|(2). ربما يتعين عليك كتابة" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "\\& use Fcntl;\n" msgstr "\\& use Fcntl;\n" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "first to get the correct constant definitions. Argument processing and " "value returned work just like CW<\\*(C`ioctl\\*(C'> below. For example:" msgstr "" "أولاً للحصول على تعريفات الثوابت الصحيحة. تعمل معالجة المعطيات والقيمة " "المعادة تماماً مثل CW<\\*(C`ioctl\\*(C'> أدناه. على سبيل المثال:" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "" "\\& use Fcntl;\n" "\\& my $flags = fcntl($filehandle, F_GETFL, 0)\n" "\\& or die \"Can\\*(Aqt fcntl F_GETFL: $!\";\n" msgstr "" "\\& use Fcntl;\n" "\\& my $flags = fcntl($filehandle, F_GETFL, 0)\n" "\\& أو die \"تعذر fcntl F_GETFL: $!\";\n" #. type: Plain text #: debian-trixie debian-unstable msgid "" "You don't have to check for CW<\\*(C`defined\\*(C'> on the return from " "CW<\\*(C`fcntl\\*(C'>. Like \\&CW<\\*(C`ioctl\\*(C'>, it maps a CW<0> " "return from the system call into CW<\"0 but true\"> in Perl. This string is " "true in boolean context and CW<0> in numeric context. It is also exempt " "from the normal \\&CW<\\*(C`Argument \"...\" isn\\*(Aqt numeric\\*(C'> " "warnings on improper numeric conversions." msgstr "" "ليس عليك التحقق من CW<\\*(C`defined\\*(C'> في القيمة المعادة من " "CW<\\*(C`fcntl\\*(C'>. فمثل \\&CW<\\*(C`ioctl\\*(C'>، تعين القيمة المعادة " "CW<0> من استدعاء النظام إلى CW<\"0 but true\"> في بيرل. هذه السلسلة صحيحة في " "سياق القيم المنطقية و CW<0> في السياق الرقمي. كما أنها معفاة من تحذيرات " "\\&CW<\\*(C`Argument \"...\" isn\\*(Aqt numeric\\*(C'> المعتادة عند " "التحويلات الرقمية غير الصحيحة." #. type: Plain text #: debian-trixie debian-unstable msgid "" "Note that CW<\\*(C`fcntl\\*(C'> raises an exception if used on a machine " "that doesn't implement B\\|(2). See the Fcntl module or your " "B\\|(2) manpage to learn what functions are available on your system." msgstr "" "لاحظ أن CW<\\*(C`fcntl\\*(C'> ترفع استثناءً إذا استُخدمت على آلة لا تطبق " "B\\|(2). راجع وحدة Fcntl أو صفحة دليل B\\|(2) لمعرفة الوظائف " "المتاحة على نظامك." #. type: Plain text #: debian-trixie debian-unstable msgid "" "Here's an example of setting a filehandle named CW<$REMOTE> to be non-" "blocking at the system level. You'll have to negotiate \\&CW<$|> on your " "own, though." msgstr "" "إليك مثالاً على ضبط مقبض ملف باسم CW<$REMOTE> ليكون غير حاجب (non-blocking) " "على مستوى النظام. سيتعين عليك التعامل مع \\&CW<$|> بنفسك." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "" "\\& use Fcntl qw(F_GETFL F_SETFL O_NONBLOCK);\n" "\\&\n" "\\& my $flags = fcntl($REMOTE, F_GETFL, 0)\n" "\\& or die \"Can\\*(Aqt get flags for the socket: $!\\en\";\n" "\\&\n" "\\& fcntl($REMOTE, F_SETFL, $flags | O_NONBLOCK)\n" "\\& or die \"Can\\*(Aqt set flags for the socket: $!\\en\";\n" msgstr "" "\\& use Fcntl qw(F_GETFL F_SETFL O_NONBLOCK);\n" "\\&\n" "\\& my $flags = fcntl($REMOTE, F_GETFL, 0)\n" "\\& أو die \"تعذر الحصول على الأعلام للمقبس: $!\\en\";\n" "\\&\n" "\\& fcntl($REMOTE, F_SETFL, $flags | O_NONBLOCK)\n" "\\& أو die \"تعذر ضبط الأعلام للمقبس: $!\\en\";\n" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "Portability issues: \"fcntl\" in perlport." msgstr "قضايا النقلية: \"fcntl\" في perlport." #. type: IP #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "_\\|_FILE_\\|_" msgstr "_\\|_FILE_\\|_" #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "__FILE__" msgstr "__FILE__" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "A special token that returns the name of the file in which it occurs. It " "can be altered by the mechanism described at \"Plain Old Comments (Not!)\" " "in perlsyn." msgstr "" "وسم خاص يعيد اسم الملف الذي يظهر فيه. يمكن تغييره بواسطة الآلية الموصوفة في " "\"Plain Old Comments (Not!)\" في perlsyn." #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "field VARNAME" msgstr "field VARNAME" #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "field" msgstr "field" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Declares a new field variable within the current class. Methods and " "\\&CW<\\*(C`ADJUST\\*(C'> blocks of the class will have access to this " "variable as if it was a lexical in scope at that point." msgstr "" "يصرح عن متغير حقل جديد داخل الصنف الحالي. سيكون للطرق وكتل " "\\&CW<\\*(C`ADJUST\\*(C'> في الصنف وصول إلى هذا المتغير كما لو كان مفرداتياً " "في النطاق عند تلك النقطة." #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "fileno FILEHANDLE" msgstr "fileno FILEHANDLE" #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "fileno" msgstr "fileno" #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "fileno DIRHANDLE" msgstr "fileno DIRHANDLE" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Returns the file descriptor for a filehandle or directory handle, or " "undefined if the filehandle is not open. If there is no real file " "descriptor at the OS level, as can happen with filehandles connected to " "memory objects via \\&CW<\\*(C`open\\*(C'> with a reference for the third " "argument, -1 is returned." msgstr "" "تعيد واصف الملف لمقبض ملف أو مقبض دليل، أو قيمة غير معرفة إذا لم يكن مقبض " "الملف مفتوحاً. إذا لم يوجد واصف ملف حقيقي على مستوى نظام التشغيل، كما يمكن أن " "يحدث مع مقابض الملفات المتصلة بكائنات ذاكرة عبر \\&CW<\\*(C`open\\*(C'> مع " "مرجع كمعطى ثالث، تُعاد القيمة -1." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "This is mainly useful for constructing bitmaps for \\&CW<\\*(C`select\\*(C'> " "and low-level POSIX tty-handling operations. If FILEHANDLE is an " "expression, the value is taken as an indirect filehandle, generally its name." msgstr "" "هذا مفيد بشكل رئيس لبناء خرائط بت لـ \\&CW<\\*(C`select\\*(C'> وعمليات " "معالجة POSIX tty منخفضة المستوى. إذا كان FILEHANDLE تعبيراً، تُؤخذ القيمة " "كمقبض ملف غير مباشر، وعادة ما تكون اسمه." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "You can use this to find out whether two handles refer to the same " "underlying descriptor:" msgstr "" "يمكنك استخدام هذا لمعرفة ما إذا كان مقبضان يشيران إلى نفس الواصف الكامن:" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "" "\\& if (fileno($this) != -1 && fileno($this) == fileno($that)) {\n" "\\& print \"\\e$this and \\e$that are dups\\en\";\n" "\\& } elsif (fileno($this) != -1 && fileno($that) != -1) {\n" "\\& print \"\\e$this and \\e$that have different \" .\n" "\\& \"underlying file descriptors\\en\";\n" "\\& } else {\n" "\\& print \"At least one of \\e$this and \\e$that does \" .\n" "\\& \"not have a real file descriptor\\en\";\n" "\\& }\n" msgstr "" "\\& if (fileno($this) != -1 && fileno($this) == fileno($that)) {\n" "\\& print \"\\e$this و \\e$that متطابقان\\en\";\n" "\\& } elsif (fileno($this) != -1 && fileno($that) != -1) {\n" "\\& print \"\\e$this و \\e$that لهما \" .\n" "\\& \"واصفات ملفات كامنة مختلفة\\en\";\n" "\\& } else {\n" "\\& print \"واحد على الأقل من \\e$this و \\e$that ليس \" .\n" "\\& \"له واصف ملف حقيقي\\en\";\n" "\\& }\n" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "The behavior of CW<\\*(C`fileno\\*(C'> on a directory handle depends on the " "operating system. On a system with B\\|(3) or similar, " "CW<\\*(C`fileno\\*(C'> on a directory handle returns the underlying file " "descriptor associated with the handle; on systems with no such support, it " "returns the undefined value, and sets CW<$!> (errno)." msgstr "" "يعتمد سلوك CW<\\*(C`fileno\\*(C'> على مقبض الدليل على نظام التشغيل. في نظام " "يحتوي على B\\|(3) أو ما شابه، تعيد CW<\\*(C`fileno\\*(C'> على مقبض " "الدليل واصف الملف الكامن المرتبط بالمقبض؛ أما في الأنظمة التي لا توفر هذا " "الدعم، فتعيد القيمة غير المعرفة وتضبط CW<$!> (errno)." #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "flock FILEHANDLE,OPERATION" msgstr "flock FILEHANDLE,OPERATION" #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "flock lock locking" msgstr "قفل flock" #. type: Plain text #: debian-trixie debian-unstable msgid "" "Calls B\\|(2), or an emulation of it, on FILEHANDLE. Returns true " "for success, false on failure. Produces a fatal error if used on a machine " "that doesn't implement B\\|(2), B\\|(2) locking, or " "\\&B\\|(3). CW<\\*(C`flock\\*(C'> is Perl's portable file-locking " "interface, although it locks entire files only, not records." msgstr "" "تستدعي B\\|(2)، أو محاكاة لها، على FILEHANDLE. تعيد قيمة صحيحة " "للنجاح، وخاطئة للفشل. تُنتج خطأً قاتلاً إذا استُخدمت على آلة لا تطبق قفل " "B\\|(2) أو B\\|(2) أو \\&B\\|(3). تُعد " "CW<\\*(C`flock\\*(C'> واجهة قفل الملفات النقولة في بيرل، رغم أنها تقفل " "الملفات بالكامل فقط، وليس السجلات." #. type: Plain text #: debian-trixie debian-unstable msgid "" "Two potentially non-obvious but traditional CW<\\*(C`flock\\*(C'> semantics " "are that it waits indefinitely until the lock is granted, and that its locks " "are B. Such discretionary locks are more flexible, but " "offer fewer guarantees. This means that programs that do not also use " "\\&CW<\\*(C`flock\\*(C'> may modify files locked with " "\\&CW<\\*(C`flock\\*(C'>. See perlport, your port's specific documentation, " "and your system-specific local manpages for details. It's best to assume " "traditional behavior if you're writing portable programs. (But if you're " "not, you should as always feel perfectly free to write for your own system's " "idiosyncrasies (sometimes called \"features\"). Slavish adherence to " "portability concerns shouldn't get in the way of your getting your job done.)" msgstr "" "هناك دلالتان تقليديتان لـ CW<\\*(C`flock\\*(C'> قد لا تكونان واضحتين وهما " "أنها تنتظر إلى ما لا نهاية حتى يُمنح القفل، وأن أقفالها B<استشارية فقط>. هذه " "الأقفال التقديرية أكثر مرونة، ولكنها تقدم ضمانات أقل. هذا يعني أن البرامج " "التي لا تستخدم أيضًا \\&CW<\\*(C`flock\\*(C'> قد تعدل الملفات المقفولة بـ " "\\&CW<\\*(C`flock\\*(C'>. راجع perlport ووثائق المنصة الخاصة بك وصفحات " "الدليل المحلية للحصول على التفاصيل. من الأفضل افتراض السلوك التقليدي إذا كنت " "تكتب برامج نقولة. (ولكن إذا لم تكن كذلك، فيجب عليك كالعادة أن تشعر بحرية " "تامة في الكتابة لخصائص نظامك الخاصة (والتي تُسمى أحياناً \"ميزات\")). لا" " ينبغي " "للالتزام العبودي بمخاوف النقلية أن يعيقك عن إنجاز عملك." #. type: Plain text #: debian-trixie debian-unstable msgid "" "OPERATION is one of LOCK_SH, LOCK_EX, or LOCK_UN, possibly combined with " "LOCK_NB. These constants are traditionally valued 1, 2, 8 and 4, but you " "can use the symbolic names if you import them from the Fcntl module, either " "individually, or as a group using the CW<\\*(C`:flock\\*(C'> tag. LOCK_SH " "requests a shared lock, LOCK_EX requests an exclusive lock, and LOCK_UN " "releases a previously requested lock. If LOCK_NB is bitwise-or'ed with " "LOCK_SH or LOCK_EX, then CW<\\*(C`flock\\*(C'> returns immediately rather " "than blocking waiting for the lock; check the return status to see if you " "got it." msgstr "" "العملية (OPERATION) هي واحدة من LOCK_SH أو LOCK_EX أو LOCK_UN، وربما تُدمج مع " "LOCK_NB. هذه الثوابت تأخذ تقليدياً القيم 1 و 2 و 8 و 4، ولكن يمكنك استخدام " "الأسماء الرمزية إذا استوردتها من وحدة Fcntl، إما بشكل فردي أو كمجموعة " "باستخدام وسم CW<\\*(C`:flock\\*(C'>. يطلب LOCK_SH قفلاً مشتركاً، ويطلب" " LOCK_EX " "قفلاً حصرياً، ويقوم LOCK_UN بتحرير قفل طُلب سابقاً. إذا دُمج LOCK_NB مع" " LOCK_SH " "أو LOCK_EX، فإن CW<\\*(C`flock\\*(C'> تعود فوراً بدلاً من الحجب انتظاراً" " للقفل؛ " "تحقق من حالة الإعادة لمعرفة ما إذا كنت قد حصلت عليه." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "To avoid the possibility of miscoordination, Perl now flushes FILEHANDLE " "before locking or unlocking it." msgstr "" "لتجنب احتمال عدم التنسيق، تقوم بيرل الآن بإفراغ FILEHANDLE قبل قفله أو إلغاء " "قفله." #. type: Plain text #: debian-trixie debian-unstable msgid "" "Note that the emulation built with B\\|(3) doesn't provide shared " "locks, and it requires that FILEHANDLE be open with write intent. These are " "the semantics that B\\|(3) implements. Most if not all systems " "implement B\\|(3) in terms of B\\|(2) locking, though, so the " "differing semantics shouldn't bite too many people." msgstr "" "لاحظ أن المحاكاة المبنية بـ B\\|(3) لا توفر أقفالاً مشتركة، وتتطلب أن " "يكون FILEHANDLE مفتوحاً بنية الكتابة. هذه هي الدلالات التي تطبقها B\\|" "(3). ومع ذلك، فإن معظم الأنظمة، إن لم يكن كلها، تطبق B\\|(3) من حيث " "قفل B\\|(2)، لذا فإن الدلالات المختلفة لا ينبغي أن تؤثر على الكثير من " "الناس." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Note that the B\\|(2) emulation of B\\|(3) requires that " "FILEHANDLE be open with read intent to use LOCK_SH and requires that it be " "open with write intent to use LOCK_EX." msgstr "" "لاحظ أن محاكاة B\\|(2) لـ B\\|(3) تتطلب أن يكون FILEHANDLE " "مفتوحاً بنية القراءة لاستخدام LOCK_SH وتتطلب أن يكون مفتوحاً بنية الكتابة " "لاستخدام LOCK_EX." #. type: Plain text #: debian-trixie debian-unstable msgid "" "Note also that some versions of CW<\\*(C`flock\\*(C'> cannot lock things " "over the network; you would need to use the more system-specific " "CW<\\*(C`fcntl\\*(C'> for that. If you like you can force Perl to ignore " "your system's B\\|(2) function, and so provide its own B\\|" "(2)-based emulation, by passing the switch CW<\\*(C`-Ud_flock\\*(C'> to the " "I program when you configure and build a new Perl." msgstr "" "لاحظ أيضًا أن بعض إصدارات CW<\\*(C`flock\\*(C'> لا يمكنها قفل الأشياء عبر " "الشبكة؛ ستحتاج لاستخدام CW<\\*(C`fcntl\\*(C'> الأكثر تخصيصاً للنظام للقيام " "بذلك. إذا أردت، يمكنك إجبار بيرل على تجاهل دالة B\\|(2) الخاصة " "بنظامك، وبالتالي توفير محاكاتها الخاصة القائمة على B\\|(2)، بتمرير " "المفتاح CW<\\*(C`-Ud_flock\\*(C'> إلى برنامج I<اضبط> (Configure) عند ضبط " "وبناء نسخة بيرل جديدة." #. type: Plain text #: debian-trixie debian-unstable msgid "Here's a mailbox appender for BSD systems." msgstr "إليك ملحق لصندوق بريد لأنظمة BSD." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "" "\\& # import LOCK_* and SEEK_END constants\n" "\\& use Fcntl qw(:flock SEEK_END);\n" "\\&\n" "\\& sub lock {\n" "\\& my ($fh) = @_;\n" "\\& flock($fh, LOCK_EX) or die \"Cannot lock mailbox - $!\\en\";\n" "\\& # and, in case we\\*(Aqre running on a very old UNIX\n" "\\& # variant without the modern O_APPEND semantics...\n" "\\& seek($fh, 0, SEEK_END) or die \"Cannot seek - $!\\en\";\n" "\\& }\n" "\\&\n" "\\& sub unlock {\n" "\\& my ($fh) = @_;\n" "\\& flock($fh, LOCK_UN) or die \"Cannot unlock mailbox - $!\\en\";\n" "\\& }\n" "\\&\n" "\\& open(my $mbox, \"EE\", \"/usr/spool/mail/$ENV{\\*(AqUSER\\*(Aq}" "\")\n" "\\& or die \"Can\\*(Aqt open mailbox: $!\";\n" "\\&\n" "\\& lock($mbox);\n" "\\& print $mbox $msg,\"\\en\\en\";\n" "\\& unlock($mbox);\n" msgstr "" "\\& # استيراد ثوابت LOCK_* و SEEK_END\n" "\\& use Fcntl qw(:flock SEEK_END);\n" "\\&\n" "\\& sub lock {\n" "\\& my ($fh) = @_;\n" "\\& flock($fh, LOCK_EX) or die \"Cannot lock mailbox - $!\\en\";\n" "\\& # وفي حال كنا نعمل على إصدارة قديمة جداً من UNIX\n" "\\& # تفتقر إلى دلالات O_APPEND الحديثة...\n" "\\& seek($fh, 0, SEEK_END) or die \"Cannot seek - $!\\en\";\n" "\\& }\n" "\\&\n" "\\& sub unlock {\n" "\\& my ($fh) = @_;\n" "\\& flock($fh, LOCK_UN) or die \"Cannot unlock mailbox - $!\\en\";\n" "\\& }\n" "\\&\n" "\\& open(my $mbox, \"EE\", \"/usr/spool/mail/$ENV{\\*(AqUSER\\*(Aq}" "\")\n" "\\& or die \"Can\\*(Aqt open mailbox: $!\";\n" "\\&\n" "\\& lock($mbox);\n" "\\& print $mbox $msg,\"\\en\\en\";\n" "\\& unlock($mbox);\n" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "On systems that support a real B\\|(2), locks are inherited across " "\\&CW<\\*(C`fork\\*(C'> calls, whereas those that must resort to the more " "capricious B\\|(2) function lose their locks, making it seriously " "harder to write servers." msgstr "" "في الأنظمة التي تدعم B\\|(2) حقيقية، تُورث الأقفال عبر استدعاءات " "\\&CW<\\*(C`fork\\*(C'>، بينما تلك التي تضطر للجوء إلى دالة B\\|(2) " "الأكثر تقلباً تفقد أقفالها، مما يجعل كتابة الخوادم أمراً أصعب بكثير." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "See also DB_File for other CW<\\*(C`flock\\*(C'> examples." msgstr "انظر أيضًا DB_File للحصول على أمثلة أخرى لـ CW<\\*(C`flock\\*(C'>." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "Portability issues: \"flock\" in perlport." msgstr "مسائل القابلية للنقل: \"flock\" في perlport." #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "fork" msgstr "فرع" #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "fork child parent" msgstr "فرع ابن أب" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Does a B\\|(2) system call to create a new process running the same " "program at the same point. It returns the child pid to the parent process, " "CW<0> to the child process, or CW<\\*(C`undef\\*(C'> if the fork is " "unsuccessful. File descriptors (and sometimes locks on those descriptors) " "are shared, while everything else is copied. On most systems supporting " "\\&B\\|(2), great care has gone into making it extremely efficient " "(for example, using copy-on-write technology on data pages), making it the " "dominant paradigm for multitasking over the last few decades." msgstr "" "تجري استدعاء النظام B\\|(2) لإنشاء عملية جديدة تشغل البرنامج نفسه عند " "النقطة ذاتها. تُعيد PID الابن إلى عملية الأب، و CW<0> إلى عملية الابن، أو " "CW<\\*(C`undef\\*(C'> إذا لم ينجح التفريع. تُشارَك واصفات الملفات (وأحياناً " "الأقفال على تلك الواصفات)، بينما يُنسخ كل شيء آخر. في معظم الأنظمة التي تدعم " "\\&B\\|(2)، بُذلت عناية كبيرة لجعلها فعالة للغاية (على سبيل المثال، " "باستخدام تقنية النسخ عند الكتابة على صفحات البيانات)، مما يجعلها النموذج " "المهيمن لتعدد المهام على مدى العقود القليلة الماضية." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Perl attempts to flush all files opened for output before forking the child " "process, but this may not be supported on some platforms (see perlport). To " "be safe, you may need to set \\&CW<$|> (CW<$AUTOFLUSH> in English) or call " "the CW<\\*(C`autoflush\\*(C'> method of CW<\\*(C`IO::Handle\\*(C'> on any " "open handles to avoid duplicate output." msgstr "" "تحاول بيرل (Perl) إفراغ جميع الملفات المفتوحة للمخرجات قبل تفريع عملية " "الابن، لكن قد لا يكون هذا مدعوماً في بعض المنصات (انظر perlport). للأمان، قد " "تحتاج إلى ضبط \\&CW<$|> (أو CW<$AUTOFLUSH> بالإنجليزية) أو استدعاء تابع " "CW<\\*(C`autoflush\\*(C'> الخاص بـ CW<\\*(C`IO::Handle\\*(C'> على أي مقابض " "مفتوحة لتجنب تكرار المخرجات." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "If you CW<\\*(C`fork\\*(C'> without ever waiting on your children, you will " "accumulate zombies. On some systems, you can avoid this by setting " "\\&CW<$SIG{CHLD}> to CW<\"IGNORE\">. See also perlipc for more examples of " "forking and reaping moribund children." msgstr "" "إذا أجريت CW<\\*(C`fork\\*(C'> دون الانتظار أبداً لأبنائك، ستتراكم العمليات " "الزومبي (zombies). في بعض الأنظمة، يمكنك تجنب ذلك بضبط \\&CW<$SIG{CHLD}> على " "CW<\"IGNORE\">. انظر أيضًا perlipc لمزيد من الأمثلة حول التفريع وحصد العمليات " "الابنة المحتضرة." #. type: Plain text #: debian-trixie debian-unstable msgid "" "Note that if your forked child inherits system file descriptors like STDIN " "and STDOUT that are actually connected by a pipe or socket, even if you " "exit, then the remote server (such as, say, a CGI script or a backgrounded " "job launched from a remote shell) won't think you're done. You should " "reopen those to I if it's any issue." msgstr "" "لاحظ أنه إذا ورث ابنك المفرع واصفات ملفات النظام مثل STDIN و STDOUT المتصلة " "فعلياً عبر أنبوب أو مقبس، فإنه حتى لو خرجت، لن يعتقد الخادم البعيد (مثل " "سكريبت CGI أو وظيفة في الخلفية أُطلقت من صدفة بعيدة) أنك انتهيت. يجب عليك " "إعادة فتح هذه الواصفات إلى I إذا كان ذلك يمثل أي مشكلة." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "On some platforms such as Windows, where the B\\|(2) system call is " "not available, Perl can be built to emulate CW<\\*(C`fork\\*(C'> in the Perl " "interpreter. The emulation is designed, at the level of the Perl program, " "to be as compatible as possible with the \"Unix\" B\\|(2). However it " "has limitations that have to be considered in code intended to be portable. " "See perlfork for more details." msgstr "" "في بعض المنصات مثل ويندوز، حيث لا يتوفر استدعاء النظام B\\|(2)، يمكن " "بناء بيرل لمحاكاة CW<\\*(C`fork\\*(C'> داخل مفسر بيرل. صُممت المحاكاة، على " "مستوى برنامج بيرل، لتكون متوافقة قدر الإمكان مع B\\|(2) الخاصة بـ " "\"يونكس\". ومع ذلك، فإن لها قيوداً يجب مراعاتها في الكود المقصود نقله. انظر " "perlfork لمزيد من التفاصيل." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "Portability issues: \"fork\" in perlport." msgstr "مسائل القابلية للنقل: \"fork\" في perlport." #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "format" msgstr "تنسيق" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Declare a picture format for use by the CW<\\*(C`write\\*(C'> function. For " "example:" msgstr "" "يُصرح عن تنسيق صورة لاستخدامه بواسطة دالة CW<\\*(C`write\\*(C'>. على سبيل " "المثال:" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "" "\\& format Something =\n" "\\& Test: @EEEEEEEE @||||| @EEEEE\n" "\\& $str, $%, \\*(Aq$\\*(Aq . int($num)\n" "\\& .\n" "\\&\n" "\\& $str = \"widget\";\n" "\\& $num = $cost/$quantity;\n" "\\& $~ = \\*(AqSomething\\*(Aq;\n" "\\& write;\n" msgstr "" "\\& format Something =\n" "\\& Test: @EEEEEEEE @||||| @EEEEE\n" "\\& $str, $%, \\*(Aq$\\*(Aq . int($num)\n" "\\& .\n" "\\&\n" "\\& $str = \"widget\";\n" "\\& $num = $cost/$quantity;\n" "\\& $~ = \\*(AqSomething\\*(Aq;\n" "\\& write;\n" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "See perlform for many details and examples." msgstr "انظر perlform للحصول على العديد من التفاصيل والأمثلة." #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "formline PICTURE,LIST" msgstr "formline PICTURE,LIST" #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "formline" msgstr "formline" #. type: Plain text #: debian-trixie debian-unstable msgid "" "This is an internal function used by CW<\\*(C`format\\*(C'>s, though you may " "call it, too. It formats (see perlform) a list of values according to the " "contents of PICTURE, placing the output into the format output accumulator, " "CW<$^A> (or CW<$ACCUMULATOR> in English). Eventually, when a " "CW<\\*(C`write\\*(C'> is done, the contents of CW<$^A> are written to some " "filehandle. You could also read CW<$^A> and then set \\&CW<$^A> back to " "CW<\"\">. Note that a format typically does one CW<\\*(C`formline\\*(C'> " "per line of form, but the \\&CW<\\*(C`formline\\*(C'> function itself " "doesn't care how many newlines are embedded in the PICTURE. This means that " "the CW<\\*(C`~\\*(C'> and \\&CW<\\*(C`~~\\*(C'> tokens treat the entire " "PICTURE as a single line. You may therefore need to use multiple formlines " "to implement a single record format, just like the CW<\\*(C`format\\*(C'> " "compiler." msgstr "" "هذه دالة داخلية تستخدمها التنسيقات (formats)، رغم أنه يمكنك استدعاؤها أيضًا. " "تقوم بتنسيق (انظر perlform) قائمة من القيم وفقاً لمحتويات PICTURE، وتضع " "المخرجات في مركم مخرجات التنسيق، CW<$^A> (أو CW<$ACCUMULATOR> بالإنجليزية). " "في النهاية، عند إجراء CW<\\*(C`write\\*(C'>، تُكتب محتويات CW<$^A> إلى مقبض " "ملف ما. يمكنك أيضًا قراءة CW<$^A> ثم إعادة ضبط \\&CW<$^A> إلى CW<\"\">. لاحظ " "أن التنسيق عادةً ما ينفذ CW<\\*(C`formline\\*(C'> واحدة لكل سطر من النموذج، " "لكن دالة \\&CW<\\*(C`formline\\*(C'> نفسها لا تهتم بعدد الأسطر الجديدة " "المضمنة في PICTURE. وهذا يعني أن علامات CW<\\*(C`~\\*(C'> و " "\\&CW<\\*(C`~~\\*(C'> تعامل PICTURE بأكملها كسطر واحد. لذلك قد تحتاج إلى " "استخدام عدة formlines لتنفيذ تنسيق سجل واحد، تماماً مثل مصرف " "CW<\\*(C`format\\*(C'>." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Be careful if you put double quotes around the picture, because an " "CW<\\*(C`@\\*(C'> character may be taken to mean the beginning of an array " "name. \\&CW<\\*(C`formline\\*(C'> always returns true. See perlform for " "other examples." msgstr "" "كن حذراً إذا وضعت علامتي اقتباس مزدوجتين حول الصورة، لأن حرف " "CW<\\*(C`@\\*(C'> قد يُفهم على أنه بداية اسم مصفوفة. تعيد " "\\&CW<\\*(C`formline\\*(C'> دائماً قيمة صحيحة. انظر perlform لمزيد من الأمثلة." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "If you are trying to use this instead of CW<\\*(C`write\\*(C'> to capture " "the output, you may find it easier to open a filehandle to a scalar " "(CW<\\*(C`open my $fh, \"E\", \\e$output\\*(C'>) and write to that " "instead." msgstr "" "إذا كنت تحاول استخدام هذه الدالة بدلاً من CW<\\*(C`write\\*(C'> لالتقاط " "المخرجات، فقد تجد أنه من الأسهل فتح مقبض ملف إلى كمية سلمية (CW<\\*(C`open " "my $fh, \"E\", \\e$output\\*(C'>) والكتابة إليها بدلاً من ذلك." #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "getc FILEHANDLE" msgstr "getc FILEHANDLE" #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "getc getchar character file, read" msgstr "getc getchar character file, read" #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "getc" msgstr "getc" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Returns the next character from the input file attached to FILEHANDLE, or " "the undefined value at end of file or if there was an error (in the latter " "case CW<$!> is set). If FILEHANDLE is omitted, reads from STDIN. This is " "not particularly efficient. However, it cannot be used by itself to fetch " "single characters without waiting for the user to hit enter. For that, try " "something more like:" msgstr "" "تُعيد المحرف التالي من ملف الإدخال المرفق بـ FILEHANDLE، أو القيمة غير " "المعرفة عند نهاية الملف أو في حال حدوث خطأ (في الحالة الأخيرة تُضبط CW<$!>). " "إذا حُذف FILEHANDLE، تُقرأ البيانات من STDIN. هذا ليس فعالاً بشكل خاص. ومع" " ذلك، " "لا يمكن استخدامه بمفرده لجلب محارف فردية دون انتظار ضغط المستخدم على مفتاح " "الإدخال (Enter). لذلك، جرب شيئاً مثل:" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "" "\\& if ($BSD_STYLE) {\n" "\\& system \"stty cbreak E/dev/tty E/dev/tty 2E&1\";\n" "\\& }\n" "\\& else {\n" "\\& system \"stty\", \\*(Aq-icanon\\*(Aq, \\*(Aqeol\\*(Aq," " \"\\e001\";\n" "\\& }\n" "\\&\n" "\\& my $key = getc(STDIN);\n" "\\&\n" "\\& if ($BSD_STYLE) {\n" "\\& system \"stty -cbreak E/dev/tty E/dev/tty 2E&1\";\n" "\\& }\n" "\\& else {\n" "\\& system \\*(Aqstty\\*(Aq, \\*(Aqicanon\\*(Aq, \\*(Aqeol\\*(Aq," " \\*(Aq^@\\*(Aq; # ASCII NUL\n" "\\& }\n" "\\& print \"\\en\";\n" msgstr "" "\\& if ($BSD_STYLE) {\n" "\\& system \"stty cbreak E/dev/tty E/dev/tty 2E&1\";\n" "\\& }\n" "\\& else {\n" "\\& system \"stty\", \\*(Aq-icanon\\*(Aq, \\*(Aqeol\\*(Aq," " \"\\e001\";\n" "\\& }\n" "\\&\n" "\\& my $key = getc(STDIN);\n" "\\&\n" "\\& if ($BSD_STYLE) {\n" "\\& system \"stty -cbreak E/dev/tty E/dev/tty 2E&1\";\n" "\\& }\n" "\\& else {\n" "\\& system \\*(Aqstty\\*(Aq, \\*(Aqicanon\\*(Aq, \\*(Aqeol\\*(Aq," " \\*(Aq^@\\*(Aq; # ASCII NUL\n" "\\& }\n" "\\& print \"\\en\";\n" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Determination of whether CW<$BSD_STYLE> should be set is left as an exercise " "to the reader." msgstr "تُرك تحديد ما إذا كان يجب ضبط CW<$BSD_STYLE> كتمرين للقارئ." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "The CW<\\*(C`POSIX::getattr\\*(C'> function can do this more portably on " "systems purporting POSIX compliance. See also the \\&CW<\\*(C`Term::" "ReadKey\\*(C'> module on CPAN." msgstr "" "يمكن لدالة CW<\\*(C`POSIX::getattr\\*(C'> القيام بذلك بشكل أكثر قابلية للنقل " "على الأنظمة التي تدعي توافقها مع POSIX. انظر أيضًا وحدة \\&CW<\\*(C`Term::" "ReadKey\\*(C'> على CPAN." #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "getlogin" msgstr "getlogin" #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "getlogin login" msgstr "getlogin login" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "This implements the C library function of the same name, which on most " "systems returns the current login from I, if any. If it returns " "the empty string, use CW<\\*(C`getpwuid\\*(C'>." msgstr "" "تنفذ هذه الدالة دالة مكتبة C التي تحمل الاسم نفسه، والتي تُعيد في معظم " "الأنظمة اسم الولوج الحالي من I إن وجد. إذا أعادت سلسلة فارغة، " "فاستخدم CW<\\*(C`getpwuid\\*(C'>." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "\\& my $login = getlogin || getpwuid($E) || \"Kilroy\";\n" msgstr "\\& my $login = getlogin || getpwuid($E) || \"Kilroy\";\n" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Do not consider CW<\\*(C`getlogin\\*(C'> for authentication: it is not as " "secure as CW<\\*(C`getpwuid\\*(C'>." msgstr "" "لا تعتمد على CW<\\*(C`getlogin\\*(C'> للاستيثاق: فهي ليست آمنة مثل " "CW<\\*(C`getpwuid\\*(C'>." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "Portability issues: \"getlogin\" in perlport." msgstr "مسائل القابلية للنقل: \"getlogin\" في perlport." #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "getpeername SOCKET" msgstr "getpeername SOCKET" #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "getpeername peer" msgstr "getpeername peer" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Returns the packed sockaddr address of the other end of the SOCKET " "connection." msgstr "" "تُعيد عنوان sockaddr المجمع (packed) للطرف الآخر من اتصال المقبس SOCKET." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "" "\\& use Socket;\n" "\\& my $hersockaddr = getpeername($sock);\n" "\\& my ($port, $iaddr) = sockaddr_in($hersockaddr);\n" "\\& my $herhostname = gethostbyaddr($iaddr, AF_INET);\n" "\\& my $herstraddr = inet_ntoa($iaddr);\n" msgstr "" "\\& use Socket;\n" "\\& my $hersockaddr = getpeername($sock);\n" "\\& my ($port, $iaddr) = sockaddr_in($hersockaddr);\n" "\\& my $herhostname = gethostbyaddr($iaddr, AF_INET);\n" "\\& my $herstraddr = inet_ntoa($iaddr);\n" #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "getpgrp PID" msgstr "getpgrp PID" #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "getpgrp group" msgstr "getpgrp group" #. type: Plain text #: debian-trixie debian-unstable msgid "" "Returns the current process group for the specified PID. Use a PID of CW<0> " "to get the current process group for the current process. Will raise an " "exception if used on a machine that doesn't implement B\\|(2). If " "PID is omitted, returns the process group of the current process." msgstr "" "تُعيد مجموعة العمليات الحالية لـ PID المحدد. استخدم PID بقيمة CW<0> للحصول " "على مجموعة العمليات الحالية للعملية الحالية. ستثير استثناءً إذا استُخدمت على " "جهاز لا ينفذ B\\|(2). إذا حُذف PID، تُعيد مجموعة العمليات للعملية " "الحالية." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Some very old machines may not support CW<\\*(C`PID != 0\\*(C'> and will " "throw an exception if CW<\\*(C`PID != 0\\*(C'>." msgstr "" "بعض الأجهزة القديمة جداً قد لا تدعم CW<\\*(C`PID != 0\\*(C'> وسترمي استثناءً " "إذا كانت CW<\\*(C`PID != 0\\*(C'>." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "Portability issues: \"getpgrp\" in perlport." msgstr "مسائل القابلية للنقل: \"getpgrp\" في perlport." #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "getppid" msgstr "getppid" #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "getppid parent pid" msgstr "getppid parent pid" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "Returns the process id of the parent process." msgstr "تُعيد معرف العملية (PID) لعملية الأب." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Note for Linux users: Between v5.8.1 and v5.16.0 Perl would work around non-" "POSIX thread semantics the minority of Linux systems (and Debian GNU/" "kFreeBSD systems) that used LinuxThreads, this emulation has since been " "removed. See the documentation for $$ for details." msgstr "" "ملاحظة لمستخدمي لينكس: بين الإصدارين v5.8.1 و v5.16.0 كانت بيرل تعالج دلالات " "خيوط المعالجة غير المتوافقة مع POSIX في أقلية من أنظمة لينكس (وأنظمة Debian " "GNU/kFreeBSD) التي استخدمت LinuxThreads، وقد أُزيلت هذه المحاكاة منذ ذلك " "الحين. انظر توثيق $$ للمزيد من التفاصيل." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "Portability issues: \"getppid\" in perlport." msgstr "مسائل القابلية للنقل: \"getppid\" في perlport." #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "getpriority WHICH,WHO" msgstr "getpriority WHICH,WHO" #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "getpriority priority nice" msgstr "getpriority priority nice" #. type: Plain text #: debian-trixie debian-unstable msgid "" "Returns the current priority for a process, a process group, or a user. " "(See B\\|(2).) Will raise a fatal exception if used on a " "machine that doesn't implement B\\|(2)." msgstr "" "تُعيد الأولوية الحالية لعملية، أو مجموعة عمليات، أو مستخدم. (انظر " "B\\|(2).) ستثير استثناءً قاتلاً إذا استُخدمت على جهاز لا ينفذ " "B\\|(2)." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "\\&CW<\\*(C`WHICH\\*(C'> can be any of CW<\\*(C`PRIO_PROCESS\\*(C'>, " "CW<\\*(C`PRIO_PGRP\\*(C'> or CW<\\*(C`PRIO_USER\\*(C'> imported from " "\"RESOURCE CONSTANTS\" in POSIX." msgstr "" "يمكن أن تكون \\&CW<\\*(C`WHICH\\*(C'> أي واحدة من " "CW<\\*(C`PRIO_PROCESS\\*(C'>، أو CW<\\*(C`PRIO_PGRP\\*(C'>، أو " "CW<\\*(C`PRIO_USER\\*(C'> المستوردة من \"RESOURCE CONSTANTS\" في POSIX." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "Portability issues: \"getpriority\" in perlport." msgstr "مسائل القابلية للنقل: \"getpriority\" في perlport." #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "getpwnam NAME" msgstr "getpwnam NAME" #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "" "getpwnam getgrnam gethostbyname getnetbyname getprotobyname getpwuid getgrgid" " getservbyname gethostbyaddr getnetbyaddr getprotobynumber getservbyport" " getpwent getgrent gethostent getnetent getprotoent getservent setpwent" " setgrent sethostent setnetent setprotoent setservent endpwent endgrent" " endhostent endnetent endprotoent endservent" msgstr "" "getpwnam getgrnam gethostbyname getnetbyname getprotobyname getpwuid getgrgid" " getservbyname gethostbyaddr getnetbyaddr getprotobynumber getservbyport" " getpwent getgrent gethostent getnetent getprotoent getservent setpwent" " setgrent sethostent setnetent setprotoent setservent endpwent endgrent" " endhostent endnetent endprotoent endservent" #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "getgrnam NAME" msgstr "getgrnam NAME" #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "gethostbyname NAME" msgstr "gethostbyname NAME" #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "getnetbyname NAME" msgstr "getnetbyname NAME" #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "getprotobyname NAME" msgstr "getprotobyname NAME" #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "getpwuid UID" msgstr "getpwuid UID" #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "getgrgid GID" msgstr "getgrgid GID" #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "getservbyname NAME,PROTO" msgstr "getservbyname NAME,PROTO" #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "gethostbyaddr ADDR,ADDRTYPE" msgstr "gethostbyaddr ADDR,ADDRTYPE" #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "getnetbyaddr ADDR,ADDRTYPE" msgstr "getnetbyaddr ADDR,ADDRTYPE" #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "getprotobynumber NUMBER" msgstr "getprotobynumber NUMBER" #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "getservbyport PORT,PROTO" msgstr "getservbyport PORT,PROTO" #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "getpwent" msgstr "getpwent" #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "getgrent" msgstr "getgrent" #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "gethostent" msgstr "gethostent" #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "getnetent" msgstr "getnetent" #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "getprotoent" msgstr "getprotoent" #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "getservent" msgstr "getservent" #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "setpwent" msgstr "setpwent" #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "setgrent" msgstr "setgrent" #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "sethostent STAYOPEN" msgstr "sethostent STAYOPEN" #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "setnetent STAYOPEN" msgstr "setnetent STAYOPEN" #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "setprotoent STAYOPEN" msgstr "setprotoent STAYOPEN" #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "setservent STAYOPEN" msgstr "setservent STAYOPEN" #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "endpwent" msgstr "endpwent" #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "endgrent" msgstr "endgrent" #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "endhostent" msgstr "endhostent" #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "endnetent" msgstr "endnetent" #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "endprotoent" msgstr "endprotoent" #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "endservent" msgstr "endservent" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "These routines are the same as their counterparts in the system C library. " "In list context, the return values from the various get routines are as " "follows:" msgstr "" "هذه الروتينات هي نفسها نظيراتها في مكتبة النظام C. في سياق القائمة (list " "context)، تكون قيم الإرجاع من روتينات الجلب (get) المختلفة كما يلي:" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "" "\\& # 0 1 2 3 4\n" "\\& my ( $name, $passwd, $gid, $members ) = getgr*\n" "\\& my ( $name, $aliases, $addrtype, $net ) = getnet*\n" "\\& my ( $name, $aliases, $port, $proto ) = getserv*\n" "\\& my ( $name, $aliases, $proto ) = getproto*\n" "\\& my ( $name, $aliases, $addrtype, $length, @addrs ) = gethost*\n" "\\& my ( $name, $passwd, $uid, $gid, $quota,\n" "\\& $comment, $gcos, $dir, $shell, $expire ) = getpw*\n" "\\& # 5 6 7 8 9\n" msgstr "" "\\& # 0 1 2 3 4\n" "\\& my ( $name, $passwd, $gid, $members ) = getgr*\n" "\\& my ( $name, $aliases, $addrtype, $net ) = getnet*\n" "\\& my ( $name, $aliases, $port, $proto ) = getserv*\n" "\\& my ( $name, $aliases, $proto ) = getproto*\n" "\\& my ( $name, $aliases, $addrtype, $length, @addrs ) = gethost*\n" "\\& my ( $name, $passwd, $uid, $gid, $quota,\n" "\\& $comment, $gcos, $dir, $shell, $expire ) = getpw*\n" "\\& # 5 6 7 8 9\n" #. type: Plain text #: debian-trixie debian-unstable msgid "" "(If the entry doesn't exist, the return value is a single meaningless true " "value.)" msgstr "" "(إذا لم يكن الإدخال موجوداً، فإن قيمة الإرجاع هي قيمة وحيدة صحيحة لا معنى " "لها.)" #. type: Plain text #: debian-trixie debian-unstable msgid "" "The exact meaning of the CW<$gcos> field varies but it usually contains the " "real name of the user (as opposed to the login name) and other information " "pertaining to the user. Beware, however, that in many system users are able " "to change this information and therefore it cannot be trusted and therefore " "the CW<$gcos> is tainted (see perlsec). The CW<$passwd> and CW<$shell>, " "user's encrypted password and login shell, are also tainted, for the same " "reason." msgstr "" "يختلف المعنى الدقيق لحقل CW<$gcos> ولكنه يحتوي عادةً على الاسم الحقيقي " "للمستخدم (على عكس اسم الولوج) ومعلومات أخرى تتعلق بالمستخدم. احذر، مع ذلك، " "من أنه في العديد من الأنظمة يستطيع المستخدمون تغيير هذه المعلومات، وبالتالي " "لا يمكن الوثوق بها، ومن ثم يكون الحقل CW<$gcos> ملوثاً (tainted) (انظر " "perlsec). كما أن CW<$passwd> و CW<$shell>، وهما كلمة مرور المستخدم المشفرة " "وصدفة الولوج، ملوثان أيضًا للسبب نفسه." #. type: Plain text #: debian-trixie debian-unstable msgid "" "In scalar context, you get the name, unless the function was a lookup by " "name, in which case you get the other thing, whatever it is. (If the entry " "doesn't exist you get the undefined value.) For example:" msgstr "" "في السياق السلمي (scalar context)، تحصل على الاسم، ما لم تكن الدالة بحثاً " "بالاسم، وفي هذه الحالة تحصل على الشيء الآخر، أياً كان. (إذا لم يكن الإدخال " "موجوداً، تحصل على القيمة غير المعرفة). على سبيل المثال:" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "" "\\& my $uid = getpwnam($name);\n" "\\& my $name = getpwuid($num);\n" "\\& my $name = getpwent();\n" "\\& my $gid = getgrnam($name);\n" "\\& my $name = getgrgid($num);\n" "\\& my $name = getgrent();\n" "\\& # etc.\n" msgstr "" "\\& my $uid = getpwnam($name);\n" "\\& my $name = getpwuid($num);\n" "\\& my $name = getpwent();\n" "\\& my $gid = getgrnam($name);\n" "\\& my $name = getgrgid($num);\n" "\\& my $name = getgrent();\n" "\\& # الخ.\n" #. type: Plain text #: debian-trixie debian-unstable msgid "" "In I the fields CW<$quota>, CW<$comment>, and CW<$expire> are " "special in that they are unsupported on many systems. If the \\&CW<$quota> " "is unsupported, it is an empty scalar. If it is supported, it usually " "encodes the disk quota. If the CW<$comment> field is unsupported, it is an " "empty scalar. If it is supported it usually encodes some administrative " "comment about the user. In some systems the CW<$quota> field may be " "CW<$change> or CW<$age>, fields that have to do with password aging. In " "some systems the CW<$comment> field may be CW<$class>. The CW<$expire> " "field, if present, encodes the expiration period of the account or the " "password. For the availability and the exact meaning of these fields in " "your system, please consult B\\|(3) and your system's \\&I " "file. You can also find out from within Perl what your \\&CW<$quota> and " "CW<$comment> fields mean and whether you have the CW<$expire> field by using " "the CW<\\*(C`Config\\*(C'> module and the values CW<\\*(C`d_pwquota\\*(C'>, " "CW<\\*(C`d_pwage\\*(C'>, \\&CW<\\*(C`d_pwchange\\*(C'>, " "CW<\\*(C`d_pwcomment\\*(C'>, and CW<\\*(C`d_pwexpire\\*(C'>. Shadow " "password files are supported only if your vendor has implemented them in the " "intuitive fashion that calling the regular C library routines gets the " "shadow versions if you're running under privilege or if there exists the " "B\\|(3) functions as found in System V (this includes Solaris and " "Linux). Those systems that implement a proprietary shadow password facility " "are unlikely to be supported." msgstr "" "في I، تعد الحقول CW<$quota> و CW<$comment> و CW<$expire> خاصة من " "حيث أنها غير مدعومة في العديد من الأنظمة. إذا كان \\&CW<$quota> غير مدعوم، " "فهو قيمة سلمية فارغة. إذا كان مدعومًا، فإنه عادةً ما يرمز حصة القرص (disk " "quota). إذا كان حقل CW<$comment> غير مدعوم، فهو قيمة سلمية فارغة. إذا كان " "مدعومًا فإنه عادةً ما يرمز بعض التعليقات الإدارية حول المستخدم. في بعض " "الأنظمة، قد يكون حقل CW<$quota> هو CW<$change> أو CW<$age>، وهي حقول تتعلق " "بتقادم كلمة المرور. في بعض الأنظمة قد يكون حقل CW<$comment> هو CW<$class>. " "حقل CW<$expire>، إذا وجد، يرمز فترة انتهاء صلاحية الحساب أو كلمة المرور. " "لمعرفة مدى توفر هذه الحقول ومعناها الدقيق في نظامك، يرجى مراجعة " "B\\|(3) وملف \\&I الخاص بنظامك. يمكنك أيضًا معرفة ما تعنيه " "حقول \\&CW<$quota> و CW<$comment> وما إذا كان لديك حقل CW<$expire> من داخل " "Perl باستخدام وحدة CW<\\*(C`Config\\*(C'> والقيم CW<\\*(C`d_pwquota\\*(C'> و " "CW<\\*(C`d_pwage\\*(C'> و \\&CW<\\*(C`d_pwchange\\*(C'> و " "CW<\\*(C`d_pwcomment\\*(C'> و CW<\\*(C`d_pwexpire\\*(C'>. ملفات كلمات المرور " "الظلية (Shadow password) مدعومة فقط إذا كان المورد قد نفذها بالطريقة " "البديهية بحيث أن استدعاء روتينات مكتبة C العادية يجلب إصدارات الظل إذا كنت " "تعمل تحت امتياز أو إذا وجدت دوال B\\|(3) كما هو موجود في System V " "(وهذا يشمل Solaris و Linux). الأنظمة التي تنفذ مرفق كلمة مرور ظلية مملوكًا من " "غير المرجح أن تكون مدعومة." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "The CW<$members> value returned by I is a space-separated list of " "the login names of the members of the group." msgstr "" "قيمة CW<$members> التي تعيدها I هي قائمة بأسماء ولوج أعضاء " "المجموعة، مفصولة بمسافات." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "For the I functions, if the CW<\\*(C`h_errno\\*(C'> variable is " "supported in C, it will be returned to you via CW<$?> if the function call " "fails. The \\&CW<@addrs> value returned by a successful call is a list of " "raw addresses returned by the corresponding library call. In the Internet " "domain, each address is four bytes long; you can unpack it by saying " "something like:" msgstr "" "بالنسبة لدوال I، إذا كان المتغير CW<\\*(C`h_errno\\*(C'> مدعوماً " "في C، فسيُعاد إليك عبر CW<$?> في حال فشل استدعاء الدالة. قيمة \\&CW<@addrs> " "التي يعيدها الاستدعاء الناجح هي قائمة بالعناوين الخام التي يعيدها استدعاء " "المكتبة المقابل. في نطاق الإنترنت، يبلغ طول كل عنوان أربعة بايتات؛ يمكنك فك " "تجميعه بقول شيء مثل:" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "\\& my ($w,$x,$y,$z) = unpack(\\*(AqW4\\*(Aq,$addr[0]);\n" msgstr "\\& my ($w,$x,$y,$z) = unpack(\\*(AqW4\\*(Aq,$addr[0]);\n" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "The Socket library makes this slightly easier:" msgstr "تجعل مكتبة Socket هذا الأمر أسهل قليلاً:" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "" "\\& use Socket;\n" "\\& my $iaddr = inet_aton(\"127.1\"); # or whatever address\n" "\\& my $name = gethostbyaddr($iaddr, AF_INET);\n" "\\&\n" "\\& # or going the other way\n" "\\& my $straddr = inet_ntoa($iaddr);\n" msgstr "" "\\& use Socket;\n" "\\& my $iaddr = inet_aton(\"127.1\"); # أو أي عنوان آخر\n" "\\& my $name = gethostbyaddr($iaddr, AF_INET);\n" "\\&\n" "\\& # أو بالاتجاه الآخر\n" "\\& my $straddr = inet_ntoa($iaddr);\n" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "In the opposite way, to resolve a hostname to the IP address you can write " "this:" msgstr "في الاتجاه المعاكس، لتحليل اسم مضيف إلى عنوان IP يمكنك كتابة هذا:" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "" "\\& use Socket;\n" "\\& my $packed_ip = gethostbyname(\"www.perl.org\");\n" "\\& my $ip_address;\n" "\\& if (defined $packed_ip) {\n" "\\& $ip_address = inet_ntoa($packed_ip);\n" "\\& }\n" msgstr "" "\\& use Socket;\n" "\\& my $packed_ip = gethostbyname(\"www.perl.org\");\n" "\\& my $ip_address;\n" "\\& if (defined $packed_ip) {\n" "\\& $ip_address = inet_ntoa($packed_ip);\n" "\\& }\n" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Make sure CW<\\*(C`gethostbyname\\*(C'> is called in SCALAR context and that " "its return value is checked for definedness." msgstr "" "تأكد من استدعاء CW<\\*(C`gethostbyname\\*(C'> في سياق SCALAR ومن فحص قيمة " "إرجاعها للتأكد من أنها معرفة." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "The CW<\\*(C`getprotobynumber\\*(C'> function, even though it only takes one " "argument, has the precedence of a list operator, so beware:" msgstr "" "دالة CW<\\*(C`getprotobynumber\\*(C'>، رغم أنها تأخذ وسيطاً واحداً فقط، إلا" " أن " "لها أسبقية معامل القائمة، لذا احذر:" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "" "\\& getprotobynumber $number eq \\*(Aqicmp\\*(Aq # WRONG\n" "\\& getprotobynumber($number eq \\*(Aqicmp\\*(Aq) # actually means this\n" "\\& getprotobynumber($number) eq \\*(Aqicmp\\*(Aq # better this way\n" msgstr "" "\\& getprotobynumber $number eq \\*(Aqicmp\\*(Aq # خطأ\n" "\\& getprotobynumber($number eq \\*(Aqicmp\\*(Aq) # تعني هذا فعلياً\n" "\\& getprotobynumber($number) eq \\*(Aqicmp\\*(Aq # الأفضل بهذه الطريقة\n" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "If you get tired of remembering which element of the return list contains " "which return value, by-name interfaces are provided in standard modules: " "CW<\\*(C`File::stat\\*(C'>, CW<\\*(C`Net::hostent\\*(C'>, \\&CW<\\*(C`Net::" "netent\\*(C'>, CW<\\*(C`Net::protoent\\*(C'>, \\&CW<\\*(C`Net::" "servent\\*(C'>, CW<\\*(C`Time::gmtime\\*(C'>, \\&CW<\\*(C`Time::" "localtime\\*(C'>, and \\&CW<\\*(C`User::grent\\*(C'>. These override the " "normal built-ins, supplying versions that return objects with the " "appropriate names for each field. For example:" msgstr "" "إذا مللت من تذكر أي عنصر في قائمة الإرجاع يحتوي على أي قيمة، فستجد واجهات " "بالاسم في الوحدات القياسية: CW<\\*(C`File::stat\\*(C'>، و CW<\\*(C`Net::" "hostent\\*(C'>، و \\&CW<\\*(C`Net::netent\\*(C'>، و CW<\\*(C`Net::" "protoent\\*(C'>، و \\&CW<\\*(C`Net::servent\\*(C'>، و CW<\\*(C`Time::" "gmtime\\*(C'>، و \\&CW<\\*(C`Time::localtime\\*(C'>، و \\&CW<\\*(C`User::" "grent\\*(C'>. هذه الوحدات تتجاوز الأدوات المدمجة العادية، موفرةً إصدارات تعيد " "كائنات بأسماء مناسبة لكل حقل. على سبيل المثال:" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "" "\\& use File::stat;\n" "\\& use User::pwent;\n" "\\& my $is_theirs = (stat($filename)-Euid == getpwnam($whoever)-Euid);\n" msgstr "" "\\& use File::stat;\n" "\\& use User::pwent;\n" "\\& my $is_theirs = (stat($filename)-Euid == getpwnam($whoever)-Euid);\n" #. type: Plain text #: debian-trixie debian-unstable msgid "" "Even though it looks as though they're the same method calls (uid), they " "aren't, because a CW<\\*(C`File::stat\\*(C'> object is different from a " "CW<\\*(C`User::pwent\\*(C'> object." msgstr "" "رغم أن الأمر يبدو وكأنه استدعاءات لنفس التابع (uid)، إلا أنها ليست كذلك، لأن " "كائن CW<\\*(C`File::stat\\*(C'> يختلف عن كائن CW<\\*(C`User::pwent\\*(C'>." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Many of these functions are not safe in a multi-threaded environment where " "more than one thread can be using them. In particular, functions like " "CW iterate per-process and not per-thread, so if two threads are " "simultaneously iterating, neither will get all the records." msgstr "" "العديد من هذه الدوال ليست آمنة في بيئة متعددة الخيوط حيث يمكن لأكثر من خيط " "استخدامها. وبشكل خاص، دوال مثل CW تكرر (iterate) لكل عملية وليس " "لكل خيط، لذا إذا كان خيطان يكرران في الوقت نفسه، فلن يحصل أي منهما على جميع " "السجلات." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Some systems have thread-safe versions of some of the functions, such as " "\\&CW instead of CW. There, Perl automatically " "and invisibly substitutes the thread-safe version, without notice. This " "means that code that safely runs on some systems can fail on others that " "lack the thread-safe versions." msgstr "" "تحتوي بعض الأنظمة على إصدارات آمنة للخيوط لبعض الدوال، مثل " "\\&CW بدلاً من CW. هناك، تقوم بيرل آلياً وبشكل غير " "مرئي باستبدال الإصدار الآمن للخيوط، دون إشعار. وهذا يعني أن الكود الذي يعمل " "بأمان في بعض الأنظمة قد يفشل في أنظمة أخرى تفتقر إلى الإصدارات الآمنة للخيوط." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Portability issues: \"getpwnam\" in perlport to \"endservent\" in perlport." msgstr "" "مسائل القابلية للنقل: من \"getpwnam\" في perlport إلى \"endservent\" في " "perlport." #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "getsockname SOCKET" msgstr "getsockname SOCKET" #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "getsockname" msgstr "getsockname" #. type: Plain text #: debian-trixie debian-unstable msgid "" "Returns the packed sockaddr address of this end of the SOCKET connection, in " "case you don't know the address because you have several different IPs that " "the connection might have come in on." msgstr "" "تُعيد عنوان sockaddr المجمع لهذا الطرف من اتصال SOCKET، في حال كنت لا تعرف " "العنوان لأن لديك عدة عناوين IP مختلفة يمكن أن يكون الاتصال قد ورد من خلالها." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "" "\\& use Socket;\n" "\\& my $mysockaddr = getsockname($sock);\n" "\\& my ($port, $myaddr) = sockaddr_in($mysockaddr);\n" "\\& printf \"Connect to %s [%s]\\en\",\n" "\\& scalar gethostbyaddr($myaddr, AF_INET),\n" "\\& inet_ntoa($myaddr);\n" msgstr "" "\\& use Socket;\n" "\\& my $mysockaddr = getsockname($sock);\n" "\\& my ($port, $myaddr) = sockaddr_in($mysockaddr);\n" "\\& printf \"Connect to %s [%s]\\en\",\n" "\\& scalar gethostbyaddr($myaddr, AF_INET),\n" "\\& inet_ntoa($myaddr);\n" #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "getsockopt SOCKET,LEVEL,OPTNAME" msgstr "getsockopt SOCKET,LEVEL,OPTNAME" #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "getsockopt" msgstr "getsockopt" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Queries the option named OPTNAME associated with SOCKET at a given LEVEL. " "Options may exist at multiple protocol levels depending on the socket type, " "but at least the uppermost socket level SOL_SOCKET (defined in the " "\\&CW<\\*(C`Socket\\*(C'> module) will exist. To query options at another " "level the protocol number of the appropriate protocol controlling the option " "should be supplied. For example, to indicate that an option is to be " "interpreted by the TCP protocol, LEVEL should be set to the protocol number " "of TCP, which you can get using \\&CW<\\*(C`getprotobyname\\*(C'>." msgstr "" "تستعلم عن الخيار المسمى OPTNAME المرتبط بالمقبس SOCKET عند مستوى LEVEL معين. " "قد توجد الخيارات عند مستويات بروتوكول متعددة اعتماداً على نوع المقبس، لكن على " "الأقل سيوجد أعلى مستوى للمقبس SOL_SOCKET (المُعرف في وحدة " "\\&CW<\\*(C`Socket\\*(C'>). للاستعلام عن خيارات عند مستوى آخر، يجب توفير رقم " "البروتوكول للبروتوكول المناسب الذي يتحكم في الخيار. على سبيل المثال، للإشارة " "إلى أن خياراً ما سيُفسر بواسطة بروتوكول TCP، يجب ضبط LEVEL على رقم بروتوكول " "TCP، والذي يمكنك الحصول عليه باستخدام \\&CW<\\*(C`getprotobyname\\*(C'>." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "The function returns a packed string representing the requested socket " "option, or CW<\\*(C`undef\\*(C'> on error, with the reason for the error " "placed in CW<$!>. Just what is in the packed string depends on LEVEL and " "OPTNAME; consult B\\|(2) for details. A common case is that the " "option is an integer, in which case the result is a packed integer, which " "you can decode using \\&CW<\\*(C`unpack\\*(C'> with the CW<\\*(C`i\\*(C'> " "(or CW<\\*(C`I\\*(C'>) format." msgstr "" "تُعيد الدالة سلسلة مجمعة (packed string) تمثل خيار المقبس المطلوب، أو " "CW<\\*(C`undef\\*(C'> عند حدوث خطأ، مع وضع سبب الخطأ في CW<$!>. ما يوجد " "بالضبط في السلسلة المجمعة يعتمد على LEVEL و OPTNAME؛ ارجع إلى " "B\\|(2) للتفاصيل. الحالة الشائعة هي أن يكون الخيار عدداً صحيحاً، " "وفي هذه الحالة تكون النتيجة عدداً صحيحاً مجمعاً، يمكنك فك ترميزه باستخدام " "\\&CW<\\*(C`unpack\\*(C'> مع التنسيق CW<\\*(C`i\\*(C'> (أو " "CW<\\*(C`I\\*(C'>)." #. type: Plain text #: debian-trixie debian-unstable msgid "" "Here's an example to test whether Nagle's algorithm is enabled on a socket:" msgstr "إليك مثال لاختبار ما إذا كانت خوارزمية Nagle مفعلة على مقبس:" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "" "\\& use Socket qw(:all);\n" "\\&\n" "\\& defined(my $tcp = getprotobyname(\"tcp\"))\n" "\\& or die \"Could not determine the protocol number for tcp\";\n" "\\& # my $tcp = IPPROTO_TCP; # Alternative\n" "\\& my $packed = getsockopt($socket, $tcp, TCP_NODELAY)\n" "\\& or die \"getsockopt TCP_NODELAY: $!\";\n" "\\& my $nodelay = unpack(\"I\", $packed);\n" "\\& print \"Nagle\\*(Aqs algorithm is turned \",\n" "\\& $nodelay ? \"off\\en\" : \"on\\en\";\n" msgstr "" "\\& use Socket qw(:all);\n" "\\&\n" "\\& defined(my $tcp = getprotobyname(\"tcp\"))\n" "\\& or die \"Could not determine the protocol number for tcp\";\n" "\\& # my $tcp = IPPROTO_TCP; # بديل\n" "\\& my $packed = getsockopt($socket, $tcp, TCP_NODELAY)\n" "\\& or die \"getsockopt TCP_NODELAY: $!\";\n" "\\& my $nodelay = unpack(\"I\", $packed);\n" "\\& print \"Nagle\\*(Aqs algorithm is turned \",\n" "\\& $nodelay ? \"off\\en\" : \"on\\en\";\n" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "Portability issues: \"getsockopt\" in perlport." msgstr "مسائل القابلية للنقل: \"getsockopt\" في perlport." #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "glob EXPR" msgstr "glob EXPR" #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "glob wildcard filename, expansion expand" msgstr "glob wildcard filename, expansion expand" #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "glob" msgstr "glob" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "In list context, returns a (possibly empty) list of filename expansions on " "the value of EXPR such as the Unix shell Bash would do. In scalar context, " "glob iterates through such filename expansions, returning " "\\&CW<\\*(C`undef\\*(C'> when the list is exhausted. If EXPR is omitted, " "\\&CW<$_> is used." msgstr "" "في سياق القائمة، تُعيد قائمة (قد تكون فارغة) من توسعات أسماء الملفات بناءً" " على " "قيمة EXPR كما تفعل صدفة يونكس باش (Bash). في السياق السلمي، تكرر glob عبر " "توسعات أسماء الملفات هذه، وتعيد \\&CW<\\*(C`undef\\*(C'> عندما تنفد القائمة. " "إذا حُذفت EXPR، تُستخدم \\&CW<$_>." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "" "\\& # List context\n" "\\& my @txt_files = glob(\"*.txt\");\n" "\\& my @perl_files = glob(\"*.pl *.pm\");\n" "\\&\n" "\\& # Scalar context\n" "\\& while (my $file = glob(\"*.mp3\")) {\n" "\\& # Do stuff\n" "\\& }\n" msgstr "" "\\& # سياق القائمة\n" "\\& my @txt_files = glob(\"*.txt\");\n" "\\& my @perl_files = glob(\"*.pl *.pm\");\n" "\\&\n" "\\& # السياق السلمي\n" "\\& while (my $file = glob(\"*.mp3\")) {\n" "\\& # فعل شيء ما\n" "\\& }\n" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Glob also supports an alternate syntax using CW<\\*(C`E\\*(C'> " "CW<\\*(C`E\\*(C'> as delimiters. While this syntax is supported, it is " "recommended that you use CW<\\*(C`glob\\*(C'> instead as it is more readable " "and searchable." msgstr "" "تدعم Glob أيضًا صيغة بديلة باستخدام CW<\\*(C`E\\*(C'> و " "CW<\\*(C`E\\*(C'> كفواصل. رغم أن هذه الصيغة مدعومة، يوصى باستخدام " "CW<\\*(C`glob\\*(C'> بدلاً منها لأنها أكثر قابلية للقراءة والبحث." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "\\& my @txt_files = E\"*.txt\"E;\n" msgstr "\\& my @txt_files = E\"*.txt\"E;\n" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "If you need case insensitive file globbing that can be achieved using the " "\\&CW<\\*(C`:nocase\\*(C'> parameter of the CW<\\*(C`bsd_glob\\*(C'> module." msgstr "" "إذا كنت بحاجة إلى مطابقة ملفات غير حساسة لحالة الأحرف، فيمكن تحقيق ذلك " "باستخدام معامل \\&CW<\\*(C`:nocase\\*(C'> في وحدة CW<\\*(C`bsd_glob\\*(C'>." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "" "\\& use File::Glob qw(:globally :nocase);\n" "\\&\n" "\\& my @txt = glob(\"readme*\"); # README readme.txt Readme.md\n" msgstr "" "\\& use File::Glob qw(:globally :nocase);\n" "\\&\n" "\\& my @txt = glob(\"readme*\"); # README readme.txt Readme.md\n" #. type: Plain text #: debian-trixie debian-unstable msgid "" "Note that CW<\\*(C`glob\\*(C'> splits its arguments on whitespace and treats " "each segment as separate pattern. As such, CW<\\*(C`glob(\"*.c *." "h\")\\*(C'> matches all files with a I<.c> or I<.h> extension. The " "expression \\&CW<\\*(C`glob(\".* *\")\\*(C'> matches all files in the " "current working directory. If you want to glob filenames that might contain " "whitespace, you'll have to use extra quotes around the spacey filename to " "protect it. For example, to glob filenames that have an CW<\\*(C`e\\*(C'> " "followed by a space followed by an CW<\\*(C`f\\*(C'>, use one of:" msgstr "" "لاحظ أن CW<\\*(C`glob\\*(C'> تقسم وسائطها عند المساحات البيضاء وتعامل كل جزء " "كنمط منفصل. وبناءً على ذلك، تطابق CW<\\*(C`glob(\"*.c *.h\")\\*(C'> جميع " "الملفات ذات اللاحقة I<.c> أو I<.h>. ويطابق التعبير \\&CW<\\*(C`glob(\".* " "*\")\\*(C'> جميع الملفات في دليل العمل الحالي. إذا كنت تريد مطابقة أسماء " "ملفات قد تحتوي على مساحات بيضاء، فسيتعين عليك استخدام علامات اقتباس إضافية " "حول اسم الملف الذي يحتوي على مسافات لحمايته. على سبيل المثال، لمطابقة أسماء " "الملفات التي تحتوي على حرف CW<\\*(C`e\\*(C'> متبوعاً بمسافة ثم حرف " "CW<\\*(C`f\\*(C'>، استخدم أحد ما يلي:" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "" "\\& my @spacies = E\"*e f*\"E;\n" "\\& my @spacies = glob(\\*(Aq\"*e f*\"\\*(Aq);\n" "\\& my @spacies = glob(q(\"*e f*\"));\n" msgstr "" "\\& my @spacies = E\"*e f*\"E;\n" "\\& my @spacies = glob(\\*(Aq\"*e f*\"\\*(Aq);\n" "\\& my @spacies = glob(q(\"*e f*\"));\n" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "If you had to get a variable through, you could do this:" msgstr "إذا اضطررت لتمرير متغير، يمكنك فعل ذلك:" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "" "\\& my @spacies = glob(\"\\*(Aq*${var}e f*\\*(Aq\");\n" "\\& my @spacies = glob(qq(\"*${var}e f*\"));\n" msgstr "" "\\& my @spacies = glob(\"\\*(Aq*${var}e f*\\*(Aq\");\n" "\\& my @spacies = glob(qq(\"*${var}e f*\"));\n" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "If non-empty braces are the only wildcard characters used in the " "\\&CW<\\*(C`glob\\*(C'>, no filenames are matched, but potentially many " "strings are returned. For example, this produces nine strings, one for each " "pairing of fruits and colors:" msgstr "" "إذا كانت الأقواس غير الفارغة هي حروف البدل الوحيدة المستخدمة في " "\\&CW<\\*(C`glob\\*(C'>، فلن تُطابق أي أسماء ملفات، ولكن قد تُعاد سلاسل" " عديدة. " "على سبيل المثال، ينتج عن هذا تسع سلاسل، واحدة لكل اقتران بين الفواكه " "والألوان:" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "\\& my @many = glob(\"{apple,tomato,cherry}={green,yellow,red}\");\n" msgstr "" "\\& my @many = glob(\"{apple,tomato,cherry}={green,yellow,red}\");\n" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "This operator is implemented using the standard CW<\\*(C`File::Glob\\*(C'> " "extension. See CW<\\*(C`bsd_glob\\*(C'> for details, including " "\\&CW<\\*(C`bsd_glob\\*(C'>, which does not treat whitespace as a pattern " "separator." msgstr "" "هذا المعامل مُنفذ باستخدام ملحق CW<\\*(C`File::Glob\\*(C'> القياسي. انظر " "CW<\\*(C`bsd_glob\\*(C'> للتفاصيل، بما في ذلك \\&CW<\\*(C`bsd_glob\\*(C'> " "التي لا تعامل المساحات البيضاء كفاصل للأنماط." #. type: Plain text #: debian-trixie debian-unstable msgid "" "If a CW<\\*(C`glob\\*(C'> expression is used as the condition of a " "CW<\\*(C`while\\*(C'> or CW<\\*(C`for\\*(C'> loop, then it will be " "implicitly assigned to CW<$_>. If either a CW<\\*(C`glob\\*(C'> expression " "or an explicit assignment of a CW<\\*(C`glob\\*(C'> expression to a scalar " "is used as a CW<\\*(C`while\\*(C'>/CW<\\*(C`for\\*(C'> condition, then the " "condition actually tests for definedness of the expression's value, not for " "its regular truth value." msgstr "" "إذا استُخدم تعبير CW<\\*(C`glob\\*(C'> كشرط في حلقة CW<\\*(C`while\\*(C'> أو " "CW<\\*(C`for\\*(C'>، فسيُخصص ضمنياً لـ CW<$_>. وإذا استُخدم تعبير " "CW<\\*(C`glob\\*(C'> أو تخصيص صريح لتعبير CW<\\*(C`glob\\*(C'> لمتغير سلمي " "كشرط لـ CW<\\*(C`while\\*(C'>/CW<\\*(C`for\\*(C'>، فإن الشرط يختبر فعلياً ما " "إذا كانت قيمة التعبير معرفة، وليس قيمتها المنطقية العادية." #. type: Plain text #: debian-trixie debian-unstable msgid "Internal implemenation details:" msgstr "تفاصيل التنفيذ الداخلي:" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "This is the internal function implementing the CW<\\*(C`E*.cE\\*(C'> " "operator, but you can use it directly. The CW<\\*(C`E*.cE\\*(C'> " "operator is discussed in more detail in \"I/O Operators\" in perlop." msgstr "" "هذه هي الدالة الداخلية التي تنفذ معامل CW<\\*(C`E*.cE\\*(C'>، ولكن " "يمكنك استخدامها مباشرة. نُوقش معامل \\&CW<\\*(C`E*.cE\\*(C'> بمزيد من " "التفصيل في \"معاملات الإدخال والإخراج\" في perlop." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "Portability issues: \"glob\" in perlport." msgstr "مسائل القابلية للنقل: \"glob\" في perlport." #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "gmtime EXPR" msgstr "gmtime EXPR" #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "gmtime UTC Greenwich" msgstr "gmtime UTC Greenwich" #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "gmtime" msgstr "gmtime" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Works just like CW<\\*(C`localtime\\*(C'>, but the returned values are " "localized for the standard Greenwich time zone." msgstr "" "تعمل تماماً مثل CW<\\*(C`localtime\\*(C'>، ولكن القيم المعادة تكون محلية" " وفقاً " "لتوقيت غرينتش القياسي." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Note: When called in list context, CW<$isdst>, the last value returned by " "gmtime, is always CW<0>. There is no Daylight Saving Time in GMT." msgstr "" "ملاحظة: عند الاستدعاء في سياق القائمة، تكون CW<$isdst>، وهي القيمة الأخيرة " "التي تعيدها gmtime، دائماً CW<0>. فلا يوجد توقيت صيفي في GMT." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "Portability issues: \"gmtime\" in perlport." msgstr "مسائل القابلية للنقل: \"gmtime\" في perlport." #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "goto LABEL" msgstr "goto LABEL" #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "goto jump jmp" msgstr "goto jump jmp" #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "goto EXPR" msgstr "goto EXPR" #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "goto &NAME" msgstr "goto &NAME" #. type: Plain text #: debian-trixie debian-unstable msgid "" "The CW<\\*(C`goto LABEL\\*(C'> form finds the statement labeled with LABEL " "and resumes execution there. It can't be used to get out of a block or " "subroutine given to CW<\\*(C`sort\\*(C'>. It can be used to go almost " "anywhere else within the dynamic scope, including out of subroutines, but " "it's usually better to use some other construct such as " "\\&CW<\\*(C`last\\*(C'> or CW<\\*(C`die\\*(C'>. The author of Perl has " "never felt the need to use this form of CW<\\*(C`goto\\*(C'> (in Perl, that " "is; C is another matter). (The difference is that C does not offer named " "loops combined with loop control. Perl does, and this replaces most " "structured uses of CW<\\*(C`goto\\*(C'> in other languages.)" msgstr "" "تبحث صيغة CW<\\*(C`goto LABEL\\*(C'> عن العبارة الموسومة بـ LABEL وتستأنف " "التنفيذ هناك. لا يمكن استخدامها للخروج من كتلة برمجية (block) أو روتين فرعي " "ممرر لـ CW<\\*(C`sort\\*(C'>. يمكن استخدامها للانتقال إلى أي مكان آخر تقريباً " "ضمن النطاق الديناميكي، بما في ذلك الخروج من الروتينات الفرعية، ولكن من " "الأفضل عادةً استخدام بنية أخرى مثل \\&CW<\\*(C`last\\*(C'> أو " "CW<\\*(C`die\\*(C'>. لم يشعر مؤلف بيرل أبداً بالحاجة إلى استخدام هذه الصيغة " "من CW<\\*(C`goto\\*(C'> (في بيرل تحديداً؛ أما في C فالأمر مختلف). (الفرق هو " "أن C لا توفر حلقات مسماة مقترنة بالتحكم في الحلقة، بينما تفعل بيرل ذلك، وهذا " "يحل محل معظم الاستخدامات المهيكلة لـ CW<\\*(C`goto\\*(C'> في اللغات الأخرى)." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "The CW<\\*(C`goto EXPR\\*(C'> form expects to evaluate CW<\\*(C`EXPR\\*(C'> " "to a code reference or a label name. If it evaluates to a code reference, " "it will be handled like CW<\\*(C`goto &NAME\\*(C'>, below. This is " "especially useful for implementing tail recursion via CW<\\*(C`goto _\\|" "_SUB_\\|_\\*(C'>." msgstr "" "تتوقع الصيغة CW<\\*(C`goto EXPR\\*(C'> تقييم CW<\\*(C`EXPR\\*(C'> إلى مرجع " "برمجي أو اسم لصيقة. إذا قُيّم إلى مرجع برمجي، فسيُعامل مثل CW<\\*(C`goto " "&NAME\\*(C'> المذكورة أدناه. يفيد هذا خصوصًا في تنفيذ العودية الذيلية (tail " "recursion) عبر CW<\\*(C`goto _\\|_SUB_\\|_\\*(C'>." #. type: Plain text #: debian-trixie debian-unstable msgid "" "If the expression evaluates to a label name, its scope will be resolved " "dynamically. This allows for computed CW<\\*(C`goto\\*(C'>s per FORTRAN, " "but isn't necessarily recommended if you're optimizing for maintainability:" msgstr "" "إذا قُيّم التعبير إلى اسم لصيقة، فسيُحل نطاقه ديناميكيًا. يسمح هذا بعمليات " "CW<\\*(C`goto\\*(C'> محسوبة وفق أسلوب فورتران (FORTRAN)، لكن لا يُنصح به " "بالضرورة إذا كنت تسعى لتحسين قابلية الصيانة:" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "\\& goto (\"FOO\", \"BAR\", \"GLARCH\")[$i];\n" msgstr "\\& goto (\"FOO\", \"BAR\", \"GLARCH\")[$i];\n" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "As shown in this example, CW<\\*(C`goto EXPR\\*(C'> is exempt from the " "\"looks like a function\" rule. A pair of parentheses following it does not " "(necessarily) delimit its argument. CW<\\*(C`goto(\"NE\").\"XT\"\\*(C'> is " "equivalent to CW<\\*(C`goto NEXT\\*(C'>. Also, unlike most named operators, " "this has the same precedence as assignment." msgstr "" "كما يظهر في هذا المثال، تُعفى CW<\\*(C`goto EXPR\\*(C'> من قاعدة \"ما يبدو " "دالة\". فلا يحدد زوج الأقواس الذي يليها وسيطها (بالضرورة). فالتعبير " "CW<\\*(C`goto(\"NE\").\"XT\"\\*(C'> يكافئ CW<\\*(C`goto NEXT\\*(C'>. كما أن " "لهذا العامل، بخلاف معظم العوامل المسماة، أسبقية الإسناد نفسها." #. type: Plain text #: debian-trixie debian-unstable msgid "" "Use of CW<\\*(C`goto LABEL\\*(C'> or CW<\\*(C`goto EXPR\\*(C'> to jump into " "a construct is deprecated and will issue a warning; it will become a fatal " "error in Perl 5.42. While still available, it may not be used to go into any " "construct that requires initialization, such as a subroutine, a " "CW<\\*(C`foreach\\*(C'> loop, or a CW<\\*(C`given\\*(C'> block. In general, " "it may not be used to jump into the parameter of a binary or list operator, " "but it may be used to jump into the \\&I parameter of a binary " "operator. (The CW<\\*(C`=\\*(C'> assignment operator's \"first\" operand is " "its right-hand operand.) It also can't be used to go into a construct that " "is optimized away." msgstr "" "يعد استخدام CW<\\*(C`goto LABEL\\*(C'> أو CW<\\*(C`goto EXPR\\*(C'> للقفز " "إلى داخل بنية ما مهجورًا وسيصدر تحذيرًا؛ وسيصبح خطأً فادحًا في إصدار بيرل" " 5.42. " "وبينما لا يزال متاحًا، فلا يجوز استخدامه للدخول إلى أي بنية تتطلب تهيئة، مثل " "دالة فرعية، أو حلقة CW<\\*(C`foreach\\*(C'>، أو كتلة CW<\\*(C`given\\*(C'>. " "وبوجه عام، لا يجوز استخدامه للقفز إلى معامل لعامل ثنائي أو عامل قائمة، ولكن " "يمكن استخدامه للقفز إلى المعامل I<الأول> لعامل ثنائي. (المعامل \"الأول\" " "لعامل الإسناد CW<\\*(C`=\\*(C'> هو معامله الأيمن). كما لا يمكن استخدامه " "للدخول في بنية أُزيلت عبر التحسين." #. type: Plain text #: debian-trixie debian-unstable msgid "" "The CW<\\*(C`goto &NAME\\*(C'> form is quite different from the other forms " "of \\&CW<\\*(C`goto\\*(C'>. In fact, it isn't a goto in the normal sense at " "all, and doesn't have the stigma associated with other gotos. Instead, it " "exits the current subroutine (losing any changes set by " "\\&CW<\\*(C`local\\*(C'>) and immediately calls in its place the named " "subroutine using the current value of CW<@_>. This is used by " "CW<\\*(C`AUTOLOAD\\*(C'> subroutines that wish to load another subroutine " "and then pretend that the other subroutine had been called in the first " "place (except that any modifications to CW<@_> in the current subroutine are " "propagated to the other subroutine.) After the \\&CW<\\*(C`goto\\*(C'>, not " "even CW<\\*(C`caller\\*(C'> will be able to tell that this routine was " "called first." msgstr "" "تختلف الصيغة CW<\\*(C`goto &NAME\\*(C'> تمامًا عن الصيغ الأخرى لـ " "\\&CW<\\*(C`goto\\*(C'>. في الواقع، هي ليست goto بالمعنى المعتاد على " "الإطلاق، ولا تحمل السمعة السيئة المرتبطة بعمليات goto الأخرى. بدلاً من ذلك، " "فإنها تخرج من الدالة الفرعية الحالية (وتفقد أي تغييرات عُينت بواسطة " "\\&CW<\\*(C`local\\*(C'>) وتستدعي فورًا مكانها الدالة الفرعية المسماة " "باستخدام القيمة الحالية لـ CW<@_>. يُستخدم هذا بواسطة دوال " "CW<\\*(C`AUTOLOAD\\*(C'> التي ترغب في تحميل دالة فرعية أخرى ثم التظاهر بأن " "الدالة الأخرى هي التي استُدعيت في المقام الأول (باستثناء أن أي تعديلات على " "CW<@_> في الدالة الحالية تُنقل إلى الدالة الأخرى). بعد " "\\&CW<\\*(C`goto\\*(C'>، لن يتمكن حتى CW<\\*(C`caller\\*(C'> (المستدعِي) من " "معرفة أن هذه الدالة كانت المستدعاة أولاً." #. type: Plain text #: debian-trixie debian-unstable msgid "" "NAME needn't be the name of a subroutine; it can be a scalar variable " "containing a code reference or a block that evaluates to a code reference." msgstr "" "ليس بالضرورة أن يكون NAME اسمًا لدالة فرعية؛ بل يمكن أن يكون متغيرًا سلميًا " "يحتوي على مرجع برمجي أو كتلة تُقيّم إلى مرجع برمجي." #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "grep BLOCK LIST" msgstr "grep BLOCK LIST" #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "grep" msgstr "grep" #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "grep EXPR,LIST" msgstr "grep EXPR,LIST" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "This is similar in spirit to, but not the same as, B\\|(1) and its " "relatives. In particular, it is not limited to using regular expressions." msgstr "" "هذا مشابه في جوهره لبرنامج B\\|(1) وأقاربه، ولكنه ليس نفسه. على وجه " "الخصوص، هو غير مقتصر على استخدام التعبيرات النمطية." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Evaluates the BLOCK or EXPR for each element of LIST (locally setting " "\\&CW<$_> to each element) and returns the list value consisting of those " "elements for which the expression evaluated to true. In scalar context, " "returns the number of times the expression was true." msgstr "" "يُقيّم BLOCK أو EXPR لكل عنصر من عناصر LIST (مع تعيين \\&CW<$_> محليًا لكل " "عنصر) ويعيد قيمة القائمة المكونة من تلك العناصر التي قُيّم التعبير لها بأنه " "صواب. في السياق السلمي، يعيد عدد المرات التي كان فيها التعبير صوابًا." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "\\& my @foo = grep(!/^#/, @bar); # weed out comments\n" msgstr "\\& my @foo = grep(!/^#/, @bar); # استبعاد التعليقات\n" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "or equivalently," msgstr "أو بشكل مكافئ،" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "\\& my @foo = grep {!/^#/} @bar; # weed out comments\n" msgstr "\\& my @foo = grep {!/^#/} @bar; # استبعاد التعليقات\n" #. type: Plain text #: debian-trixie debian-unstable msgid "" "Note that CW<$_> is an alias to the list value, so it can be used to modify " "the elements of the LIST. While this is useful and supported, it can cause " "bizarre results if the elements of LIST are not variables. Similarly, grep " "returns aliases into the original list, much as a for loop's index variable " "aliases the list elements. That is, modifying an element of a list returned " "by grep (for example, in a CW<\\*(C`foreach\\*(C'>, \\&CW<\\*(C`map\\*(C'> " "or another CW<\\*(C`grep\\*(C'>) actually modifies the element in the " "original list. This is usually something to be avoided when writing clear " "code." msgstr "" "لاحظ أن CW<$_> هو اسم مستعار لقيمة القائمة، لذا يمكن استخدامه لتعديل عناصر " "LIST. وبينما يعد هذا مفيدًا ومدعومًا، إلا أنه قد يسبب نتائج غريبة إذا لم تكن " "عناصر LIST متغيرات. وبالمثل، يعيد grep أسماءً مستعارة تشير إلى القائمة " "الأصلية، تمامًا مثلما يشير متغير الفهرس في حلقة for إلى عناصر القائمة. أي أن " "تعديل عنصر في قائمة أعادها grep (على سبيل المثال، في CW<\\*(C`foreach\\*(C'> " "أو \\&CW<\\*(C`map\\*(C'> أو CW<\\*(C`grep\\*(C'> أخرى) سيؤدي فعليًا إلى " "تعديل العنصر في القائمة الأصلية. وعادة ما يكون هذا شيئًا يجب تجنبه عند كتابة " "كود واضح." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "See also CW<\\*(C`map\\*(C'> for a list composed of the results of the BLOCK " "or EXPR." msgstr "" "انظر أيضًا CW<\\*(C`map\\*(C'> للحصول على قائمة مؤلفة من نتائج BLOCK أو EXPR." #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "hex EXPR" msgstr "hex EXPR" #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "hex hexadecimal" msgstr "hex hexadecimal" #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "hex" msgstr "hex" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Interprets EXPR as a hex string and returns the corresponding numeric " "value. If EXPR is omitted, uses CW<$_>." msgstr "" "يفسر EXPR كسلسلة نصية سداسية عشرية ويعيد القيمة الرقمية المقابلة. إذا حُذف " "EXPR، يُستخدم CW<$_>." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "" "\\& print hex \\*(Aq0xAf\\*(Aq; # prints \\*(Aq175\\*(Aq\n" "\\& print hex \\*(AqaF\\*(Aq; # same\n" "\\& $valid_input =~ /\\eA(?:0?[xX])?(?:_?[0-9a-fA-F])*\\ez/\n" msgstr "" "\\& print hex \\*(Aq0xAf\\*(Aq; # يطبع \\*(Aq175\\*(Aq\n" "\\& print hex \\*(AqaF\\*(Aq; # القيمة نفسها\n" "\\& $valid_input =~ /\\eA(?:0?[xX])?(?:_?[0-9a-fA-F])*\\ez/\n" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "A hex string consists of hex digits and an optional CW<\\*(C`0x\\*(C'> or " "CW<\\*(C`x\\*(C'> prefix. Each hex digit may be preceded by a single " "underscore, which will be ignored. Any other character triggers a warning " "and causes the rest of the string to be ignored (even leading whitespace, " "unlike CW<\\*(C`oct\\*(C'>). Only integers can be represented, and integer " "overflow triggers a warning." msgstr "" "تتكون السلسلة السداسية عشرية من أرقام سداسية عشرية وبادئة اختيارية " "CW<\\*(C`0x\\*(C'> أو CW<\\*(C`x\\*(C'>. يمكن أن يسبق كل رقم سداسي عشري شرطة " "سفلية واحدة، والتي ستُتجاهل. أي حرف آخر سيؤدي إلى إطلاق تحذير ويتسبب في تجاهل " "بقية السلسلة (حتى المسافات البيضاء البادئة، على عكس CW<\\*(C`oct\\*(C'>). " "يمكن تمثيل الأعداد الصحيحة فقط، ويؤدي طفح الأعداد الصحيحة إلى إطلاق تحذير." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "To convert strings that might start with any of CW<0>, CW<\\*(C`0x\\*(C'>, " "or CW<\\*(C`0b\\*(C'>, see CW<\\*(C`oct\\*(C'>. To present something as " "hex, look into \\&CW<\\*(C`printf\\*(C'>, \\&CW<\\*(C`sprintf\\*(C'>, and " "\\&CW<\\*(C`unpack\\*(C'>." msgstr "" "لتحويل السلاسل التي قد تبدأ بأي من CW<0> أو CW<\\*(C`0x\\*(C'> أو " "CW<\\*(C`0b\\*(C'>، انظر CW<\\*(C`oct\\*(C'>. لتمثيل شيء ما بصيغة سداسية " "عشرية، ابحث في \\&CW<\\*(C`printf\\*(C'> و \\&CW<\\*(C`sprintf\\*(C'> و " "\\&CW<\\*(C`unpack\\*(C'>." #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "import LIST" msgstr "import LIST" #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "import" msgstr "import" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "There is no builtin CW<\\*(C`import\\*(C'> function. It is just an ordinary " "method (subroutine) defined (or inherited) by modules that wish to export " "names to another module. The \\&CW<\\*(C`use\\*(C'> function calls the " "\\&CW<\\*(C`import\\*(C'> method for the package used. See also " "\\&CW<\\*(C`use\\*(C'>, perlmod, and Exporter." msgstr "" "لا توجد دالة CW<\\*(C`import\\*(C'> مبنية مسبقًا. إنها مجرد طريقة (دالة " "فرعية) عادية تُعرف (أو تُورث) بواسطة الوحدات التي ترغب في تصدير أسماء إلى" " وحدة " "أخرى. تستدعي دالة \\&CW<\\*(C`use\\*(C'> طريقة \\&CW<\\*(C`import\\*(C'> " "للحزمة المستخدمة. انظر أيضًا \\&CW<\\*(C`use\\*(C'> و perlmod و Exporter." #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "index STR,SUBSTR,POSITION" msgstr "index STR,SUBSTR,POSITION" #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "index indexOf InStr" msgstr "index indexOf InStr" #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "index STR,SUBSTR" msgstr "index STR,SUBSTR" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "The index function searches for one string within another, but without the " "wildcard-like behavior of a full regular-expression pattern match. It " "returns the position of the first occurrence of SUBSTR in STR at or after " "POSITION. If POSITION is omitted, starts searching from the beginning of " "the string. POSITION before the beginning of the string or after its end is " "treated as if it were the beginning or the end, respectively. POSITION and " "the return value are based at zero. If the substring is not found, " "CW<\\*(C`index\\*(C'> returns -1." msgstr "" "تبحث دالة index عن سلسلة نصية داخل أخرى، ولكن بدون سلوك البطاقات العامة " "الموجود في مطابقة الأنماط الكاملة للتعبيرات النمطية. تعيد موضع أول ظهور لـ " "SUBSTR في STR عند أو بعد POSITION. إذا حُذف POSITION، يبدأ البحث من بداية " "السلسلة. يُعامل POSITION قبل بداية السلسلة أو بعد نهايتها كما لو كان البداية " "أو النهاية، على التوالي. يعتمد POSITION والقيمة المعادة على الصفر. إذا لم " "يُعثر على السلسلة الفرعية، تعيد CW<\\*(C`index\\*(C'> القيمة -1." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "Find characters or strings:" msgstr "البحث عن أحرف أو سلاسل نصية:" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "" "\\& index(\"Perl is great\", \"P\"); # Returns 0\n" "\\& index(\"Perl is great\", \"g\"); # Returns 8\n" "\\& index(\"Perl is great\", \"great\"); # Also returns 8\n" msgstr "" "\\& index(\"Perl is great\", \"P\"); # يعيد 0\n" "\\& index(\"Perl is great\", \"g\"); # يعيد 8\n" "\\& index(\"Perl is great\", \"great\"); # يعيد أيضًا 8\n" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "Attempting to find something not there:" msgstr "محاولة البحث عن شيء غير موجود:" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "\\& index(\"Perl is great\", \"Z\"); # Returns -1 (not found)\n" msgstr "" "\\& index(\"Perl is great\", \"Z\"); # يعيد -1 (لم يُعثر عليه)\n" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "Using an offset to find the I occurrence:" msgstr "استخدام إزاحة للعثور على الظهور I<الثاني>:" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "\\& index(\"Perl is great\", \"e\", 5); # Returns 10\n" msgstr "\\& index(\"Perl is great\", \"e\", 5); # يعيد 10\n" #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "int EXPR" msgstr "int EXPR" #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "int integer truncate trunc floor" msgstr "int integer truncate trunc floor" #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "int" msgstr "int" #. type: Plain text #: debian-trixie debian-unstable msgid "" "Returns the integer portion of EXPR. If EXPR is omitted, uses \\&CW<$_>. " "You should not use this function for rounding: one because it truncates " "towards CW<0>, and two because machine representations of floating-point " "numbers can sometimes produce counterintuitive results. For example, " "\\&CW produces -268 rather than the correct -269; that's " "because it's really more like -268.99999999999994315658 instead. Usually, " "the CW<\\*(C`sprintf\\*(C'>, \\&CW<\\*(C`printf\\*(C'>, or the " "\\&CW<\\*(C`POSIX::floor\\*(C'> and CW<\\*(C`POSIX::ceil\\*(C'> functions " "will serve you better than will CW<\\*(C`int\\*(C'>." msgstr "" "يعيد الجزء الصحيح من EXPR. إذا حُذف EXPR، يُستخدم \\&CW<$_>. لا ينبغي استخدام " "هذه الدالة للتقريب: أولاً لأنها تقتطع باتجاه CW<0>، وثانيًا لأن التمثيلات " "الآلية للأرقام ذات الفاصلة العائمة قد تنتج أحيانًا نتائج غير متوقعة. على سبيل " "المثال، ينتج \\&CW القيمة -268 بدلاً من -269 الصحيحة؛ وذلك " "لأنها في الواقع أقرب إلى -268.99999999999994315658. عادةً ما تكون الدوال " "CW<\\*(C`sprintf\\*(C'> و \\&CW<\\*(C`printf\\*(C'> أو دوال " "\\&CW<\\*(C`POSIX::floor\\*(C'> و CW<\\*(C`POSIX::ceil\\*(C'> أفضل لك من " "CW<\\*(C`int\\*(C'>." #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "ioctl FILEHANDLE,FUNCTION,SCALAR" msgstr "ioctl FILEHANDLE,FUNCTION,SCALAR" #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "ioctl" msgstr "ioctl" #. type: Plain text #: debian-trixie debian-unstable msgid "" "Implements the B\\|(2) function. You'll probably first have to say" msgstr "تنفذ دالة B\\|(2). من المحتمل أن تضطر أولاً إلى كتابة" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "" "\\& require \"sys/ioctl.ph\"; # probably in\n" "\\& # $Config{archlib}/sys/ioctl.ph\n" msgstr "" "\\& require \"sys/ioctl.ph\"; # ربما يكون في\n" "\\& # $Config{archlib}/sys/ioctl.ph\n" #. type: Plain text #: debian-trixie debian-unstable msgid "" "to get the correct function definitions. If I doesn't exist " "or doesn't have the correct definitions you'll have to roll your own, based " "on your C header files such as Isys/ioctl.hE>. (There is a Perl " "script called B that comes with the Perl kit that may help you in " "this, but it's nontrivial.) SCALAR will be read and/or written depending on " "the FUNCTION; a C pointer to the string value of SCALAR will be passed as " "the third argument of the actual \\&CW<\\*(C`ioctl\\*(C'> call. (If SCALAR " "has no string value but does have a numeric value, that value will be passed " "rather than a pointer to the string value. To guarantee this to be true, " "add a CW<0> to the scalar before using it.) The \\&CW<\\*(C`pack\\*(C'> and " "CW<\\*(C`unpack\\*(C'> functions may be needed to manipulate the values of " "structures used by \\&CW<\\*(C`ioctl\\*(C'>." msgstr "" "للحصول على تعريفات الدوال الصحيحة. إذا لم يكن I موجودًا أو لم " "يحتوِ على التعريفات الصحيحة، سيتعين عليك إعداد تعريفاتك الخاصة بناءً على" " ملفات " "ترويسة C مثل Isys/ioctl.hE>. (يوجد سكربت بيرل يسمى B يأتي مع " "حزمة بيرل قد يساعدك في هذا، لكنه ليس بسيطًا). ستُقرأ SCALAR أو تُكتب بناءً" " على " "FUNCTION؛ حيث سيُمرر مؤشر C إلى قيمة السلسلة النصية لـ SCALAR كوسيط ثالث " "لاستدعاء \\&CW<\\*(C`ioctl\\*(C'> الفعلي. (إذا لم تكن لـ SCALAR قيمة نصية " "ولكن لها قيمة رقمية، فستُمرر تلك القيمة بدلاً من المؤشر إلى القيمة النصية. " "لضمان حدوث ذلك، أضف CW<0> إلى المتغير السلمي قبل استخدامه). قد يلزم استخدام " "دالتي \\&CW<\\*(C`pack\\*(C'> و CW<\\*(C`unpack\\*(C'> للتعامل مع قيم " "الهياكل المستخدمة بواسطة \\&CW<\\*(C`ioctl\\*(C'>." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "The return value of CW<\\*(C`ioctl\\*(C'> (and \\&CW<\\*(C`fcntl\\*(C'>) is " "as follows:" msgstr "" "تكون القيمة المعادة من CW<\\*(C`ioctl\\*(C'> (و \\&CW<\\*(C`fcntl\\*(C'>) " "كما يلي:" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "" "\\& if OS returns: then Perl returns:\n" "\\& -1 undefined value\n" "\\& 0 string \"0 but true\"\n" "\\& anything else that number\n" msgstr "" "\\& إذا أعاد نظام التشغيل: فإن بيرل يعيد:\n" "\\& -1 قيمة غير محددة (undefined value)\n" "\\& 0 السلسلة النصية \"0 but true\"\n" "\\& أي شيء آخر ذلك الرقم\n" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Thus Perl returns true on success and false on failure, yet you can still " "easily determine the actual value returned by the operating system:" msgstr "" "وبذلك يعيد بيرل صوابًا (true) عند النجاح وخطأً (false) عند الفشل، ومع ذلك " "يمكنك بسهولة تحديد القيمة الفعلية التي أعادها نظام التشغيل:" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "" "\\& my $retval = ioctl(...) || -1;\n" "\\& printf \"System returned %d\\en\", $retval;\n" msgstr "" "\\& my $retval = ioctl(...) || -1;\n" "\\& printf \"System returned %d\\en\", $retval;\n" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "The special string CW<\"0 but true\"> is exempt from \\&CW<\\*(C`Argument " "\"...\" isn\\*(Aqt numeric\\*(C'> warnings on improper numeric conversions." msgstr "" "تُعفى السلسلة الخاصة CW<\"0 but true\"> من تحذيرات \\&CW<\\*(C`Argument \"..." "\" isn\\*(Aqt numeric\\*(C'> عند إجراء تحويلات رقمية غير مناسبة." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "Portability issues: \"ioctl\" in perlport." msgstr "قضايا القابلية للنقل: \"ioctl\" في perlport." #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "join EXPR,LIST" msgstr "join EXPR,LIST" #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "join" msgstr "join" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Joins the separate strings of LIST into a single string with fields " "separated by the value of EXPR, and returns that new string. Example:" msgstr "" "يضم السلاسل المنفصلة في LIST في سلسلة نصية واحدة مع فصل الحقول بقيمة EXPR، " "ويعيد تلك السلسلة الجديدة. مثال:" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "" "\\& my $rec = join(\\*(Aq:\\*(Aq, $login,$passwd,$uid,$gid,$gcos,$home,$shel" "l);\n" msgstr "" "\\& my $rec = join(\\*(Aq:\\*(Aq, $login,$passwd,$uid,$gid,$gcos,$home,$shel" "l);\n" #. type: Plain text #: debian-trixie debian-unstable msgid "" "Beware that unlike CW<\\*(C`split\\*(C'>, \\&CW<\\*(C`join\\*(C'> doesn't " "take a pattern as its first argument. Compare CW<\\*(C`split\\*(C'>." msgstr "" "احذر من أن \\&CW<\\*(C`join\\*(C'>، على عكس CW<\\*(C`split\\*(C'>، لا تأخذ " "نمطًا كوسيط أول لها. قارن مع CW<\\*(C`split\\*(C'>." #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "keys HASH" msgstr "keys HASH" #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "keys key" msgstr "keys key" #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "keys ARRAY" msgstr "keys ARRAY" #. type: Plain text #: debian-trixie debian-unstable msgid "" "Called in list context, returns a list consisting of all the keys of the " "named hash, or in Perl 5.12 or later only, the indices of an array. Perl " "releases prior to 5.12 will produce a syntax error if you try to use an " "array argument. In scalar context, returns the number of keys or indices." msgstr "" "عند استدعائها في سياق قائمة، تعيد قائمة تتكون من جميع مفاتيح الهاش المسمى، " "أو في إصدار بيرل 5.12 أو أحدث فقط، فهارس المصفوفة. ستنتج إصدارات بيرل " "السابقة لـ 5.12 خطأً في الصيغة إذا حاولت استخدام وسيط مصفوفة. وفي السياق " "السلمي، تعيد عدد المفاتيح أو الفهارس." #. type: Plain text #: debian-trixie debian-unstable msgid "" "Hash entries are returned in an apparently random order. The actual random " "order is specific to a given hash; the exact same series of operations on " "two hashes may result in a different order for each hash. Any insertion " "into the hash may change the order, as will any deletion, with the exception " "that the most recent key returned by CW<\\*(C`each\\*(C'> or " "\\&CW<\\*(C`keys\\*(C'> may be deleted without changing the order. So long " "as a given hash is unmodified you may rely on \\&CW<\\*(C`keys\\*(C'>, " "CW<\\*(C`values\\*(C'> and CW<\\*(C`each\\*(C'> to repeatedly return the " "same order as each other. See \"Algorithmic Complexity Attacks\" in perlsec " "for details on why hash order is randomized. Aside from the guarantees " "provided here the exact details of Perl's hash algorithm and the hash " "traversal order are subject to change in any release of Perl. Tied hashes " "may behave differently to Perl's hashes with respect to changes in order on " "insertion and deletion of items." msgstr "" "تُعاد مدخلات الهاش بترتيب يبدو عشوائيًا. هذا الترتيب العشوائي الفعلي خاص بهاش " "معين؛ وقد تؤدي سلسلة العمليات نفسها تمامًا على هاشين مختلفين إلى ترتيب مختلف " "لكل منهما. قد يؤدي أي إدراج في الهاش إلى تغيير الترتيب، وكذلك أي حذف، " "باستثناء أنه يمكن حذف أحدث مفتاح أعادته CW<\\*(C`each\\*(C'> أو " "\\&CW<\\*(C`keys\\*(C'> دون تغيير الترتيب. طالما أن الهاش المعني لم يُعدل، " "يمكنك الاعتماد على \\&CW<\\*(C`keys\\*(C'> و CW<\\*(C`values\\*(C'> و " "CW<\\*(C`each\\*(C'> لتعيد الترتيب نفسه دائمًا لبعضها البعض. انظر " "\"Algorithmic Complexity Attacks\" في perlsec للحصول على تفاصيل حول سبب " "عشوائية ترتيب الهاش. وبصرف النظر عن الضمانات المقدمة هنا، فإن التفاصيل " "الدقيقة لخوارزمية الهاش في بيرل وترتيب استعراض الهاش عرضة للتغيير في أي " "إصدار من بيرل. قد تتصرف الهاشات المربوطة (Tied hashes) بشكل مختلف عن هاشات " "بيرل فيما يتعلق بتغييرات الترتيب عند إدراج وحذف العناصر." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "As a side effect, calling CW<\\*(C`keys\\*(C'> resets the internal iterator " "of the HASH or ARRAY (see CW<\\*(C`each\\*(C'>) before yielding the keys. " "In particular, calling CW<\\*(C`keys\\*(C'> in void context resets the " "iterator with no other overhead." msgstr "" "كأثر جانبي، يؤدي استدعاء CW<\\*(C`keys\\*(C'> إلى إعادة ضبط المكرر الداخلي " "للـ HASH أو ARRAY (انظر CW<\\*(C`each\\*(C'>) قبل تقديم المفاتيح. على وجه " "الخصوص، استدعاء CW<\\*(C`keys\\*(C'> في سياق فارغ (void context) يعيد ضبط " "المكرر دون أي عبء إضافي." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "Here is yet another way to print your environment:" msgstr "إليك طريقة أخرى لطباعة بيئتك:" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "" "\\& my @keys = keys %ENV;\n" "\\& my @values = values %ENV;\n" "\\& while (@keys) {\n" "\\& print pop(@keys), \\*(Aq=\\*(Aq, pop(@values), \"\\en\";\n" "\\& }\n" msgstr "" "\\& my @keys = keys %ENV;\n" "\\& my @values = values %ENV;\n" "\\& while (@keys) {\n" "\\& print pop(@keys), \\*(Aq=\\*(Aq, pop(@values), \"\\en\";\n" "\\& }\n" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "or how about sorted by key:" msgstr "أو ماذا عن فرزها حسب المفتاح:" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "" "\\& foreach my $key (sort(keys %ENV)) {\n" "\\& print $key, \\*(Aq=\\*(Aq, $ENV{$key}, \"\\en\";\n" "\\& }\n" msgstr "" "\\& foreach my $key (sort(keys %ENV)) {\n" "\\& print $key, \\*(Aq=\\*(Aq, $ENV{$key}, \"\\en\";\n" "\\& }\n" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "The returned values are copies of the original keys in the hash, so " "modifying them will not affect the original hash. Compare " "\\&CW<\\*(C`values\\*(C'>." msgstr "" "القيم المعادة هي نسخ من المفاتيح الأصلية في الهاش، لذا فإن تعديلها لن يؤثر " "على الهاش الأصلي. قارن مع \\&CW<\\*(C`values\\*(C'>." #. type: Plain text #: debian-trixie debian-unstable msgid "" "To sort a hash by value, you'll need to use a \\&CW<\\*(C`sort\\*(C'> " "function. Here's a descending numeric sort of a hash by its values:" msgstr "" "لفرز هاش حسب القيمة، ستحتاج إلى استخدام دالة \\&CW<\\*(C`sort\\*(C'>. إليك " "فرزًا رقميًا تنازليًا للهاش حسب قيمه:" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "" "\\& foreach my $key (sort { $hash{$b} E=E $hash{$a} } keys %hash)" " {\n" "\\& printf \"%4d %s\\en\", $hash{$key}, $key;\n" "\\& }\n" msgstr "" "\\& foreach my $key (sort { $hash{$b} E=E $hash{$a} } keys %hash)" " {\n" "\\& printf \"%4d %s\\en\", $hash{$key}, $key;\n" "\\& }\n" #. type: Plain text #: debian-trixie debian-unstable msgid "" "Used as an lvalue, CW<\\*(C`keys\\*(C'> allows you to increase the number of " "hash buckets allocated for the given hash. This can gain you a measure of " "efficiency if you know the hash is going to get big. (This is similar to " "pre-extending an array by assigning a larger number to $#array.) If you say" msgstr "" "عند استخدامها كقيمة يسارية (lvalue)، تسمح لك CW<\\*(C`keys\\*(C'> بزيادة عدد " "دلاء الهاش (hash buckets) المخصصة لهاش معين. يمكن أن يمنحك هذا قدرًا من " "الكفاءة إذا كنت تعلم أن الهاش سيصبح كبيرًا. (هذا مشابه لتوسيع المصفوفة مسبقًا " "عن طريق تعيين رقم أكبر لـ $#array). إذا كتبت" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "\\& keys %hash = 200;\n" msgstr "\\& keys %hash = 200;\n" #. type: Plain text #: debian-trixie debian-unstable msgid "" "then CW<%hash> will have at least 200 buckets allocated for it--256 of them, " "in fact, since it rounds up to the next power of two. These buckets will be " "retained even if you do CW<\\*(C`%hash = ()\\*(C'>, use CW if " "you want to free the storage while CW<%hash> is still in scope. You can't " "shrink the number of buckets allocated for the hash using " "\\&CW<\\*(C`keys\\*(C'> in this way (but you needn't worry about doing this " "by accident, as trying has no effect). CW<\\*(C`keys @array\\*(C'> in an " "lvalue context is a syntax error." msgstr "" "فسيتم تخصيص 200 دلو على الأقل لـ CW<%hash>، وفي الواقع 256 منها، حيث يُقرب " "العدد إلى القوة التالية للرقم اثنين. سيُحتفظ بهذه الدلاء حتى لو أجريت " "CW<\\*(C`%hash = ()\\*(C'>؛ استخدم CW إذا كنت تريد تحرير مساحة " "التخزين بينما لا يزال CW<%hash> في النطاق. لا يمكنك تقليص عدد الدلاء المخصصة " "للهاش باستخدام \\&CW<\\*(C`keys\\*(C'> بهذه الطريقة (لكن لا داعي للقلق بشأن " "القيام بذلك عن طريق الخطأ، لأن المحاولة ليس لها أي تأثير). استخدام " "CW<\\*(C`keys @array\\*(C'> في سياق قيمة يسارية يعد خطأً في الصيغة." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Starting with Perl 5.14, an experimental feature allowed " "\\&CW<\\*(C`keys\\*(C'> to take a scalar expression. This experiment has " "been deemed unsuccessful, and was removed as of Perl 5.24." msgstr "" "بدءًا من إصدار بيرل 5.14، سمحت ميزة تجريبية لـ \\&CW<\\*(C`keys\\*(C'> بأخذ " "تعبير سلمي. عُدّت هذه التجربة غير ناجحة، وأُزيلت اعتبارًا من بيرل 5.24." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "\\& use v5.12; # so keys/values/each work on arrays\n" msgstr "\\& use v5.12; # لكي تعمل keys/values/each على المصفوفات\n" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "See also CW<\\*(C`each\\*(C'>, CW<\\*(C`values\\*(C'>, and " "\\&CW<\\*(C`sort\\*(C'>." msgstr "" "انظر أيضًا CW<\\*(C`each\\*(C'> و CW<\\*(C`values\\*(C'> و " "\\&CW<\\*(C`sort\\*(C'>." #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "kill SIGNAL, LIST" msgstr "kill SIGNAL, LIST" #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "kill SIGNAL" msgstr "kill SIGNAL" #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "kill signal" msgstr "kill signal" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Sends a signal to a list of processes. Returns the number of arguments that " "were successfully used to signal (which is not necessarily the same as the " "number of processes actually killed, e.g. where a process group is killed)." msgstr "" "يرسل إشارة إلى قائمة من العمليات. يعيد عدد الوسائط التي استُخدمت بنجاح لإرسال " "الإشارة (وهو ليس بالضرورة عدد العمليات التي قُتلت فعليًا، على سبيل المثال عند " "قتل مجموعة عمليات)." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "" "\\& my $cnt = kill \\*(AqHUP\\*(Aq, $child1, $child2;\n" "\\& kill \\*(AqKILL\\*(Aq, @goners;\n" msgstr "" "\\& my $cnt = kill \\*(AqHUP\\*(Aq, $child1, $child2;\n" "\\& kill \\*(AqKILL\\*(Aq, @goners;\n" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "SIGNAL may be either a signal name (a string) or a signal number. A signal " "name may start with a CW<\\*(C`SIG\\*(C'> prefix, thus CW<\\*(C`FOO\\*(C'> " "and CW<\\*(C`SIGFOO\\*(C'> refer to the same signal. The string form of " "SIGNAL is recommended for portability because the same signal may have " "different numbers in different operating systems." msgstr "" "قد يكون SIGNAL إما اسم إشارة (سلسلة نصية) أو رقم إشارة. يمكن أن يبدأ اسم " "الإشارة ببادئة CW<\\*(C`SIG\\*(C'>، وبذلك يشير CW<\\*(C`FOO\\*(C'> و " "CW<\\*(C`SIGFOO\\*(C'> إلى الإشارة نفسها. يوصى باستخدام صيغة السلسلة النصية " "لـ SIGNAL من أجل القابلية للنقل لأن الإشارة نفسها قد يكون لها أرقام مختلفة " "في أنظمة تشغيل مختلفة." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "A list of signal names supported by the current platform can be found in " "\\&CW<$Config{sig_name}>, which is provided by the CW<\\*(C`Config\\*(C'> " "module. See Config for more details." msgstr "" "يمكن العثور على قائمة بأسماء الإشارات التي تدعمها المنصة الحالية في " "\\&CW<$Config{sig_name}>، والتي توفرها وحدة CW<\\*(C`Config\\*(C'>. انظر " "Config لمزيد من التفاصيل." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "A negative signal name is the same as a negative signal number, killing " "process groups instead of processes. For example, CW<\\*(C`kill \\*(Aq-" "KILL\\*(Aq, $pgrp\\*(C'> and \\&CW<\\*(C`kill -9, $pgrp\\*(C'> will send " "CW<\\*(C`SIGKILL\\*(C'> to the entire process group specified. That means " "you usually want to use positive not negative signals." msgstr "" "اسم الإشارة السالب هو نفسه رقم الإشارة السالب، حيث يقتل مجموعات العمليات " "بدلاً من العمليات الفردية. على سبيل المثال، سيرسل CW<\\*(C`kill \\*(Aq-" "KILL\\*(Aq, $pgrp\\*(C'> و \\&CW<\\*(C`kill -9, $pgrp\\*(C'> الإشارة " "CW<\\*(C`SIGKILL\\*(C'> إلى مجموعة العمليات المحددة بالكامل. وهذا يعني أنك " "عادة ما ترغب في استخدام إشارات موجبة لا سالبة." #. type: Plain text #: debian-trixie debian-unstable msgid "" "If SIGNAL is either the number 0 or the string CW<\\*(C`ZERO\\*(C'> (or " "CW<\\*(C`SIGZERO\\*(C'>), no signal is sent to the process, but " "CW<\\*(C`kill\\*(C'> checks whether it's I to send a signal to it " "(that means, to be brief, that the process is owned by the same user, or we " "are the super-user). This is useful to check that a child process is still " "alive (even if only as a zombie) and hasn't changed its UID. See perlport " "for notes on the portability of this construct." msgstr "" "إذا كان SIGNAL إما الرقم 0 أو السلسلة CW<\\*(C`ZERO\\*(C'> (أو " "CW<\\*(C`SIGZERO\\*(C'>)، فلن تُرسل أي إشارة إلى العملية، ولكن تتحقق " "CW<\\*(C`kill\\*(C'> مما إذا كان من I<الممكن> إرسال إشارة إليها (وهذا يعني " "باختصار أن العملية مملوكة للمستخدم نفسه، أو أننا المستخدم الخارق). هذا مفيد " "للتحقق من أن العملية الابنة لا تزال حية (حتى لو كانت مجرد عملية زومبي) ولم " "تغير معرف المستخدم (UID) الخاص بها. انظر perlport للحصول على ملاحظات حول " "قابلية نقل هذه البنية." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "The behavior of kill when a I number is zero or negative depends on " "the operating system. For example, on POSIX-conforming systems, zero will " "signal the current process group, -1 will signal all processes, and any " "other negative PROCESS number will act as a negative signal number and kill " "the entire process group specified." msgstr "" "يعتمد سلوك kill عندما يكون رقم I<العملية> صفرًا أو سالبًا على نظام التشغيل. " "على سبيل المثال، في الأنظمة المتوافقة مع POSIX، سيرسل الصفر إشارة إلى مجموعة " "العمليات الحالية، وسيرسل -1 إشارة إلى جميع العمليات، وأي رقم عملية سالب آخر " "سيعمل كرقم إشارة سالب ويقتل مجموعة العمليات المحددة بالكامل." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "If both the SIGNAL and the PROCESS are negative, the results are undefined. " "A warning may be produced in a future version." msgstr "" "إذا كان كل من SIGNAL و PROCESS سالبين، فإن النتائج غير محددة. وقد يصدر تحذير " "في إصدار مستقبلي." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "See \"Signals\" in perlipc for more details." msgstr "انظر \"Signals\" في perlipc لمزيد من التفاصيل." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "On some platforms such as Windows where the B\\|(2) system call is not " "available, Perl can be built to emulate CW<\\*(C`fork\\*(C'> at the " "interpreter level. This emulation has limitations related to kill that have " "to be considered, for code running on Windows and in code intended to be " "portable." msgstr "" "في بعض المنصات مثل ويندوز حيث لا يتوفر استدعاء النظام B\\|(2)، يمكن " "بناء بيرل لمحاكاة CW<\\*(C`fork\\*(C'> على مستوى المفسر. لهذه المحاكاة قيود " "تتعلق بـ kill يجب أخذها في الاعتبار، للكود الذي يعمل على ويندوز والكود " "المقصود أن يكون قابلاً للنقل." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "See perlfork for more details." msgstr "انظر perlfork لمزيد من التفاصيل." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "If there is no I of processes, no signal is sent, and the return value " "is 0. This form is sometimes used, however, because it causes tainting " "checks to be run, if your perl support taint checks. But see \"Laundering " "and Detecting Tainted Data\" in perlsec." msgstr "" "إذا لم تكن هناك I<قائمة> من العمليات، فلن تُرسل أي إشارة، وتكون القيمة " "المعادة 0. ومع ذلك، تُستخدم هذه الصيغة أحيانًا لأنها تؤدي إلى تشغيل فحوصات " "التلوث (taint checks)، إذا كان إصدار بيرل لديك يدعمها. ولكن انظر " "\"Laundering and Detecting Tainted Data\" في perlsec." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "Portability issues: \"kill\" in perlport." msgstr "قضايا القابلية للنقل: \"kill\" في perlport." #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "last LABEL" msgstr "last LABEL" #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "last break" msgstr "last break" #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "last EXPR" msgstr "last EXPR" #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "last" msgstr "last" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "The CW<\\*(C`last\\*(C'> command is like the CW<\\*(C`break\\*(C'> statement " "in C (as used in loops); it immediately exits the loop in question. If the " "LABEL is omitted, the command refers to the innermost enclosing loop. The " "CW<\\*(C`last EXPR\\*(C'> form, available starting in Perl 5.18.0, allows a " "label name to be computed at run time, and is otherwise identical to " "CW<\\*(C`last LABEL\\*(C'>. The \\&CW<\\*(C`continue\\*(C'> block, if any, " "is not executed:" msgstr "" "يشبه أمر CW<\\*(C`last\\*(C'> تعليمة CW<\\*(C`break\\*(C'> في لغة C (كما " "تُستخدم في الحلقات)؛ حيث يخرج فورًا من الحلقة المعنية. إذا حُذفت LABEL، يشير " "الأمر إلى الحلقة المغلقة الأعمق. تتيح صيغة CW<\\*(C`last EXPR\\*(C'>، " "المتوفرة بدءًا من بيرل 5.18.0، حساب اسم اللصيقة في وقت التشغيل، وهي مطابقة " "تمامًا لـ CW<\\*(C`last LABEL\\*(C'> في الجوانب الأخرى. كتلة " "\\&CW<\\*(C`continue\\*(C'>، إن وجدت، لا تُنفذ:" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "" "\\& LINE: while (ESTDINE) {\n" "\\& last LINE if /^$/; # exit when done with header\n" "\\& #...\n" "\\& }\n" msgstr "" "\\& LINE: while (ESTDINE) {\n" "\\& last LINE if /^$/; # الخروج عند الانتهاء من الترويسة\n" "\\& #...\n" "\\& }\n" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "\\&CW<\\*(C`last\\*(C'> cannot return a value from a block that typically " "returns a value, such as CW<\\*(C`eval {}\\*(C'>, CW<\\*(C`sub {}\\*(C'>, or " "CW<\\*(C`do {}\\*(C'>. It will perform its flow control behavior, which " "precludes any return value. It should not be used to exit a " "CW<\\*(C`grep\\*(C'> or CW<\\*(C`map\\*(C'> operation." msgstr "" "لا يمكن لـ \\&CW<\\*(C`last\\*(C'> إرجاع قيمة من كتلة تعيد عادةً قيمة، مثل " "CW<\\*(C`eval {}\\*(C'> أو CW<\\*(C`sub {}\\*(C'> أو CW<\\*(C`do {}\\*(C'>. " "فهي ستقوم بسلوك التحكم في التدفق، مما يمنع أي قيمة معادة. ولا ينبغي " "استخدامها للخروج من عملية CW<\\*(C`grep\\*(C'> أو CW<\\*(C`map\\*(C'>." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Note that a block by itself is semantically identical to a loop that " "executes once. Thus CW<\\*(C`last\\*(C'> can be used to effect an early " "exit out of such a block." msgstr "" "لاحظ أن الكتلة بحد ذاتها مطابقة دلاليًا لحلقة تُنفذ مرة واحدة. لذا يمكن " "استخدام CW<\\*(C`last\\*(C'> لإحداث خروج مبكر من مثل هذه الكتلة." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "See also CW<\\*(C`continue\\*(C'> for an illustration of how " "\\&CW<\\*(C`last\\*(C'>, CW<\\*(C`next\\*(C'>, and \\&CW<\\*(C`redo\\*(C'> " "work." msgstr "" "انظر أيضًا CW<\\*(C`continue\\*(C'> لتوضيح كيفية عمل \\&CW<\\*(C`last\\*(C'> " "و CW<\\*(C`next\\*(C'> و \\&CW<\\*(C`redo\\*(C'>." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Unlike most named operators, this has the same precedence as assignment. It " "is also exempt from the looks-like-a-function rule, so \\&CW<\\*(C`last " "(\"foo\").\"bar\"\\*(C'> will cause \"bar\" to be part of the argument to " "\\&CW<\\*(C`last\\*(C'>." msgstr "" "على عكس معظم العوامل المسماة، فإن لهذا العامل أسبقية الإسناد نفسها. وهو مُعفى " "أيضًا من قاعدة \"ما يبدو دالة\"، لذا فإن \\&CW<\\*(C`last (\"foo\")." "\"bar\"\\*(C'> سيجعل \"bar\" جزءًا من وسيط \\&CW<\\*(C`last\\*(C'>." #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "lc EXPR" msgstr "lc EXPR" #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "lc lowercase" msgstr "lc lowercase" #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "lc" msgstr "lc" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Returns a lowercased version of EXPR. If EXPR is omitted, uses \\&CW<$_>." msgstr "" "يعيد نسخة مصغرة الأحرف (lowercased) من EXPR. إذا حُذف EXPR، يُستخدم \\&CW<$_>." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "\\& my $str = lc(\"Perl is GREAT\"); # \"perl is great\"\n" msgstr "\\& my $str = lc(\"Perl is GREAT\"); # \"perl is great\"\n" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "What gets returned depends on several factors:" msgstr "تعتمد القيمة المعادة على عدة عوامل:" #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "If use bytes is in effect:" msgstr "إذا كان use bytes ساري المفعول:" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "The results follow ASCII rules. Only the characters CW<\\*(C`A-Z\\*(C'> " "change, to CW<\\*(C`a-z\\*(C'> respectively." msgstr "" "تتبع النتائج قواعد ASCII. تتغير الأحرف CW<\\*(C`A-Z\\*(C'> فقط إلى " "CW<\\*(C`a-z\\*(C'> على التوالي." #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "Otherwise, if use locale for LC_CTYPE is in effect:" msgstr "وإلا، إذا كان use locale لـ LC_CTYPE ساري المفعول:" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Respects current CW<\\*(C`LC_CTYPE\\*(C'> locale for code points E 256; " "and uses Unicode rules for the remaining code points (this last can only " "happen if the UTF8 flag is also set). See perllocale." msgstr "" "تحترم محلية CW<\\*(C`LC_CTYPE\\*(C'> الحالية لنقاط الكود E 256؛ وتستخدم " "قواعد يونيكود (Unicode) لنقاط الكود المتبقية (لا يمكن أن يحدث هذا الأخير إلا " "إذا كانت علامة UTF8 معدة أيضًا). انظر perllocale." #. type: Plain text #: debian-trixie debian-unstable msgid "" "Starting in v5.20, Perl uses full Unicode rules if the locale is UTF-8. " "Otherwise, there is a deficiency in this scheme, which is that case changes " "that cross the 255/256 boundary are not well-defined. For example, the " "lower case of LATIN CAPITAL LETTER SHARP S (U+1E9E) in Unicode rules is " "U+00DF (on ASCII platforms). But under CW<\\*(C`use locale\\*(C'> (prior to " "v5.20 or not a UTF-8 locale), the lower case of U+1E9E is itself, because " "0xDF may not be LATIN SMALL LETTER SHARP S in the current locale, and Perl " "has no way of knowing if that character even exists in the locale, much less " "what code point it is. Perl returns a result that is above 255 (almost " "always the input character unchanged), for all instances (and there aren't " "many) where the 255/256 boundary would otherwise be crossed; and starting in " "v5.22, it raises a locale warning." msgstr "" "بدءًا من الإصدار v5.20، يستخدم بيرل قواعد يونيكود الكاملة إذا كانت المحلية " "UTF-8. وإلا، فهناك قصور في هذا المخطط، وهو أن تغييرات حالة الأحرف التي " "تتجاوز الحد الفاصل 255/256 ليست محددة جيدًا. على سبيل المثال، حالة الأحرف " "الصغيرة للحرف LATIN CAPITAL LETTER SHARP S (U+1E9E) في قواعد يونيكود هي " "U+00DF (على منصات ASCII). ولكن تحت CW<\\*(C`use locale\\*(C'> (قبل الإصدار " "v5.20 أو في حال لم تكن المحلية UTF-8)، تكون حالة الأحرف الصغيرة لـ U+1E9E هي " "نفسها، لأن 0xDF قد لا يكون LATIN SMALL LETTER SHARP S في المحلية الحالية، " "وليس لدى بيرل طريقة لمعرفة ما إذا كان هذا الحرف موجودًا أصلاً في المحلية،" " فضلاً " "عن نقطة الكود الخاصة به. يعيد بيرل نتيجة أعلى من 255 (دائمًا ما يكون حرف " "الإدخال دون تغيير)، لجميع الحالات (وهي ليست كثيرة) التي قد يتُجاوز فيها الحد " "الفاصل 255/256؛ وبدءًا من v5.22، فإنه يصدر تحذير محلية." #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "Otherwise, If EXPR has the UTF8 flag set:" msgstr "وإلا، إذا كانت علامة UTF8 معدة لـ EXPR:" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "Unicode rules are used for the case change." msgstr "تُستخدم قواعد يونيكود لتغيير حالة الأحرف." #. type: IX #: debian-trixie debian-unstable #, no-wrap msgid "" "Otherwise, if use feature unicode_strings or use locale :not_characters is in" " effect:" msgstr "" "وإلا، إذا كان use feature unicode_strings أو use locale :not_characters ساري" " المفعول:" #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "Otherwise:" msgstr "وإلا:" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "ASCII rules are used for the case change. The lowercase of any character " "outside the ASCII range is the character itself." msgstr "" "تُستخدم قواعد ASCII لتغيير حالة الأحرف. حالة الأحرف الصغيرة لأي حرف خارج نطاق " "ASCII هي الحرف نفسه." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "\\&B This is the internal function implementing the " "\\&CW<\\*(C`\\eL\\*(C'> escape in double-quoted strings." msgstr "" "\\&B<ملاحظة:> هذه هي الدالة الداخلية التي تنفذ هروب \\&CW<\\*(C`\\eL\\*(C'> " "في السلاسل النصية المحاطة بعلامات اقتباس مزدوجة." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "\\& my $str = \"Perl is \\eLGREAT\\eE\"; # \"Perl is great\"\n" msgstr "\\& my $str = \"Perl is \\eLGREAT\\eE\"; # \"Perl is great\"\n" #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "lcfirst EXPR" msgstr "lcfirst EXPR" #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "lcfirst lowercase" msgstr "lcfirst lowercase" #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "lcfirst" msgstr "lcfirst" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Returns the value of EXPR with the first character lowercased. This is the " "internal function implementing the CW<\\*(C`\\el\\*(C'> escape in double-" "quoted strings." msgstr "" "يعيد قيمة EXPR مع تحويل الحرف الأول إلى حالة الأحرف الصغيرة. هذه هي الدالة " "الداخلية التي تنفذ هروب CW<\\*(C`\\el\\*(C'> في السلاسل النصية المحاطة " "بعلامات اقتباس مزدوجة." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "This function behaves the same way under various pragmas, such as in a " "locale, as CW<\\*(C`lc\\*(C'> does." msgstr "" "تتصرف هذه الدالة بالطريقة نفسها التي تتصرف بها CW<\\*(C`lc\\*(C'> تحت مختلف " "البرغما (pragmas)، كما هو الحال في المحلية." #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "length EXPR" msgstr "length EXPR" #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "length size" msgstr "length size" #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "length" msgstr "length" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Returns the length in I of the value of EXPR. If EXPR is " "omitted, returns the length of CW<$_>. If EXPR is undefined, returns " "CW<\\*(C`undef\\*(C'>." msgstr "" "يعيد الطول بـ I<الأحرف> لقيمة EXPR. إذا حُذف EXPR، يعيد طول CW<$_>. إذا كان " "EXPR غير محدد، يعيد CW<\\*(C`undef\\*(C'>." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "This function cannot be used on an entire array or hash to find out how many " "elements these have. For that, use CW<\\*(C`scalar @array\\*(C'> and " "CW, respectively." msgstr "" "لا يمكن استخدام هذه الدالة على مصفوفة كاملة أو هاش لمعرفة عدد العناصر التي " "تحتوي عليها. لذلك، استخدم CW<\\*(C`scalar @array\\*(C'> و CW، على التوالي." #. type: Plain text #: debian-trixie debian-unstable msgid "" "Like all Perl character operations, CW<\\*(C`length\\*(C'> normally deals in " "logical characters, not physical bytes. For how many bytes a string encoded " "as UTF-8 would take up, use CW<\\*(C`length(Encode::" "encode(\\*(AqUTF-8\\*(Aq, EXPR))\\*(C'> (you'll have to CW<\\*(C`use " "Encode\\*(C'> first). See Encode and perlunicode." msgstr "" "مثل جميع عمليات الأحرف في بيرل، تتعامل CW<\\*(C`length\\*(C'> عادةً بالأحرف " "المنطقية، وليس بالبايتات المادية. لمعرفة عدد البايتات التي ستشغلها سلسلة " "نصية مرمزة بـ UTF-8، استخدم CW<\\*(C`length(Encode::" "encode(\\*(AqUTF-8\\*(Aq, EXPR))\\*(C'> (سيتعين عليك كتابة CW<\\*(C`use " "Encode\\*(C'> أولاً). انظر Encode و perlunicode." #. type: IP #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "_\\|_LINE_\\|_" msgstr "_\\|_LINE_\\|_" #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "__LINE__" msgstr "__LINE__" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "A special token that compiles to the current line number. It can be altered " "by the mechanism described at \"Plain Old Comments (Not!)\" in perlsyn." msgstr "" "علامة (token) خاصة تترجم إلى رقم السطر الحالي. يمكن تغييرها بواسطة الآلية " "الموضحة في \"Plain Old Comments (Not!)\" في perlsyn." #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "link OLDFILE,NEWFILE" msgstr "link OLDFILE,NEWFILE" #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "link" msgstr "link" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Creates a new filename linked to the old filename. Returns true for " "success, false otherwise." msgstr "" "ينشئ اسم ملف جديدًا مرتبطًا باسم الملف القديم. يعيد صوابًا عند النجاح، وخطأً " "خلاف ذلك." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "Portability issues: \"link\" in perlport." msgstr "قضايا القابلية للنقل: \"link\" في perlport." #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "listen SOCKET,QUEUESIZE" msgstr "listen SOCKET,QUEUESIZE" #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "listen" msgstr "listen" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Does the same thing that the B\\|(2) system call does. Returns true " "if it succeeded, false otherwise. See the example in \"Sockets: Client/" "Server Communication\" in perlipc." msgstr "" "يقوم بالشيء نفسه الذي يقوم به استدعاء النظام B\\|(2). يعيد صوابًا إذا " "نجح، وخطأً خلاف ذلك. انظر المثال في \"Sockets: Client/Server Communication\" " "في perlipc." #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "local EXPR" msgstr "local EXPR" #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "local" msgstr "local" #. type: Plain text #: debian-trixie debian-unstable msgid "" "You really probably want to be using CW<\\*(C`my\\*(C'> instead, because " "CW<\\*(C`local\\*(C'> isn't what most people think of as \"local\". See " "\"Private Variables via B\" in perlsub for details." msgstr "" "ربما ترغب حقًا في استخدام CW<\\*(C`my\\*(C'> بدلاً من ذلك، لأن " "CW<\\*(C`local\\*(C'> ليس ما يعتقده معظم الناس كـ \"محلي\". انظر \"Private " "Variables via B\" في perlsub لمزيد من التفاصيل." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "A local modifies the listed variables to be local to the enclosing block, " "file, or eval. If more than one value is listed, the list must be placed in " "parentheses. See \"Temporary Values via B\" in perlsub for " "details, including issues with tied arrays and hashes." msgstr "" "يقوم local بتعديل المتغيرات المدرجة لتكون محلية بالنسبة للكتلة أو الملف أو " "eval المحيط. إذا أُدرجت أكثر من قيمة، فيجب وضع القائمة بين قوسين. انظر " "\"Temporary Values via B\" في perlsub للحصول على التفاصيل، بما في " "ذلك المشكلات المتعلقة بالمصفوفات والهاشات المربوطة." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Like CW<\\*(C`my\\*(C'>, CW<\\*(C`state\\*(C'>, and \\&CW<\\*(C`our\\*(C'>, " "CW<\\*(C`local\\*(C'> can operate on a variable anywhere it appears in an " "expression (aside from interpolation in strings). Unlike the other " "declarations, the effect of CW<\\*(C`local\\*(C'> happens at runtime, and so " "it will apply to additional uses of the same variable executed after the " "declaration, even within the same statement. Note that this does not include " "uses within an expression assigned to the variable when it is localized, " "because the assigned expression is evaluated before the localization." msgstr "" "مثل CW<\\*(C`my\\*(C'> و CW<\\*(C`state\\*(C'> و \\&CW<\\*(C`our\\*(C'>، " "يمكن لـ CW<\\*(C`local\\*(C'> العمل على متغير في أي مكان يظهر فيه في تعبير " "(باستثناء الاستيفاء في السلاسل النصية). وبخلاف الإعلانات الأخرى، يحدث تأثير " "CW<\\*(C`local\\*(C'> في وقت التشغيل، ولذلك سيطبق على الاستخدامات الإضافية " "للمتغير نفسه التي تُنفذ بعد الإعلان، حتى داخل الجملة نفسها. لاحظ أن هذا لا " "يشمل الاستخدامات داخل تعبير مُسند إلى المتغير عند جعله محليًا، لأن التعبير " "المُسند يُقيّم قبل جعل المتغير محليًا." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "" "\\& package main;\n" "\\& our $x = 2;\n" "\\& {\n" "\\& foo($x, local $x = $x + 1, $x); # foo() receives (2, 3, 3)\n" "\\& # $main::x is 3 within the call to foo()\n" "\\& }\n" "\\& foo($x); # foo() receives (2) and $main::x is 2\n" msgstr "" "\\& package main;\n" "\\& our $x = 2;\n" "\\& {\n" "\\& foo($x, local $x = $x + 1, $x); # تستلم foo() القيم (2, 3, 3)\n" "\\& # $main::x هي 3 داخل استدعاء foo()\n" "\\& }\n" "\\& foo($x); # تستلم foo() القيمة (2) وتكون $main::x هي 2\n" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "The CW<\\*(C`delete local EXPR\\*(C'> construct can also be used to localize " "the deletion of array/hash elements to the current block. See \"Localized " "deletion of elements of composite types\" in perlsub." msgstr "" "يمكن أيضًا استخدام بنية CW<\\*(C`delete local EXPR\\*(C'> لجعل حذف عناصر " "المصفوفة/الهاش محليًا بالنسبة للكتلة الحالية. انظر \"Localized deletion of " "elements of composite types\" في perlsub." #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "localtime EXPR" msgstr "localtime EXPR" #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "localtime ctime" msgstr "localtime ctime" #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "localtime" msgstr "localtime" #. type: Plain text #: debian-trixie debian-unstable msgid "" "Converts a time as returned by the time function to a 9-element list with " "the time analyzed for the local time zone. Typically used as follows:" msgstr "" "تُحوّل الوقت المُعطى من دالة time إلى قائمة مكونة من 9 عناصر مع تحليل الوقت " "للمنطقة الزمنية المحلية. تُستخدم عادةً كما يلي:" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "" "\\& # 0 1 2 3 4 5 6 7 8\n" "\\& my ($sec,$min,$hour,$mday,$mon,$year,$wday,$yday,$isdst) =\n" "\\& localtime(time);\n" msgstr "" "\\& # 0 1 2 3 4 5 6 7 8\n" "\\& my ($sec,$min,$hour,$mday,$mon,$year,$wday,$yday,$isdst) =\n" "\\& localtime(time);\n" #. type: Plain text #: debian-trixie debian-unstable msgid "" "All list elements are numeric and come straight out of the C 'struct tm'. " "CW<$sec>, CW<$min>, and CW<$hour> are the seconds, minutes, and hours of the " "specified time." msgstr "" "كل عناصر القائمة رقمية وتأتي مباشرة من 'struct tm' الخاص بلغة C. تُمثل " "CW<$sec> و CW<$min> و CW<$hour> الثواني والدقائق والساعات للوقت المحدد." #. type: Plain text #: debian-trixie debian-unstable msgid "" "\\&CW<$mday> is the day of the month and CW<$mon> the month in the range " "CW<0..11>, with 0 indicating January and 11 indicating December. This makes " "it easy to get a month name from a list:" msgstr "" "\\&CW<$mday> هو يوم الشهر، و CW<$mon> هو الشهر في النطاق CW<0..11>، حيث يشير " "0 إلى يناير و 11 إلى ديسمبر. هذا يجعل من السهل الحصول على اسم الشهر من قائمة:" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "" "\\& my @abbr = qw(Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec);\n" "\\& print \"$abbr[$mon] $mday\";\n" "\\& # $mon=9, $mday=18 gives \"Oct 18\"\n" msgstr "" "\\& my @abbr = qw(Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec);\n" "\\& print \"$abbr[$mon] $mday\";\n" "\\& # $mon=9, $mday=18 gives \"Oct 18\"\n" #. type: Plain text #: debian-trixie debian-unstable msgid "" "\\&CW<$year> contains the number of years since 1900. To get the full year " "write:" msgstr "" "\\&يحتوي CW<$year> على عدد السنوات منذ عام 1900. للحصول على السنة الكاملة " "اكتب:" #. type: Plain text #: debian-trixie debian-unstable #, no-wrap msgid "\\& $year += 1900;\n" msgstr "\\& $year += 1900;\n" #. type: Plain text #: debian-trixie debian-unstable msgid "To get the last two digits of the year (e.g., \"01\" in 2001) do:" msgstr "للحصول على آخر رقمين من السنة (مثلاً، \"01\" في 2001) افعل الآتي:" #. type: Plain text #: debian-trixie debian-unstable #, no-wrap msgid "\\& $year = sprintf(\"%02d\", $year % 100);\n" msgstr "\\& $year = sprintf(\"%02d\", $year % 100);\n" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "\\&CW<$wday> is the day of the week, with 0 indicating Sunday and 3 " "indicating Wednesday. CW<$yday> is the day of the year, in the range " "CW<0..364> (or CW<0..365> in leap years.)" msgstr "" "\\&CW<$wday> هو يوم الأسبوع، حيث يشير 0 إلى الأحد و 3 إلى الأربعاء. " "CW<$yday> هو يوم السنة، في النطاق CW<0..364> (أو CW<0..365> في السنوات " "الكبيسة)." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "\\&CW<$isdst> is true if the specified time occurs when Daylight Saving Time " "is in effect, false otherwise." msgstr "" "\\&تكون CW<$isdst> صحيحة (true) إذا كان الوقت المحدد يقع ضمن وقت التوقيت " "الصيفي المعمول به، وخاطئة (false) خلاف ذلك." #. type: Plain text #: debian-trixie debian-unstable msgid "" "If EXPR is omitted, CW<\\*(C`localtime\\*(C'> uses the current time (as " "returned by CW<\\*(C`time\\*(C'>)." msgstr "" "إذا حُذف EXPR، تستخدم CW<\\*(C`localtime\\*(C'> الوقت الحالي (كما تُعيده دالة " "CW<\\*(C`time\\*(C'>)." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "In scalar context, CW<\\*(C`localtime\\*(C'> returns the \\&B\\|(3) " "value:" msgstr "في سياق عددي، تُعيد CW<\\*(C`localtime\\*(C'> قيمة \\&B\\|(3):" #. type: Plain text #: debian-trixie debian-unstable #, no-wrap msgid "\\& my $now_string = localtime; # e.g., \"Thu Oct 13 04:54:34 1994\"\n" msgstr "" "\\& my $now_string = localtime; # e.g., \"Thu Oct 13 04:54:34 1994\"\n" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "This scalar value is always in English, and is B locale-dependent. To " "get similar but locale-dependent date strings, try for example:" msgstr "" "هذه القيمة العددية تكون دائماً بالإنجليزية، وهي B<ليست> معتمدة على الإعدادات " "المحلية. للحصول على سلاسل تاريخ مماثلة ولكن معتمدة على الإعدادات المحلية، " "جرب على سبيل المثال:" #. type: Plain text #: debian-trixie debian-unstable #, no-wrap msgid "" "\\& use POSIX qw(strftime);\n" "\\& my $now_string = strftime \"%a %b %e %H:%M:%S %Y\", localtime;\n" "\\& # or for GMT formatted appropriately for your locale:\n" "\\& my $now_string = strftime \"%a %b %e %H:%M:%S %Y\", gmtime;\n" msgstr "" "\\& use POSIX qw(strftime);\n" "\\& my $now_string = strftime \"%a %b %e %H:%M:%S %Y\", localtime;\n" "\\& # or for GMT formatted appropriately for your locale:\n" "\\& my $now_string = strftime \"%a %b %e %H:%M:%S %Y\", gmtime;\n" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "\\&CW<$now_string> will be formatted according to the current LC_TIME locale " "the program or thread is running in. See perllocale for how to set up and " "change that locale. Note that CW<%a> and CW<%b>, the short forms of the day " "of the week and the month of the year, may not necessarily be three " "characters wide." msgstr "" "\\&تُنسّق CW<$now_string> وفقاً لإعدادات LC_TIME المحلية الحالية التي يعمل " "البرنامج أو الخيط فيها. انظر perllocale لمعرفة كيفية إعداد وتغيير تلك " "الإعدادات المحلية. لاحظ أن CW<%a> و CW<%b>، وهما الصيغتان المختصرتان ليوم " "الأسبوع وشهر السنة، قد لا يكون طولهما بالضرورة ثلاثة أحرف." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "The Time::gmtime and Time::localtime modules provide a convenient, by-name " "access mechanism to the CW<\\*(C`gmtime\\*(C'> and " "\\&CW<\\*(C`localtime\\*(C'> functions, respectively." msgstr "" "توفر وحدتا Time::gmtime و Time::localtime آلية وصول مريحة بالاسم لدالتي " "CW<\\*(C`gmtime\\*(C'> و \\&CW<\\*(C`localtime\\*(C'> على التوالي." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "For a comprehensive date and time representation look at the DateTime module " "on CPAN." msgstr "لتمثيل شامل للتاريخ والوقت، انظر إلى وحدة DateTime على CPAN." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "For GMT instead of local time use the CW<\\*(C`gmtime\\*(C'> builtin." msgstr "" "استخدم دالة CW<\\*(C`gmtime\\*(C'> المدمجة للحصول على توقيت جرينتش بدلاً من " "الوقت المحلي." #. type: Plain text #: debian-trixie debian-unstable msgid "" "See also the CW<\\*(C`Time::Local\\*(C'> module (for converting seconds, " "minutes, hours, and such back to the integer value returned by " "\\&CW<\\*(C`time\\*(C'>), and the POSIX module's \\&CW<\\*(C`mktime\\*(C'> " "function." msgstr "" "انظر أيضًا وحدة CW<\\*(C`Time::Local\\*(C'> (لتحويل الثواني، والدقائق، " "والساعات، وما إلى ذلك إلى القيمة الصحيحة التي تُعيدها " "\\&CW<\\*(C`time\\*(C'>)، ودالة \\&CW<\\*(C`mktime\\*(C'> في وحدة POSIX." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "Portability issues: \"localtime\" in perlport." msgstr "قضايا قابلية النقل: \"localtime\" في perlport." #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "lock THING" msgstr "lock THING" #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "lock" msgstr "lock" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "This function places an advisory lock on a shared variable or referenced " "object contained in I until the lock goes out of scope." msgstr "" "تضع هذه الدالة قفلاً استشارياً على متغير مشترك أو كائن مُشار إليه موجود في " "I حتى يخرج القفل عن النطاق." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "The value returned is the scalar itself, if the argument is a scalar, or a " "reference, if the argument is a hash, array or subroutine." msgstr "" "القيمة المُعادة هي المتغير العددي نفسه إذا كان المعامل عددي، أو مرجع " "(reference) إذا كان المعامل جدول تجزئة أو مصفوفة أو روتين فرعي." #. type: Plain text #: debian-trixie debian-unstable msgid "" "\\&CW<\\*(C`lock\\*(C'> is a \"weak keyword\"; this means that if you've " "defined a function by this name (before any calls to it), that function will " "be called instead. If you are not under CW<\\*(C`use threads::shared\\*(C'> " "this does nothing. See threads::shared." msgstr "" "\\&CW<\\*(C`lock\\*(C'> هي \"كلمة مفتاحية ضعيفة\"؛ وهذا يعني أنه إذا كنت قد " "عرفت دالة بهذا الاسم (قبل أي استدعاء لها)، فسيتم استدعاء تلك الدالة بدلاً " "منها. إذا لم تكن تحت CW<\\*(C`use threads::shared\\*(C'> فلن تفعل شيئاً. انظر " "threads::shared." #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "log EXPR" msgstr "log EXPR" #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "log logarithm e ln base" msgstr "log logarithm e ln base" #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "log" msgstr "log" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Returns the natural logarithm (base I) of EXPR. If EXPR is omitted, " "returns the log of CW<$_>. To get the log of another base, use basic " "algebra: The base-N log of a number is equal to the natural log of that " "number divided by the natural log of N. For example:" msgstr "" "تُعيد اللوغاريتم الطبيعي (الأساس I) لـ EXPR. إذا حُذف EXPR، تُعيد لوغاريتم " "CW<$_>. للحصول على لوغاريتم لأساس آخر، استخدم الجبر الأساسي: لوغاريتم عدد " "للأساس N يساوي اللوغاريتم الطبيعي لذلك العدد مقسوماً على اللوغاريتم الطبيعي " "لـ N. على سبيل المثال:" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "" "\\& sub log10 {\n" "\\& my $n = shift;\n" "\\& return log($n)/log(10);\n" "\\& }\n" msgstr "" "\\& sub log10 {\n" "\\& my $n = shift;\n" "\\& return log($n)/log(10);\n" "\\& }\n" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "See also CW<\\*(C`exp\\*(C'> for the inverse operation." msgstr "انظر أيضًا CW<\\*(C`exp\\*(C'> للعملية العكسية." #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "lstat FILEHANDLE" msgstr "lstat FILEHANDLE" #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "lstat" msgstr "lstat" #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "lstat EXPR" msgstr "lstat EXPR" #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "lstat DIRHANDLE" msgstr "lstat DIRHANDLE" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Does the same thing as the CW<\\*(C`stat\\*(C'> function (including setting " "the special CW<\\*(C`_\\*(C'> filehandle) but stats a symbolic link instead " "of the file the symbolic link points to. If symbolic links are " "unimplemented on your system, a normal CW<\\*(C`stat\\*(C'> is done. For " "much more detailed information, please see the documentation for " "CW<\\*(C`stat\\*(C'>." msgstr "" "تفعل نفس ما تفعله دالة CW<\\*(C`stat\\*(C'> (بما في ذلك ضبط واصف الملف الخاص " "CW<\\*(C`_\\*(C'>) لكنها تجلب معلومات الرابط الرمزي بدلاً من الملف الذي يشير " "إليه الرابط الرمزي. إذا كانت الروابط الرمزية غير مفعلة في نظامك، فسيتم إجراء " "CW<\\*(C`stat\\*(C'> عادي. لمعلومات أكثر تفصيلاً، يرجى مراجعة توثيق " "CW<\\*(C`stat\\*(C'>." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "If EXPR is omitted, stats CW<$_>." msgstr "إذا حُذف EXPR، تُجلب معلومات CW<$_>." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "Portability issues: \"lstat\" in perlport." msgstr "قضايا قابلية النقل: \"lstat\" في perlport." #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "m//" msgstr "m//" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "The match operator. See \"Regexp Quote-Like Operators\" in perlop." msgstr "عامل المطابقة. انظر \"Regexp Quote-Like Operators\" في perlop." #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "map BLOCK LIST" msgstr "map BLOCK LIST" #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "map" msgstr "map" #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "map EXPR,LIST" msgstr "map EXPR,LIST" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Evaluates the BLOCK or EXPR for each element of LIST (locally setting " "\\&CW<$_> to each element) and composes a list of the results of each such " "evaluation. Each element of LIST may produce zero, one, or more elements in " "the generated list, so the number of elements in the generated list may " "differ from that in LIST. In scalar context, returns the total number of " "elements so generated. In list context, returns the generated list." msgstr "" "تُقيم الكتلة (BLOCK) أو التعبير (EXPR) لكل عنصر في القائمة LIST (مع تعيين " "\\&CW<$_> محلياً لكل عنصر) وتُكوّن قائمة من نتائج كل تقييم. قد ينتج عن كل" " عنصر " "من LIST صفر أو واحد أو أكثر من العناصر في القائمة المولدة، لذا قد يختلف عدد " "العناصر في القائمة المولدة عن عددها في LIST. في السياق العددي، تُعيد إجمالي " "عدد العناصر المولدة. في سياق القائمة، تُعيد القائمة المولدة." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "\\& my @chars = map(chr, @numbers);\n" msgstr "\\& my @chars = map(chr, @numbers);\n" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "translates a list of numbers to the corresponding characters." msgstr "تُترجم قائمة من الأرقام إلى المحارف المقابلة لها." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "\\& my @squares = map { $_ * $_ } @numbers;\n" msgstr "\\& my @squares = map { $_ * $_ } @numbers;\n" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "translates a list of numbers to their squared values." msgstr "تُترجم قائمة من الأرقام إلى قيمها المربعة." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "\\& my @squares = map { $_ E 5 ? ($_ * $_) : () } @numbers;\n" msgstr "\\& my @squares = map { $_ E 5 ? ($_ * $_) : () } @numbers;\n" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "shows that number of returned elements can differ from the number of input " "elements. To omit an element, return an empty list (). This could also be " "achieved by writing" msgstr "" "توضح أن عدد العناصر المعادة يمكن أن يختلف عن عدد عناصر المدخلات. لإسقاط " "عنصر، أعد قائمة فارغة (). يمكن تحقيق ذلك أيضًا بكتابة" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "\\& my @squares = map { $_ * $_ } grep { $_ E 5 } @numbers;\n" msgstr "\\& my @squares = map { $_ * $_ } grep { $_ E 5 } @numbers;\n" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "which makes the intention more clear." msgstr "مما يجعل القصد أكثر وضوحاً." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Map always returns a list, which can be assigned to a hash such that the " "elements become key/value pairs. See perldata for more details." msgstr "" "تُعيد دالة Map دائماً قائمة، يمكن إسنادها إلى جدول تجزئة (hash) بحيث تصبح " "العناصر أزواج مفتاح/قيمة. انظر perldata لمزيد من التفاصيل." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "\\& my %hash = map { get_a_key_for($_) =E $_ } @array;\n" msgstr "\\& my %hash = map { get_a_key_for($_) =E $_ } @array;\n" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "is just a funny way to write" msgstr "هي مجرد طريقة طريفة لكتابة" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "" "\\& my %hash;\n" "\\& foreach (@array) {\n" "\\& $hash{get_a_key_for($_)} = $_;\n" "\\& }\n" msgstr "" "\\& my %hash;\n" "\\& foreach (@array) {\n" "\\& $hash{get_a_key_for($_)} = $_;\n" "\\& }\n" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Note that CW<$_> is an alias to the list value, so it can be used to modify " "the elements of the LIST. While this is useful and supported, it can cause " "bizarre results if the elements of LIST are not variables. Using a regular " "CW<\\*(C`foreach\\*(C'> loop for this purpose would be clearer in most " "cases. See also CW<\\*(C`grep\\*(C'> for a list composed of those items of " "the original list for which the BLOCK or EXPR evaluates to true." msgstr "" "لاحظ أن CW<$_> هو اسم مستعار لقيمة القائمة، لذا يمكن استخدامه لتعديل عناصر " "LIST. ورغم أن هذا مفيد ومدعوم، إلا أنه قد يسبب نتائج غريبة إذا لم تكن عناصر " "LIST متغيرات. استخدام حلقة CW<\\*(C`foreach\\*(C'> عادية لهذا الغرض سيكون " "أوضح في معظم الحالات. انظر أيضًا CW<\\*(C`grep\\*(C'> للحصول على قائمة مكونة " "من العناصر التي يكون تقييم الكتلة أو التعبير لها صحيحاً." #. type: Plain text #: debian-trixie debian-unstable msgid "" "\\&CW<\\*(C`{\\*(C'> starts both hash references and blocks, so CW<\\*(C`map " "{ ...\\*(C'> could be either the start of map BLOCK LIST or map EXPR, LIST. " "Because Perl doesn't look ahead for the closing CW<\\*(C`}\\*(C'> it has to " "take a guess at which it's dealing with based on what it finds just after " "the \\&CW<\\*(C`{\\*(C'>. Usually it gets it right, but if it doesn't it " "won't realize something is wrong until it gets to the CW<\\*(C`}\\*(C'> and " "encounters the missing (or unexpected) comma. The syntax error will be " "reported close to the CW<\\*(C`}\\*(C'>, but you'll need to change something " "near the CW<\\*(C`{\\*(C'> such as using a unary CW<\\*(C`+\\*(C'> or " "semicolon to give Perl some help:" msgstr "" "\\&CW<\\*(C`{\\*(C'> تبدأ كلاً من مراجع جداول التجزئة والكتل، لذا فإن " "CW<\\*(C`map { ...\\*(C'> قد تكون بداية map BLOCK LIST أو map EXPR, LIST. " "ولأن بيرل لا تنظر للأمام بحثاً عن CW<\\*(C`}\\*(C'> المغلقة، يجب عليها تخمين " "ما تتعامل معه بناءً على ما تجده مباشرة بعد \\&CW<\\*(C`{\\*(C'>. عادةً ما" " تنجح " "في التخمين، لكن إذا فشلت، فلن تدرك وجود خطأ حتى تصل إلى CW<\\*(C`}\\*(C'> " "وتواجه فاصلة مفقودة (أو غير متوقعة). سيُبلغ عن خطأ في الصيغة بالقرب من " "CW<\\*(C`}\\*(C'>، ولكنك ستحتاج لتغيير شيء ما بالقرب من CW<\\*(C`{\\*(C'> " "مثل استخدام معامل أحادي CW<\\*(C`+\\*(C'> أو فاصلة منقوطة لمساعدة بيرل:" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "" "\\& my %hash = map { \"\\eL$_\" =E 1 } @array # perl guesses EXPR." " wrong\n" "\\& my %hash = map { +\"\\eL$_\" =E 1 } @array # perl guesses BLOCK." " right\n" "\\& my %hash = map {; \"\\eL$_\" =E 1 } @array # this also works\n" "\\& my %hash = map { (\"\\eL$_\" =E 1) } @array # as does this\n" "\\& my %hash = map { lc($_) =E 1 } @array # and this.\n" "\\& my %hash = map +( lc($_) =E 1 ), @array # this is EXPR and works!\n" "\\&\n" "\\& my %hash = map ( lc($_), 1 ), @array # evaluates to (1, @array)\n" msgstr "" "\\& my %hash = map { \"\\eL$_\" =E 1 } @array # perl guesses EXPR." " wrong\n" "\\& my %hash = map { +\"\\eL$_\" =E 1 } @array # perl guesses BLOCK." " right\n" "\\& my %hash = map {; \"\\eL$_\" =E 1 } @array # this also works\n" "\\& my %hash = map { (\"\\eL$_\" =E 1) } @array # as does this\n" "\\& my %hash = map { lc($_) =E 1 } @array # and this.\n" "\\& my %hash = map +( lc($_) =E 1 ), @array # this is EXPR and works!\n" "\\&\n" "\\& my %hash = map ( lc($_), 1 ), @array # evaluates to (1, @array)\n" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "or to force an anon hash constructor use CW<\\*(C`+{\\*(C'>:" msgstr "أو لإجبار استخدام منشئ جدول تجزئة مجهول، استخدم CW<\\*(C`+{\\*(C'>:" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "" "\\& my @hashes = map +{ lc($_) =E 1 }, @array # EXPR, so needs\n" "\\& # comma at end\n" msgstr "" "\\& my @hashes = map +{ lc($_) =E 1 }, @array # EXPR, so needs\n" "\\& # comma at end\n" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "to get a list of anonymous hashes each with only one entry apiece." msgstr "للحصول على قائمة من جداول التجزئة المجهولة، لكل منها مدخل واحد فقط." #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "method NAME BLOCK" msgstr "method NAME BLOCK" #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "method" msgstr "method" #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "method NAME : ATTRS BLOCK" msgstr "method NAME : ATTRS BLOCK" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Creates a new named method in the scope of the class that it appears " "within. This is only valid inside a CW<\\*(C`class\\*(C'> declaration." msgstr "" "تنشئ دالة جديدة مسماة في نطاق الفئة (class) التي تظهر فيها. هذا صالح فقط " "داخل تصريح CW<\\*(C`class\\*(C'>." #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "mkdir FILENAME,MODE" msgstr "mkdir FILENAME,MODE" #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "mkdir md directory, create" msgstr "mkdir md directory, create" #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "mkdir FILENAME" msgstr "mkdir FILENAME" #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "mkdir" msgstr "mkdir" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Creates the directory specified by FILENAME, with permissions specified by " "MODE (as modified by CW<\\*(C`umask\\*(C'>). If it succeeds it returns " "true; otherwise it returns false and sets \\&CW<$!> (errno). MODE defaults " "to 0777 if omitted, and FILENAME defaults to CW<$_> if omitted." msgstr "" "تنشئ المجلد المحدد بواسطة FILENAME، مع الصلاحيات المحددة بواسطة MODE (كما " "تُعدلها دالة CW<\\*(C`umask\\*(C'>). إذا نجحت تُعيد قيمة صحيحة؛ وإلا فإنها " "تُعيد قيمة خاطئة وتضبط \\&CW<$!> (الخطأ). MODE يكون مبدئياً 0777 إذا حُذف، و " "FILENAME يكون مبدئياً CW<$_> إذا حُذف." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "In general, it is better to create directories with a permissive MODE and " "let the user modify that with their CW<\\*(C`umask\\*(C'> than it is to " "supply a restrictive MODE and give the user no way to be more permissive. " "The exceptions to this rule are when the file or directory should be kept " "private (mail files, for instance). The documentation for " "\\&CW<\\*(C`umask\\*(C'> discusses the choice of MODE in more detail. If " "bits in MODE other than the permission bits are set, the result may be " "implementation defined, per POSIX 1003.1-2008." msgstr "" "بشكل عام، من الأفضل إنشاء المجلدات مع MODE متساهل وترك المستخدم يعدل ذلك " "باستخدام CW<\\*(C`umask\\*(C'> الخاص به بدلاً من توفير MODE تقييدي وعدم منح " "المستخدم أي وسيلة ليكون أكثر تساهلاً. الاستثناءات لهذه القاعدة هي عندما يجب " "الحفاظ على خصوصية الملف أو المجلد (ملفات البريد، على سبيل المثال). يناقش " "توثيق \\&CW<\\*(C`umask\\*(C'> اختيار MODE بمزيد من التفصيل. إذا ضُبطت بتات " "في MODE غير بتات الصلاحيات، فقد تكون النتيجة معتمدة على التنفيذ، وفقاً لمعيار " "POSIX 1003.1-2008." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Note that according to the POSIX 1003.1-1996 the FILENAME may have any " "number of trailing slashes. Some operating and filesystems do not get this " "right, so Perl automatically removes all trailing slashes to keep everyone " "happy." msgstr "" "لاحظ أنه وفقاً لمعيار POSIX 1003.1-1996، قد يحتوي FILENAME على أي عدد من " "الشرطات المائلة اللاحقة. بعض أنظمة التشغيل ونظم الملفات لا تتعامل مع هذا " "بشكل صحيح، لذا تقوم بيرل آلياً بإزالة كل الشرطات المائلة اللاحقة." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "To recursively create a directory structure, look at the " "CW<\\*(C`make_path\\*(C'> function of the File::Path module." msgstr "" "لإنشاء هيكل مجلدات بشكل متكرر (recursively)، انظر إلى دالة " "CW<\\*(C`make_path\\*(C'> في وحدة File::Path." #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "msgctl ID,CMD,ARG" msgstr "msgctl ID,CMD,ARG" #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "msgctl" msgstr "msgctl" #. type: Plain text #: debian-trixie debian-unstable msgid "" "Calls the System V IPC function B\\|(2). You'll probably have to say" msgstr "" "تستدعي دالة System V IPC المسماة B\\|(2). سيتعين عليك على الأرجح " "كتابة" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "\\& use IPC::SysV;\n" msgstr "\\& use IPC::SysV;\n" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "first to get the correct constant definitions. If CMD is " "CW<\\*(C`IPC_STAT\\*(C'>, then ARG must be a variable that will hold the " "returned CW<\\*(C`msqid_ds\\*(C'> structure. Returns like " "CW<\\*(C`ioctl\\*(C'>: the undefined value for error, CW<\"0 but true\"> for " "zero, or the actual return value otherwise. See also \"SysV IPC\" in " "perlipc and the documentation for CW<\\*(C`IPC::SysV\\*(C'> and " "\\&CW<\\*(C`IPC::Semaphore\\*(C'>." msgstr "" "أولاً للحصول على تعريفات الثوابت الصحيحة. إذا كان CMD هو " "CW<\\*(C`IPC_STAT\\*(C'>، فيجب أن يكون ARG متغيراً يحمل هيكل " "CW<\\*(C`msqid_ds\\*(C'> المُعاد. تُعيد نتائج مثل CW<\\*(C`ioctl\\*(C'>: " "القيمة غير المعرفة للخطأ، أو CW<\"0 but true\"> للصفر، أو قيمة الإعادة " "الفعلية خلاف ذلك. انظر أيضًا \"SysV IPC\" في perlipc وتوثيق CW<\\*(C`IPC::" "SysV\\*(C'> و \\&CW<\\*(C`IPC::Semaphore\\*(C'>." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "Portability issues: \"msgctl\" in perlport." msgstr "قضايا قابلية النقل: \"msgctl\" في perlport." #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "msgget KEY,FLAGS" msgstr "msgget KEY,FLAGS" #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "msgget" msgstr "msgget" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Calls the System V IPC function B\\|(2). Returns the message queue " "id, or CW<\\*(C`undef\\*(C'> on error. See also \"SysV IPC\" in perlipc and " "the documentation for CW<\\*(C`IPC::SysV\\*(C'> and \\&CW<\\*(C`IPC::" "Msg\\*(C'>." msgstr "" "تستدعي دالة System V IPC المسماة B\\|(2). تُعيد معرف طابور الرسائل، " "أو CW<\\*(C`undef\\*(C'> عند حدوث خطأ. انظر أيضًا \"SysV IPC\" في perlipc " "وتوثيق CW<\\*(C`IPC::SysV\\*(C'> و \\&CW<\\*(C`IPC::Msg\\*(C'>." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "Portability issues: \"msgget\" in perlport." msgstr "قضايا قابلية النقل: \"msgget\" في perlport." #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "msgrcv ID,VAR,SIZE,TYPE,FLAGS" msgstr "msgrcv ID,VAR,SIZE,TYPE,FLAGS" #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "msgrcv" msgstr "msgrcv" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Calls the System V IPC function msgrcv to receive a message from message " "queue ID into variable VAR with a maximum message size of SIZE. Note that " "when a message is received, the message type as a native long integer will " "be the first thing in VAR, followed by the actual message. This packing may " "be opened with CW<\\*(C`unpack(\"l! a*\")\\*(C'>. Taints the variable. " "Returns true if successful, false on error. See also \"SysV IPC\" in " "perlipc and the documentation for \\&CW<\\*(C`IPC::SysV\\*(C'> and " "CW<\\*(C`IPC::Msg\\*(C'>." msgstr "" "تستدعي دالة System V IPC المسماة msgrcv لاستلام رسالة من معرف طابور الرسائل " "ID إلى المتغير VAR بحد أقصى لحجم الرسالة هو SIZE. لاحظ أنه عند استلام رسالة، " "سيكون نوع الرسالة كعدد صحيح طويل أصلي هو أول شيء في VAR، يتبعه الرسالة " "الفعلية. يمكن فتح هذا الحزم باستخدام CW<\\*(C`unpack(\"l! a*\")\\*(C'>. تلوث " "المتغير. تُعيد قيمة صحيحة إذا نجحت، وخاطئة عند حدوث خطأ. انظر أيضًا \"SysV " "IPC\" في perlipc وتوثيق \\&CW<\\*(C`IPC::SysV\\*(C'> و CW<\\*(C`IPC::" "Msg\\*(C'>." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "Portability issues: \"msgrcv\" in perlport." msgstr "قضايا قابلية النقل: \"msgrcv\" في perlport." #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "msgsnd ID,MSG,FLAGS" msgstr "msgsnd ID,MSG,FLAGS" #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "msgsnd" msgstr "msgsnd" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Calls the System V IPC function msgsnd to send the message MSG to the " "message queue ID. MSG must begin with the native long integer message type, " "followed by the message itself. This kind of packing can be achieved with " "CW<\\*(C`pack(\"l! a*\", $type, $message)\\*(C'>. Returns true if " "successful, false on error. See also \"SysV IPC\" in perlipc and the " "documentation for CW<\\*(C`IPC::SysV\\*(C'> and CW<\\*(C`IPC::Msg\\*(C'>." msgstr "" "تستدعي دالة System V IPC المسماة msgsnd لإرسال الرسالة MSG إلى طابور الرسائل " "ذي المعرف ID. يجب أن تبدأ MSG بنوع الرسالة كعدد صحيح طويل أصلي، يتبعه " "الرسالة نفسها. يمكن تحقيق هذا النوع من الحزم باستخدام CW<\\*(C`pack(\"l! " "a*\", $type, $message)\\*(C'>. تُعيد قيمة صحيحة إذا نجحت، وخاطئة عند حدوث " "خطأ. انظر أيضًا \"SysV IPC\" في perlipc وتوثيق CW<\\*(C`IPC::SysV\\*(C'> و " "CW<\\*(C`IPC::Msg\\*(C'>." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "Portability issues: \"msgsnd\" in perlport." msgstr "قضايا قابلية النقل: \"msgsnd\" في perlport." #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "my VARLIST" msgstr "my VARLIST" #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "my" msgstr "my" #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "my TYPE VARLIST" msgstr "my TYPE VARLIST" #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "my VARLIST : ATTRS" msgstr "my VARLIST : ATTRS" #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "my TYPE VARLIST : ATTRS" msgstr "my TYPE VARLIST : ATTRS" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "A CW<\\*(C`my\\*(C'> declares the listed variables to be local (lexically) " "to the enclosing block, file, or CW<\\*(C`eval\\*(C'>. If more than one " "variable is listed, the list must be placed in parentheses." msgstr "" "تُصرح CW<\\*(C`my\\*(C'> بأن المتغيرات المدرجة محلية (معجمياً) للكتلة" " المحيطة، " "أو الملف، أو CW<\\*(C`eval\\*(C'>. إذا أُدرج أكثر من متغير واحد، يجب وضع " "القائمة بين قوسين." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Note that with a parenthesised list, CW<\\*(C`undef\\*(C'> can be used as a " "dummy placeholder, for example to skip assignment of initial values:" msgstr "" "لاحظ أنه مع القائمة الموضوعة بين قوسين، يمكن استخدام CW<\\*(C`undef\\*(C'> " "كعنصر نائب وهمي، على سبيل المثال لتخطي إسناد القيم الأولية:" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "\\& my ( undef, $min, $hour ) = localtime;\n" msgstr "\\& my ( undef, $min, $hour ) = localtime;\n" #. type: Plain text #: debian-trixie debian-unstable msgid "" "Like CW<\\*(C`state\\*(C'>, CW<\\*(C`local\\*(C'>, and " "\\&CW<\\*(C`our\\*(C'>, CW<\\*(C`my\\*(C'> can operate on a variable " "anywhere it appears in an expression (aside from interpolation in strings). " "The declaration will not apply to additional uses of the same variable until " "the next statement. This means additional uses of that variable within the " "same statement will act as they would have before that declaration occurred, " "or result in a strict 'vars' error, as appropriate." msgstr "" "مثل CW<\\*(C`state\\*(C'> و CW<\\*(C`local\\*(C'> و \\&CW<\\*(C`our\\*(C'>، " "يمكن لـ CW<\\*(C`my\\*(C'> العمل على متغير في أي مكان يظهر فيه في تعبير " "(باستثناء الإقحام داخل السلاسل النصية). لن ينطبق التصريح على الاستخدامات " "الإضافية لنفس المتغير حتى البيان (statement) التالي. هذا يعني أن الاستخدامات " "الإضافية لهذا المتغير داخل نفس البيان ستعمل كما كانت قبل حدوث ذلك التصريح، " "أو ستؤدي إلى خطأ strict 'vars'، حسب الاقتضاء." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "" "\\& package main;\n" "\\& our $x = 2;\n" "\\& foo($x, my $x = $x + 1, $x); # foo() receives (2, 3, 2)\n" "\\& foo($x, $main::x); # foo() receives (3, 2)\n" msgstr "" "\\& package main;\n" "\\& our $x = 2;\n" "\\& foo($x, my $x = $x + 1, $x); # foo() receives (2, 3, 2)\n" "\\& foo($x, $main::x); # foo() receives (3, 2)\n" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Redeclaring a variable in the same scope or statement will \"shadow\" the " "previous declaration, creating a new instance and preventing access to the " "previous one. This is usually undesired and, if warnings are enabled, will " "result in a warning in the CW<\\*(C`shadow\\*(C'> category." msgstr "" "إعادة التصريح عن متغير في نفس النطاق أو البيان سيؤدي إلى \"حجب\" (shadow) " "التصريح السابق، مما ينشئ نسخة جديدة ويمنع الوصول إلى النسخة السابقة. هذا " "عادة ما يكون غير مرغوب فيه، وإذا كانت التحذيرات مفعلة، فسيؤدي ذلك إلى تحذير " "في فئة CW<\\*(C`shadow\\*(C'>." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "The exact semantics and interface of TYPE and ATTRS are still evolving. " "TYPE may be a bareword, a constant declared with CW<\\*(C`use " "constant\\*(C'>, or CW<\\*(C`_\\|_PACKAGE_\\|_\\*(C'>. It is currently " "bound to the use of the fields pragma, and attributes are handled using the " "attributes pragma, or starting from Perl 5.8.0 also via the Attribute::" "Handlers module. See \"Private Variables via B\" in perlsub for " "details." msgstr "" "لا تزال الدلالات الدقيقة وواجهة TYPE و ATTRS قيد التطوير. قد يكون TYPE كلمة " "مجردة، أو ثابتاً مصرحاً به باستخدام CW<\\*(C`use constant\\*(C'>، أو " "CW<\\*(C`_\\|_PACKAGE_\\|_\\*(C'>. وهو مرتبط حالياً باستخدام برغما fields، " "وتتم معالجة السمات (attributes) باستخدام برغما attributes، أو بدءاً من بيرل " "5.8.0 أيضًا عبر وحدة Attribute::Handlers. انظر \"Private Variables via " "B\" في perlsub للتفاصيل." #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "next LABEL" msgstr "next LABEL" #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "next continue" msgstr "next continue" #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "next EXPR" msgstr "next EXPR" #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "next" msgstr "next" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "The CW<\\*(C`next\\*(C'> command is like the CW<\\*(C`continue\\*(C'> " "statement in C; it starts the next iteration of the loop:" msgstr "" "أمر CW<\\*(C`next\\*(C'> يشبه بيان CW<\\*(C`continue\\*(C'> في لغة C؛ فهو " "يبدأ التكرار التالي للحلقة:" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "" "\\& LINE: while (ESTDINE) {\n" "\\& next LINE if /^#/; # discard comments\n" "\\& #...\n" "\\& }\n" msgstr "" "\\& LINE: while (ESTDINE) {\n" "\\& next LINE if /^#/; # تجاهل التعليقات\n" "\\& #...\n" "\\& }\n" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Note that if there were a CW<\\*(C`continue\\*(C'> block on the above, it " "would get executed even on discarded lines. If LABEL is omitted, the " "command refers to the innermost enclosing loop. The CW<\\*(C`next " "EXPR\\*(C'> form, available as of Perl 5.18.0, allows a label name to be " "computed at run time, being otherwise identical to CW<\\*(C`next " "LABEL\\*(C'>." msgstr "" "لاحظ أنه إذا كانت هناك كتلة CW<\\*(C`continue\\*(C'> فيما سبق، فإنها ستنفذ " "حتى في السطور المُتجاهلة. إذا حُذفت LABEL، فإن الأمر يشير إلى الحلقة المحيطة " "الأعمق. صيغة CW<\\*(C`next EXPR\\*(C'>، المتوفرة منذ بيرل 5.18.0، تسمح بحساب " "اسم اللاصقة في وقت التشغيل، وتكون مطابقة تماماً لـ CW<\\*(C`next LABEL\\*(C'>." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "\\&CW<\\*(C`next\\*(C'> cannot return a value from a block that typically " "returns a value, such as CW<\\*(C`eval {}\\*(C'>, CW<\\*(C`sub {}\\*(C'>, or " "CW<\\*(C`do {}\\*(C'>. It will perform its flow control behavior, which " "precludes any return value. It should not be used to exit a " "CW<\\*(C`grep\\*(C'> or CW<\\*(C`map\\*(C'> operation." msgstr "" "\\&لا يمكن لـ CW<\\*(C`next\\*(C'> إرجاع قيمة من كتلة تُرجع عادةً قيمة، مثل " "CW<\\*(C`eval {}\\*(C'> أو CW<\\*(C`sub {}\\*(C'> أو CW<\\*(C`do {}\\*(C'>. " "ستقوم بسلوك التحكم في التدفق الخاص بها، والذي يمنع أي قيمة إرجاع. لا ينبغي " "استخدامها للخروج من عملية CW<\\*(C`grep\\*(C'> أو CW<\\*(C`map\\*(C'>." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Note that a block by itself is semantically identical to a loop that " "executes once. Thus CW<\\*(C`next\\*(C'> will exit such a block early." msgstr "" "لاحظ أن الكتلة بمفردها مطابقة دلالياً لحلقة تُنفذ مرة واحدة. بالتالي فإن " "CW<\\*(C`next\\*(C'> ستخرج من مثل هذه الكتلة مبكراً." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Unlike most named operators, this has the same precedence as assignment. It " "is also exempt from the looks-like-a-function rule, so \\&CW<\\*(C`next " "(\"foo\").\"bar\"\\*(C'> will cause \"bar\" to be part of the argument to " "\\&CW<\\*(C`next\\*(C'>." msgstr "" "على عكس معظم العوامل المسماة، فإن لهذا العامل نفس أسبقية الإسناد. وهو مستثنى " "أيضًا من قاعدة \"يبدو كدالة\"، لذا فإن \\&CW<\\*(C`next (\"foo\")." "\"bar\"\\*(C'> ستجعل \"bar\" جزءاً من المعامل لـ \\&CW<\\*(C`next\\*(C'>." #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "no MODULE VERSION LIST" msgstr "no MODULE VERSION LIST" #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "no declarations unimporting" msgstr "no declarations unimporting" #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "no MODULE VERSION" msgstr "no MODULE VERSION" #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "no MODULE LIST" msgstr "no MODULE LIST" #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "no MODULE" msgstr "no MODULE" #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "no VERSION" msgstr "no VERSION" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "See the CW<\\*(C`use\\*(C'> function, of which \\&CW<\\*(C`no\\*(C'> is the " "opposite." msgstr "انظر دالة CW<\\*(C`use\\*(C'>، والتي تُعد \\&CW<\\*(C`no\\*(C'> عكسها." #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "oct EXPR" msgstr "oct EXPR" #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "oct octal hex hexadecimal binary bin" msgstr "oct octal hex hexadecimal binary bin" #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "oct" msgstr "oct" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Interprets EXPR as an octal string and returns the corresponding value. An " "octal string consists of octal digits and, as of Perl 5.33.5, an optional " "CW<\\*(C`0o\\*(C'> or CW<\\*(C`o\\*(C'> prefix. Each octal digit may be " "preceded by a single underscore, which will be ignored. (If EXPR happens to " "start off with CW<\\*(C`0x\\*(C'> or CW<\\*(C`x\\*(C'>, interprets it as a " "hex string. If EXPR starts off with CW<\\*(C`0b\\*(C'> or " "CW<\\*(C`b\\*(C'>, it is interpreted as a binary string. Leading whitespace " "is ignored in all three cases.) The following will handle decimal, binary, " "octal, and hex in standard Perl notation:" msgstr "" "تفسر EXPR كسلسلة نصية ثمانية (octal) وتُعيد القيمة المقابلة لها. تتكون " "السلسلة الثمانية من أرقام ثمانية، وبدءاً من بيرل 5.33.5، بادئة اختيارية " "CW<\\*(C`0o\\*(C'> أو CW<\\*(C`o\\*(C'>. قد يسبق كل رقم ثماني شرطة سفلية " "واحدة، فستُتجاهل. (إذا صادف أن بدأت EXPR بـ CW<\\*(C`0x\\*(C'> أو " "CW<\\*(C`x\\*(C'>، فستُفسر كسلسلة ست عشرية. إذا بدأت EXPR بـ " "CW<\\*(C`0b\\*(C'> أو CW<\\*(C`b\\*(C'>، فستُفسر كسلسلة ثنائية. يتم تجاهل " "المسافات البيضاء البادئة في الحالات الثلاث جميعاً.) الكود التالي سيتعامل مع " "العشري والثنائي والثماني والست عشري في تدوين بيرل القياسي:" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "\\& $val = oct($val) if $val =~ /^0/;\n" msgstr "\\& $val = oct($val) if $val =~ /^0/;\n" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "If EXPR is omitted, uses CW<$_>. To go the other way (produce a number in " "octal), use CW<\\*(C`sprintf\\*(C'> or \\&CW<\\*(C`printf\\*(C'>:" msgstr "" "إذا حُذف EXPR، يُستخدم CW<$_>. للقيام بالعكس (إنتاج رقم بالصيغة الثمانية)، " "استخدم CW<\\*(C`sprintf\\*(C'> أو \\&CW<\\*(C`printf\\*(C'>:" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "" "\\& my $dec_perms = (stat(\"filename\"))[2] & 07777;\n" "\\& my $oct_perm_str = sprintf \"%o\", $perms;\n" msgstr "" "\\& my $dec_perms = (stat(\"filename\"))[2] & 07777;\n" "\\& my $oct_perm_str = sprintf \"%o\", $perms;\n" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "The CW<\\*(C`oct\\*(C'> function is commonly used when a string such as " "\\&CW<644> needs to be converted into a file mode, for example. Although " "Perl automatically converts strings into numbers as needed, this automatic " "conversion assumes base 10." msgstr "" "تُستخدم دالة CW<\\*(C`oct\\*(C'> عادةً عندما نحتاج لتحويل سلسلة نصية مثل " "\\&CW<644> إلى نمط ملف، على سبيل المثال. ورغم أن بيرل تُحول السلاسل النصية " "آلياً إلى أرقام حسب الحاجة، إلا أن هذا التحويل الآلي يفترض أن الأساس هو 10." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Leading white space is ignored without warning, as too are any trailing non-" "digits, such as a decimal point (CW<\\*(C`oct\\*(C'> only handles non-" "negative integers, not negative integers or floating point)." msgstr "" "يتم تجاهل المسافات البيضاء البادئة بدون تحذير، وكذلك أي أرقام غير لاحقة، مثل " "العلامة العشرية (تتعامل CW<\\*(C`oct\\*(C'> فقط مع الأعداد الصحيحة غير " "السالبة، وليس الأعداد الصحيحة السالبة أو الأعداد العشرية)." #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "open FILEHANDLE,MODE,EXPR" msgstr "open FILEHANDLE,MODE,EXPR" #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "open pipe file, open fopen" msgstr "open pipe file, open fopen" #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "open FILEHANDLE,MODE,EXPR,LIST" msgstr "open FILEHANDLE,MODE,EXPR,LIST" #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "open FILEHANDLE,MODE,REFERENCE" msgstr "open FILEHANDLE,MODE,REFERENCE" #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "open FILEHANDLE,EXPR" msgstr "open FILEHANDLE,EXPR" #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "open FILEHANDLE" msgstr "open FILEHANDLE" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Associates an internal FILEHANDLE with the external file specified by EXPR. " "That filehandle will subsequently allow you to perform I/O operations on " "that file, such as reading from it or writing to it." msgstr "" "تربط واصف ملف (FILEHANDLE) داخلي بالملف الخارجي المحدد بواسطة EXPR. سيسمح لك " "واصف الملف هذا لاحقًا بإجراء عمليات الإدخال/الإخراج على ذلك الملف، مثل " "القراءة منه أو الكتابة فيه." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Instead of a filename, you may specify an external command (plus an optional " "argument list) or a scalar reference, in order to open filehandles on " "commands or in-memory scalars, respectively." msgstr "" "بدلاً من اسم الملف، يمكنك تحديد أمر خارجي (بالإضافة إلى قائمة معاملات " "اختيارية) أو مرجع عددي، من أجل فتح واصفات ملفات على الأوامر أو المتغيرات " "العددية في الذاكرة، على التوالي." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "A thorough reference to CW<\\*(C`open\\*(C'> follows. For a gentler " "introduction to the basics of CW<\\*(C`open\\*(C'>, see also the perlopentut " "manual page." msgstr "" "يتبع ذلك مرجع شامل لـ CW<\\*(C`open\\*(C'>. للحصول على مقدمة أسهل لأساسيات " "CW<\\*(C`open\\*(C'>، انظر أيضًا صفحة الدليل perlopentut." #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "Working with files" msgstr "العمل مع الملفات" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Most often, CW<\\*(C`open\\*(C'> gets invoked with three arguments: the " "required FILEHANDLE (usually an empty scalar variable), followed by MODE " "(usually a literal describing the I/O mode the filehandle will use), and " "then the filename that the new filehandle will refer to." msgstr "" "في أغلب الأحيان، يُستدعى CW<\\*(C`open\\*(C'> بثلاثة معاملات: واصف الملف " "المطلوب (عادة متغير عددي فارغ)، يليه MODE (عادة وصف نصي يصف نمط الإدخال/" "الإخراج الذي سيستخدمه واصف الملف)، ثم اسم الملف الذي سيشير إليه واصف الملف " "الجديد." #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "Simple examples" msgstr "أمثلة بسيطة" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "Reading from a file:" msgstr "القراءة من ملف:" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "" "\\& open(my $fh, \"E\", \"input.txt\")\n" "\\& or die \"Can\\*(Aqt open E input.txt: $!\";\n" "\\&\n" "\\& # Process every line in input.txt\n" "\\& while (my $line = readline($fh)) {\n" "\\& #\n" "\\& # ... do something interesting with $line here ...\n" "\\& #\n" "\\& }\n" msgstr "" "\\& open(my $fh, \"E\", \"input.txt\")\n" "\\& or die \"Can\\*(Aqt open E input.txt: $!\";\n" "\\&\n" "\\& # معالجة كل سطر في input.txt\n" "\\& while (my $line = readline($fh)) {\n" "\\& #\n" "\\& # ... افعل شيئاً مثيراً للاهتمام مع $line هنا ...\n" "\\& #\n" "\\& }\n" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "or writing to one:" msgstr "أو الكتابة في ملف:" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "" "\\& open(my $fh, \"E\", \"output.txt\")\n" "\\& or die \"Can\\*(Aqt open E output.txt: $!\";\n" "\\&\n" "\\& print $fh \"This line gets printed into output.txt.\\en\";\n" msgstr "" "\\& open(my $fh, \"E\", \"output.txt\")\n" "\\& or die \"Can\\*(Aqt open E output.txt: $!\";\n" "\\&\n" "\\& print $fh \"This line gets printed into output.txt.\\en\";\n" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "For a summary of common filehandle operations such as these, see \"Files and " "I/O\" in perlintro." msgstr "" "للحصول على ملخص لعمليات واصفات الملفات الشائعة مثل هذه، راجع \"Files and I/" "O\" في perlintro." #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "About filehandles" msgstr "حول مقابض الملفات" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "The first argument to CW<\\*(C`open\\*(C'>, labeled FILEHANDLE in this " "reference, is usually a scalar variable. (Exceptions exist, described in " "\"Other considerations\", below.) If the call to CW<\\*(C`open\\*(C'> " "succeeds, then the expression provided as FILEHANDLE will get assigned an " "open \\&I. That filehandle provides an internal reference to the " "specified external file, conveniently stored in a Perl variable, and ready " "for I/O operations such as reading and writing." msgstr "" "المعامل الأول لـ CW<\\*(C`open\\*(C'>، والمسمى FILEHANDLE في هذا المرجع، " "عادةً ما يكون متغيرًا سلميًا (scalar). (توجد استثناءات موصوفة في \"اعتبارات " "أخرى\" أدناه.) إذا نجح استدعاء CW<\\*(C`open\\*(C'>، فسيُسند إلى التعبير " "المقدم كـ FILEHANDLE I<مقبض ملف> مفتوح. يوفر مقبض الملف هذا مرجعًا داخليًا " "لملف خارجي محدد، يُخزن بشكل ملائم في متغير Perl، ويكون جاهزًا لعمليات الإدخال " "والإخراج مثل القراءة والكتابة." #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "About modes" msgstr "حول الأنماط" #. type: Plain text #: debian-trixie debian-unstable msgid "" "When calling CW<\\*(C`open\\*(C'> with three or more arguments, the second " "argument \\&-- labeled MODE here -- defines the I. MODE is " "usually a literal string comprising special characters that define the " "intended I/O role of the filehandle being created: whether it's read-only, " "or read-and-write, and so on." msgstr "" "عند استدعاء CW<\\*(C`open\\*(C'> بثلاثة معاملات أو أكثر، فإن المعامل الثاني " "\\&-- والمسمى MODE هنا -- يحدد I<نمط الفتح>. يكون MODE عادةً سلسلة نصية حرفية " "تتضمن محارف خاصة تحدد دور الإدخال/الإخراج المقصود لمقبض الملف الذي يُنشأ: " "سواء كان للقراءة فقط، أو للقراءة والكتابة، وهكذا." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "If MODE is CW<\\*(C`E\\*(C'>, the file is opened for input (read-only). " "If MODE is CW<\\*(C`E\\*(C'>, the file is opened for output, with " "existing files first being truncated (\"clobbered\") and nonexisting files " "newly created. If MODE is CW<\\*(C`EE\\*(C'>, the file is opened " "for appending, again being created if necessary." msgstr "" "إذا كان MODE هو CW<\\*(C`E\\*(C'>، فسيُفتح الملف للإدخال (للقراءة فقط). " "وإذا كان MODE هو CW<\\*(C`E\\*(C'>، فسيُفتح الملف للإخراج، مع اقتطاع " "الملفات الموجودة مسبقًا (\"clobbered\") وإنشاء الملفات غير الموجودة من جديد. " "أما إذا كان MODE هو CW<\\*(C`EE\\*(C'>، فسيُفتح الملف للإلحاق، مع " "إنشائه أيضًا إذا لزم الأمر." #. type: Plain text #: debian-trixie debian-unstable msgid "" "You can put a CW<\\*(C`+\\*(C'> in front of the CW<\\*(C`E\\*(C'> or " "CW<\\*(C`E\\*(C'> to indicate that you want both read and write access " "to the file; thus \\&CW<\\*(C`+E\\*(C'> is almost always preferred for " "read/write updates--the \\&CW<\\*(C`+E\\*(C'> mode would clobber the " "file first. You can't usually use either read-write mode for updating " "textfiles, since they have variable-length records. See the B<-i> switch in " "perlrun for a better approach. The file is created with permissions of " "CW<0666> modified by the process's \\&CW<\\*(C`umask\\*(C'> value." msgstr "" "يمكنك وضع CW<\\*(C`+\\*(C'> أمام CW<\\*(C`E\\*(C'> أو " "CW<\\*(C`E\\*(C'> للإشارة إلى رغبتك في الوصول إلى الملف للقراءة والكتابة " "معًا؛ وبالتالي يُفضل وضع \\&CW<\\*(C`+E\\*(C'> دائمًا تقريبًا لتحديثات " "القراءة/الكتابة -- حيث أن نمط \\&CW<\\*(C`+E\\*(C'> سيقتطع الملف أولاً. " "لا يمكنك عادةً استخدام أي من نمطي القراءة-الكتابة لتحديث ملفات النصوص، لأن " "لها سجلات متغيرة الطول. راجع مفتاح B<-i> في perlrun للحصول على نهج أفضل. " "يُنشأ الملف بصلاحيات CW<0666> مُعدلة بواسطة قيمة \\&CW<\\*(C`umask\\*(C'> " "للعملية." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "These various prefixes correspond to the B\\|(3) modes of " "CW<\\*(C`r\\*(C'>, \\&CW<\\*(C`r+\\*(C'>, CW<\\*(C`w\\*(C'>, CW<\\*(C`w+" "\\*(C'>, CW<\\*(C`a\\*(C'>, and CW<\\*(C`a+\\*(C'>." msgstr "" "تتوافق هذه البادئات المتنوعة مع أنماط B\\|(3) وهي CW<\\*(C`r\\*(C'>، " "و \\&CW<\\*(C`r+\\*(C'>، و CW<\\*(C`w\\*(C'>، و CW<\\*(C`w+\\*(C'>، و " "CW<\\*(C`a\\*(C'>، و CW<\\*(C`a+\\*(C'>." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "More examples of different modes in action:" msgstr "مزيد من الأمثلة على الأنماط المختلفة قيد العمل:" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "" "\\& # Open a file for concatenation\n" "\\& open(my $log, \"EE\", \"/usr/spool/news/twitlog\")\n" "\\& or warn \"Couldn\\*(Aqt open log file; discarding input\";\n" "\\&\n" "\\& # Open a file for reading and writing\n" "\\& open(my $dbase, \"+E\", \"dbase.mine\")\n" "\\& or die \"Can\\*(Aqt open \\*(Aqdbase.mine\\*(Aq for update: $!\";\n" msgstr "" "\\& # فتح ملف للدمج\n" "\\& open(my $log, \"EE\", \"/usr/spool/news/twitlog\")\n" "\\& or warn \"Couldn\\*(Aqt open log file; discarding input\";\n" "\\&\n" "\\& # فتح ملف للقراءة والكتابة\n" "\\& open(my $dbase, \"+E\", \"dbase.mine\")\n" "\\& or die \"Can\\*(Aqt open \\*(Aqdbase.mine\\*(Aq for update: $!\";\n" #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "Checking the return value" msgstr "التحقق من القيمة المعادة" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Open returns nonzero on success, the undefined value otherwise. If the " "\\&CW<\\*(C`open\\*(C'> involved a pipe, the return value happens to be the " "pid of the subprocess." msgstr "" "تعيد Open قيمة غير صفرية عند النجاح، والقيمة غير المعرفة خلاف ذلك. إذا كان " "\\&CW<\\*(C`open\\*(C'> يتضمن أنبوبًا (pipe)، فإن القيمة المعادة تكون معرف " "العملية (pid) للعملية الفرعية." #. type: Plain text #: debian-trixie debian-unstable msgid "" "When opening a file, it's seldom a good idea to continue if the request " "failed, so CW<\\*(C`open\\*(C'> is frequently used with CW<\\*(C`die\\*(C'>. " "Even if you want your code to do something other than CW<\\*(C`die\\*(C'> on " "a failed open, you should still always check the return value from opening a " "file." msgstr "" "عند فتح ملف، نادرًا ما يكون الاستمرار فكرة جيدة إذا فشل الطلب، لذا يُستخدم " "CW<\\*(C`open\\*(C'> كثيرًا مع CW<\\*(C`die\\*(C'>. وحتى لو كنت تريد أن تقوم " "برمجتك بشيء آخر غير CW<\\*(C`die\\*(C'> عند فشل الفتح، فلا يزال يتعين عليك " "دائمًا التحقق من القيمة المعادة من فتح الملف." #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "Specifying I/O layers in MODE" msgstr "تحديد طبقات الإدخال/الإخراج في MODE" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "You can use the three-argument form of open to specify I/O layers (sometimes " "referred to as \"disciplines\") to apply to the new filehandle. These affect " "how the input and output are processed (see open and PerlIO for more " "details). For example:" msgstr "" "يمكنك استخدام صيغة المعاملات الثلاثة لـ open لتحديد طبقات الإدخال/الإخراج " "(يُشار إليها أحيانًا باسم \"الضوابط\") لتطبيقها على مقبض الملف الجديد. تؤثر " "هذه على كيفية معالجة المدخلات والمخرجات (راجع open و PerlIO لمزيد من " "التفاصيل). على سبيل المثال:" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "" "\\& # loads PerlIO::encoding automatically\n" "\\& open(my $fh, \"E:encoding(UTF-8)\", $filename)\n" "\\& || die \"Can\\*(Aqt open UTF-8 encoded $filename: $!\";\n" msgstr "" "\\& # يحمل PerlIO::encoding آليًا\n" "\\& open(my $fh, \"E:encoding(UTF-8)\", $filename)\n" "\\& || die \"Can\\*(Aqt open UTF-8 encoded $filename: $!\";\n" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "This opens the UTF8-encoded file containing Unicode characters; see " "perluniintro. Note that if layers are specified in the three-argument form, " "then default layers stored in \\&CW<\\*(C`${^OPEN}\\*(C'> (usually set by " "the open pragma or the switch CW<\\*(C`-CioD\\*(C'>) are ignored. Those " "layers will also be ignored if you specify a colon with no name following " "it. In that case the default layer for the operating system (:raw on Unix, :" "crlf on Windows) is used." msgstr "" "يفتح هذا الملف المرمز بـ UTF8 والذي يحتوي على محارف يونيكود؛ راجع " "perluniintro. لاحظ أنه إذا حُددت الطبقات في صيغة المعاملات الثلاثة، فإن " "الطبقات المبدئية المخزنة في \\&CW<\\*(C`${^OPEN}\\*(C'> (تُضبط عادةً بواسطة " "برجمة open أو المفتاح CW<\\*(C`-CioD\\*(C'>) تُتجاهل. كما ستُتجاهل تلك" " الطبقات " "أيضًا إذا حددت نقطتين رأسيتين دون اسم يتبعهما. في هذه الحالة، تُستخدم الطبقة " "المبدئية لنظام التشغيل (:raw على Unix، و :crlf على Windows)." #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "Using undef for temporary files" msgstr "استخدام undef للملفات المؤقتة" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "As a special case the three-argument form with a read/write mode and the " "third argument being CW<\\*(C`undef\\*(C'>:" msgstr "" "كحالة خاصة، صيغة المعاملات الثلاثة مع نمط قراءة/كتابة ويكون المعامل الثالث " "هو CW<\\*(C`undef\\*(C'>:" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "\\& open(my $tmp, \"+E\", undef) or die ...\n" msgstr "\\& open(my $tmp, \"+E\", undef) or die ...\n" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "opens a filehandle to a newly created empty anonymous temporary file. (This " "happens under any mode, which makes CW<\\*(C`+E\\*(C'> the only useful " "and sensible mode to use.) You will need to \\&CW<\\*(C`seek\\*(C'> to do " "the reading." msgstr "" "يفتح مقبض ملف لملف مؤقت مجهول فارغ أُنشئ حديثًا. (يحدث هذا تحت أي نمط، مما " "يجعل CW<\\*(C`+E\\*(C'> النمط الوحيد المفيد والمنطقي للاستخدام.) ستحتاج " "إلى \\&CW<\\*(C`seek\\*(C'> للقيام بالقراءة." #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "Opening a filehandle into an in-memory scalar" msgstr "فتح مقبض ملف إلى متغير سلمي في الذاكرة" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "You can open filehandles directly to Perl scalars instead of a file or other " "resource external to the program. To do so, provide a reference to that " "scalar as the third argument to CW<\\*(C`open\\*(C'>, like so:" msgstr "" "يمكنك فتح مقابض ملفات مباشرةً إلى متغيرات بيرل السلمية بدلاً من ملف أو مورد " "آخر خارجي عن البرنامج. للقيام بذلك، قدم مرجعًا (reference) لذلك المتغير " "السلمي كمعامل ثالث لـ CW<\\*(C`open\\*(C'>، هكذا:" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "" "\\& open(my $memory, \"E\", \\e$var)\n" "\\& or die \"Can\\*(Aqt open memory file: $!\";\n" "\\& print $memory \"foo!\\en\"; # output will appear in $var\n" msgstr "" "\\& open(my $memory, \"E\", \\e$var)\n" "\\& or die \"Can\\*(Aqt open memory file: $!\";\n" "\\& print $memory \"foo!\\en\"; # سيظهر المخرج في $var\n" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "To (re)open CW<\\*(C`STDOUT\\*(C'> or CW<\\*(C`STDERR\\*(C'> as an in-memory " "file, close it first:" msgstr "" "لـ (إعادة) فتح CW<\\*(C`STDOUT\\*(C'> أو CW<\\*(C`STDERR\\*(C'> كملف في " "الذاكرة، أغلقه أولاً:" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "" "\\& close STDOUT;\n" "\\& open(STDOUT, \"E\", \\e$variable)\n" "\\& or die \"Can\\*(Aqt open STDOUT: $!\";\n" msgstr "" "\\& close STDOUT;\n" "\\& open(STDOUT, \"E\", \\e$variable)\n" "\\& or die \"Can\\*(Aqt open STDOUT: $!\";\n" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "The scalars for in-memory files are treated as octet strings: unless the " "file is being opened with truncation the scalar may not contain any code " "points over 0xFF." msgstr "" "تُعامل المتغيرات السلمية لملفات الذاكرة كسلاسل ثمانية (octet strings): ما لم " "يُفتح الملف مع الاقتطاع، لا يجوز أن يحتوي المتغير السلمي على أي نقاط ترميز " "تزيد عن 0xFF." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Opening in-memory files I fail for a variety of reasons. As with any " "other CW<\\*(C`open\\*(C'>, check the return value for success." msgstr "" "I<يمكن> أن يفشل فتح ملفات الذاكرة لأسباب متنوعة. وكما هو الحال مع أي " "CW<\\*(C`open\\*(C'> آخر، تحقق من القيمة المعادة للنجاح." #. type: Plain text #: debian-trixie debian-unstable msgid "" "\\&I: This feature works only when Perl is built with PerlIO " "-- the default, except with older (pre-5.16) Perl installations that were " "configured to not include it (e.g. via CW<\\*(C`Configure \\&-" "Uuseperlio\\*(C'>). You can see whether your Perl was built with PerlIO by " "running CW<\\*(C`perl -V:useperlio\\*(C'>. If it says " "CW<\\*(Aqdefine\\*(Aq>, you have PerlIO; otherwise you don't." msgstr "" "I<ملاحظة تقنية>: تعمل هذه الميزة فقط عندما تُبنى بيرل مع PerlIO -- وهو " "المبدئي، باستثناء تثبيتات بيرل الأقدم (ما قبل 5.16) التي ضُبطت بحيث لا " "تتضمنها (على سبيل المثال عبر CW<\\*(C`Configure \\&-Uuseperlio\\*(C'>). " "يمكنك معرفة ما إذا كانت نسخة Perl لديك قد بُنيت مع PerlIO عن طريق تشغيل " "CW<\\*(C`perl -V:useperlio\\*(C'>. إذا كانت النتيجة هي " "CW<\\*(Aqdefine\\*(Aq>، فلديك PerlIO؛ وإلا فليس لديك." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "See perliol for detailed info on PerlIO." msgstr "راجع perliol للحصول على معلومات مفصلة حول PerlIO." #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "Opening a filehandle into a command" msgstr "فتح مقبض ملف إلى أمر" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "If MODE is CW<\\*(C`|-\\*(C'>, then the filename is interpreted as a command " "to which output is to be piped, and if MODE is CW<\\*(C`-|\\*(C'>, the " "filename is interpreted as a command that pipes output to us. In the two-" "argument (and one-argument) form, one should replace dash (CW<\\*(C`-" "\\*(C'>) with the command. See \"Using B for IPC\" in perlipc for " "more examples of this. (You are not allowed to CW<\\*(C`open\\*(C'> to a " "command that pipes both in I out, but see IPC::Open2, IPC::Open3, and " "\"Bidirectional Communication with Another Process\" in perlipc for " "alternatives.)" msgstr "" "إذا كان MODE هو CW<\\*(C`|-\\*(C'>، فسيُفسر اسم الملف كأمر يُوجه المخرج إليه " "عبر أنبوب، وإذا كان MODE هو CW<\\*(C`-|\\*(C'>، فسيُفسر اسم الملف كأمر يوجه " "المخرج إلينا عبر أنبوب. في صيغة المعاملين (أو المعامل الواحد)، يجب استبدال " "الشرطة (CW<\\*(C`-\\*(C'>) بالأمر. راجع \"استخدام B للتواصل بين " "العمليات (IPC)\" في perlipc لمزيد من الأمثلة على ذلك. (لا يُسمح لك بـ " "CW<\\*(C`open\\*(C'> لأمر يوجه الأنابيب للداخل I<و> الخارج معًا، ولكن راجع " "IPC::Open2 و IPC::Open3 و \"الاتصال ثنائي الاتجاه مع عملية أخرى\" في perlipc " "للبدائل.)" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "" "\\& open(my $article_fh, \"-|\", \"caesar E$article\") # decrypt\n" "\\& # article\n" "\\& or die \"Can\\*(Aqt start caesar: $!\";\n" "\\&\n" "\\& open(my $article_fh, \"caesar E$article |\") # ditto\n" "\\& or die \"Can\\*(Aqt start caesar: $!\";\n" "\\&\n" "\\& open(my $out_fh, \"|-\", \"sort ETmp$$\") # $$ is our process id\n" "\\& or die \"Can\\*(Aqt start sort: $!\";\n" msgstr "" "\\& open(my $article_fh, \"-|\", \"caesar E$article\") # فك تعمية\n" "\\& # المقال\n" "\\& or die \"Can\\*(Aqt start caesar: $!\";\n" "\\&\n" "\\& open(my $article_fh, \"caesar E$article |\") # بالمثل\n" "\\& or die \"Can\\*(Aqt start caesar: $!\";\n" "\\&\n" "\\& open(my $out_fh, \"|-\", \"sort ETmp$$\") # $$ هو معرف عمليتنا\n" "\\& or die \"Can\\*(Aqt start sort: $!\";\n" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "In the form of pipe opens taking three or more arguments, if LIST is " "specified (extra arguments after the command name) then LIST becomes " "arguments to the command invoked if the platform supports it. The meaning " "of \\&CW<\\*(C`open\\*(C'> with more than three arguments for non-pipe modes " "is not yet defined, but experimental \"layers\" may give extra LIST " "arguments meaning." msgstr "" "في صيغة فتح الأنابيب التي تأخذ ثلاثة معاملات أو أكثر، إذا حُددت LIST (معاملات " "إضافية بعد اسم الأمر)، فستصبح LIST معاملات للأمر المستدعى إذا كانت المنصة " "تدعم ذلك. إن معنى \\&CW<\\*(C`open\\*(C'> بأكثر من ثلاثة معاملات للأنماط غير " "الأنبوبية لم يُحدد بعد، ولكن \"الطبقات\" التجريبية قد تعطي معاملات LIST " "الإضافية معنى." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "If you open a pipe on the command CW<\\*(C`-\\*(C'> (that is, specify either " "CW<\\*(C`|-\\*(C'> or CW<\\*(C`-|\\*(C'> with the one- or two-argument forms " "of \\&CW<\\*(C`open\\*(C'>), an implicit CW<\\*(C`fork\\*(C'> is done, so " "CW<\\*(C`open\\*(C'> returns twice: in the parent process it returns the pid " "of the child process, and in the child process it returns (a defined) " "CW<0>. Use CW or CW<\\*(C`//\\*(C'> to determine whether the " "open was successful." msgstr "" "إذا فتحت أنبوبًا على الأمر CW<\\*(C`-\\*(C'> (أي، حددت إما CW<\\*(C`|-\\*(C'> " "أو CW<\\*(C`-|\\*(C'> مع صيغ المعامل الواحد أو المعاملين لـ " "\\&CW<\\*(C`open\\*(C'>)، فسيُجرى CW<\\*(C`fork\\*(C'> ضمني، وبالتالي تعيد " "CW<\\*(C`open\\*(C'> قيمتين: في العملية الأب تعيد pid للعملية الابن، وفي " "العملية الابن تعيد CW<0> (مُعرفة). استخدم CW أو CW<\\*(C`//" "\\*(C'> لتحديد ما إذا كان الفتح ناجحًا." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "For example, use either" msgstr "على سبيل المثال، استخدم إما" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "" "\\& my $child_pid = open(my $from_kid, \"-|\")\n" "\\& // die \"Can\\*(Aqt fork: $!\";\n" msgstr "" "\\& my $child_pid = open(my $from_kid, \"-|\")\n" "\\& // die \"Can\\*(Aqt fork: $!\";\n" #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "or" msgstr "أو" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "" "\\& my $child_pid = open(my $to_kid, \"|-\")\n" "\\& // die \"Can\\*(Aqt fork: $!\";\n" msgstr "" "\\& my $child_pid = open(my $to_kid, \"|-\")\n" "\\& // die \"Can\\*(Aqt fork: $!\";\n" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "followed by" msgstr "متبوعًا بـ" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "" "\\& if ($child_pid) {\n" "\\& # am the parent:\n" "\\& # either write $to_kid or else read $from_kid\n" "\\& ...\n" "\\& waitpid $child_pid, 0;\n" "\\& } else {\n" "\\& # am the child; use STDIN/STDOUT normally\n" "\\& ...\n" "\\& exit;\n" "\\& }\n" msgstr "" "\\& if ($child_pid) {\n" "\\& # أنا الأب:\n" "\\& # إما الكتابة إلى $to_kid أو القراءة من $from_kid\n" "\\& ...\n" "\\& waitpid $child_pid, 0;\n" "\\& } else {\n" "\\& # أنا الابن؛ استخدم STDIN/STDOUT بشكل طبيعي\n" "\\& ...\n" "\\& exit;\n" "\\& }\n" #. type: Plain text #: debian-trixie debian-unstable msgid "" "The filehandle behaves normally for the parent, but I/O to that filehandle " "is piped from/to the STDOUT/STDIN of the child process. In the child " "process, the filehandle isn't opened--I/O happens from/to the new STDOUT/" "STDIN. Typically this is used like the normal piped open when you want to " "exercise more control over just how the pipe command gets executed, such as " "when running setuid and you don't want to have to scan shell commands for " "metacharacters." msgstr "" "يتصرف مقبض الملف بشكل طبيعي بالنسبة للأب، ولكن الإدخال/الإخراج إلى مقبض " "الملف هذا يُوجه عبر أنبوب من/إلى STDOUT/STDIN للعملية الابن. في العملية " "الابن، لا يُفتح مقبض الملف--بل يحدث الإدخال/الإخراج من/إلى STDOUT/STDIN " "الجديدين. عادةً ما يُستخدم هذا مثل فتح الأنابيب العادي عندما تريد ممارسة مزيد " "من التحكم في كيفية تنفيذ أمر الأنبوب، مثل عند التشغيل بهوية مستخدم مختلفة " "(setuid) ولا تريد الاضطرار إلى فحص أوامر الصدفة بحثًا عن محارف فوقية " "(metacharacters)." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "The following blocks are more or less equivalent:" msgstr "الكتل التالية متكافئة تقريبًا:" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "" "\\& open(my $fh, \"|tr \\*(Aq[a-z]\\*(Aq \\*(Aq[A-Z]\\*(Aq\");\n" "\\& open(my $fh, \"|-\", \"tr \\*(Aq[a-z]\\*(Aq \\*(Aq[A-Z]\\*(Aq\");\n" "\\& open(my $fh, \"|-\") || exec \\*(Aqtr\\*(Aq, \\*(Aq[a-z]\\*(Aq," " \\*(Aq[A-Z]\\*(Aq;\n" "\\& open(my $fh, \"|-\", \"tr\", \\*(Aq[a-z]\\*(Aq, \\*(Aq[A-Z]\\*(Aq);\n" "\\&\n" "\\& open(my $fh, \"cat -n \\*(Aq$file\\*(Aq|\");\n" "\\& open(my $fh, \"-|\", \"cat -n \\*(Aq$file\\*(Aq\");\n" "\\& open(my $fh, \"-|\") || exec \"cat\", \"-n\", $file;\n" "\\& open(my $fh, \"-|\", \"cat\", \"-n\", $file);\n" msgstr "" "\\& open(my $fh, \"|tr \\*(Aq[a-z]\\*(Aq \\*(Aq[A-Z]\\*(Aq\");\n" "\\& open(my $fh, \"|-\", \"tr \\*(Aq[a-z]\\*(Aq \\*(Aq[A-Z]\\*(Aq\");\n" "\\& open(my $fh, \"|-\") || exec \\*(Aqtr\\*(Aq, \\*(Aq[a-z]\\*(Aq," " \\*(Aq[A-Z]\\*(Aq;\n" "\\& open(my $fh, \"|-\", \"tr\", \\*(Aq[a-z]\\*(Aq, \\*(Aq[A-Z]\\*(Aq);\n" "\\&\n" "\\& open(my $fh, \"cat -n \\*(Aq$file\\*(Aq|\");\n" "\\& open(my $fh, \"-|\", \"cat -n \\*(Aq$file\\*(Aq\");\n" "\\& open(my $fh, \"-|\") || exec \"cat\", \"-n\", $file;\n" "\\& open(my $fh, \"-|\", \"cat\", \"-n\", $file);\n" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "The last two examples in each block show the pipe as \"list form\", which is " "not yet supported on all platforms. (If your platform has a real " "\\&CW<\\*(C`fork\\*(C'>, such as Linux and macOS, you can use the list form; " "it also works on Windows with Perl 5.22 or later.) You would want to use the " "list form of the pipe so you can pass literal arguments to the command " "without risk of the shell interpreting any shell metacharacters in them. " "However, this also bars you from opening pipes to commands that " "intentionally contain shell metacharacters, such as:" msgstr "" "يوضح المثالان الأخيران في كل كتلة الأنبوب في \"صيغة القائمة\"، وهي ليست " "مدعومة بعد على جميع المنصات. (إذا كانت منصتك تحتوي على " "\\&CW<\\*(C`fork\\*(C'> حقيقي، مثل Linux و macOS، يمكنك استخدام صيغة " "القائمة؛ كما أنها تعمل على Windows مع بيرل 5.22 أو أحدث.) قد ترغب في استخدام " "صيغة القائمة للأنبوب حتى تتمكن من تمرير معاملات حرفية إلى الأمر دون خطر قيام " "الصدفة بتفسير أي محارف صدفة فوقية فيها. ومع ذلك، فإن هذا يمنعك أيضًا من فتح " "الأنابيب للأوامر التي تحتوي عمدًا على محارف صدفة فوقية، مثل:" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "" "\\& open(my $fh, \"|cat -n | expand -4 | lpr\")\n" "\\& || die \"Can\\*(Aqt open pipeline to lpr: $!\";\n" msgstr "" "\\& open(my $fh, \"|cat -n | expand -4 | lpr\")\n" "\\& || die \"Can\\*(Aqt open pipeline to lpr: $!\";\n" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "See \"Safe Pipe Opens\" in perlipc for more examples of this." msgstr "راجع \"فتح الأنابيب الآمن\" في perlipc لمزيد من الأمثلة على ذلك." #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "Duping filehandles" msgstr "نسخ مقابض الملفات (Duping)" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "You may also, in the Bourne shell tradition, specify an EXPR beginning with " "CW<\\*(C`E&\\*(C'>, in which case the rest of the string is interpreted " "as the name of a filehandle (or file descriptor, if numeric) to be duped (as " "in B\\|(2)) and opened. You may use CW<\\*(C`&\\*(C'> after " "CW<\\*(C`E\\*(C'>, \\&CW<\\*(C`EE\\*(C'>, CW<\\*(C`E\\*(C'>, " "CW<\\*(C`+E\\*(C'>, CW<\\*(C`+EE\\*(C'>, and " "CW<\\*(C`+E\\*(C'>. The mode you specify should match the mode of the " "original filehandle. (Duping a filehandle does not take into account any " "existing contents of IO buffers.) If you use the three-argument form, then " "you can pass either a number, the name of a filehandle, or the normal " "\"reference to a glob\"." msgstr "" "يمكنك أيضًا، على غرار صدفة Bourne، تحديد EXPR يبدأ بـ CW<\\*(C`E&\\*(C'>، " "وفي هذه الحالة يُفسر باقي السلسلة النصية كاسم لمقبض ملف (أو واصف ملف، إذا كان " "رقميًا) لنسخه (كما في B\\|(2)) وفتحه. يمكنك استخدام CW<\\*(C`&\\*(C'> " "بعد CW<\\*(C`E\\*(C'>، و \\&CW<\\*(C`EE\\*(C'>، و " "CW<\\*(C`E\\*(C'>، و CW<\\*(C`+E\\*(C'>، و " "CW<\\*(C`+EE\\*(C'>، و CW<\\*(C`+E\\*(C'>. يجب أن يطابق النمط " "الذي تحدده نمط مقبض الملف الأصلي. (نسخ مقبض الملف لا يأخذ في الاعتبار أي " "محتويات موجودة في مخازن الإدخال/الإخراج المؤقتة.) إذا استخدمت صيغة المعاملات " "الثلاثة، فيمكنك تمرير إما رقم، أو اسم مقبض ملف، أو \"مرجع إلى glob\" عادي." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Here is a script that saves, redirects, and restores CW<\\*(C`STDOUT\\*(C'> " "and \\&CW<\\*(C`STDERR\\*(C'> using various methods:" msgstr "" "إليك نص برمجي يحفظ، ويعيد توجيه، ويستعيد CW<\\*(C`STDOUT\\*(C'> و " "\\&CW<\\*(C`STDERR\\*(C'> باستخدام طرق متنوعة:" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "" "\\& #!/usr/bin/perl\n" "\\& open(my $oldout, \"E&STDOUT\")\n" "\\& or die \"Can\\*(Aqt dup STDOUT: $!\";\n" "\\& open(OLDERR, \"E&\", \\e*STDERR)\n" "\\& or die \"Can\\*(Aqt dup STDERR: $!\";\n" "\\&\n" "\\& open(STDOUT, \\*(AqE\\*(Aq, \"foo.out\")\n" "\\& or die \"Can\\*(Aqt redirect STDOUT: $!\";\n" "\\& open(STDERR, \"E&STDOUT\")\n" "\\& or die \"Can\\*(Aqt dup STDOUT: $!\";\n" "\\&\n" "\\& select STDERR; $| = 1; # make unbuffered\n" "\\& select STDOUT; $| = 1; # make unbuffered\n" "\\&\n" "\\& print STDOUT \"stdout 1\\en\"; # this works for\n" "\\& print STDERR \"stderr 1\\en\"; # subprocesses too\n" "\\&\n" "\\& open(STDOUT, \"E&\", $oldout)\n" "\\& or die \"Can\\*(Aqt dup \\e$oldout: $!\";\n" "\\& open(STDERR, \"E&OLDERR\")\n" "\\& or die \"Can\\*(Aqt dup OLDERR: $!\";\n" "\\&\n" "\\& print STDOUT \"stdout 2\\en\";\n" "\\& print STDERR \"stderr 2\\en\";\n" msgstr "" "\\& #!/usr/bin/perl\n" "\\& open(my $oldout, \"E&STDOUT\")\n" "\\& or die \"Can\\*(Aqt dup STDOUT: $!\";\n" "\\& open(OLDERR, \"E&\", \\e*STDERR)\n" "\\& or die \"Can\\*(Aqt dup STDERR: $!\";\n" "\\&\n" "\\& open(STDOUT, \\*(AqE\\*(Aq, \"foo.out\")\n" "\\& or die \"Can\\*(Aqt redirect STDOUT: $!\";\n" "\\& open(STDERR, \"E&STDOUT\")\n" "\\& or die \"Can\\*(Aqt dup STDOUT: $!\";\n" "\\&\n" "\\& select STDERR; $| = 1; # جعلها غير مخزنة مؤقتًا\n" "\\& select STDOUT; $| = 1; # جعلها غير مخزنة مؤقتًا\n" "\\&\n" "\\& print STDOUT \"stdout 1\\en\"; # هذا يعمل من أجل\n" "\\& print STDERR \"stderr 1\\en\"; # العمليات الفرعية أيضًا\n" "\\&\n" "\\& open(STDOUT, \"E&\", $oldout)\n" "\\& or die \"Can\\*(Aqt dup \\e$oldout: $!\";\n" "\\& open(STDERR, \"E&OLDERR\")\n" "\\& or die \"Can\\*(Aqt dup OLDERR: $!\";\n" "\\&\n" "\\& print STDOUT \"stdout 2\\en\";\n" "\\& print STDERR \"stderr 2\\en\";\n" #. type: Plain text #: debian-trixie debian-unstable msgid "" "If you specify CW<\\*(AqE&=X\\*(Aq>, where CW<\\*(C`X\\*(C'> is a file " "descriptor number or a filehandle, then Perl will do an equivalent of C's " "B\\|(3) of that file descriptor (and not call B\\|(2)); this is " "more parsimonious of file descriptors. For example:" msgstr "" "إذا حددت CW<\\*(AqE&=X\\*(Aq>، حيث CW<\\*(C`X\\*(C'> هو رقم واصف ملف أو " "مقبض ملف، فستقوم بيرل بما يعادل B\\|(3) للغة C لذلك الواصف (ولا " "تستدعي B\\|(2))؛ وهذا أكثر اقتصادًا لواصفات الملفات. على سبيل المثال:" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "" "\\& # open for input, reusing the fileno of $fd\n" "\\& open(my $fh, \"E&=\", $fd)\n" msgstr "" "\\& # فتح للإدخال، مع إعادة استخدام fileno لـ $fd\n" "\\& open(my $fh, \"E&=\", $fd)\n" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "\\& open(my $fh, \"E&=$fd\")\n" msgstr "\\& open(my $fh, \"E&=$fd\")\n" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "" "\\& # open for append, using the fileno of $oldfh\n" "\\& open(my $fh, \"EE&=\", $oldfh)\n" msgstr "" "\\& # فتح للإلحاق، باستخدام fileno لـ $oldfh\n" "\\& open(my $fh, \"EE&=\", $oldfh)\n" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Being parsimonious on filehandles is also useful (besides being " "parsimonious) for example when something is dependent on file descriptors, " "like for example locking using \\&CW<\\*(C`flock\\*(C'>. If you do just " "\\&CW<\\*(C`open(my $A, \"EE&\", $B)\\*(C'>, the filehandle CW<$A> " "will not have the same file descriptor as CW<$B>, and therefore " "CW will not \\&CW nor vice versa. But with " "CW<\\*(C`open(my $A, \"EE&=\", $B)\\*(C'>, the filehandles will " "share the same underlying system file descriptor." msgstr "" "يعد الاقتصاد في مقابض الملفات مفيدًا أيضًا (بالإضافة إلى كونه اقتصاديًا) على " "سبيل المثال عندما يكون هناك شيء يعتمد على واصفات الملفات، مثل القفل باستخدام " "\\&CW<\\*(C`flock\\*(C'>. إذا قمت فقط بـ \\&CW<\\*(C`open(my $A, " "\"EE&\", $B)\\*(C'>، فلن يكون لمقبض الملف CW<$A> نفس واصف الملف مثل " "CW<$B>، وبالتالي فإن CW لن يقفل \\&CW ولا العكس. ولكن " "مع CW<\\*(C`open(my $A, \"EE&=\", $B)\\*(C'>، ستشترك مقابض الملفات " "في نفس واصف ملف النظام الأساسي." #. type: Plain text #: debian-trixie debian-unstable msgid "" "Note that under Perls older than 5.8.0, Perl uses the standard C library's' " "\\&B\\|(3) to implement the CW<\\*(C`=\\*(C'> functionality. On " "many Unix systems, \\&B\\|(3) fails when file descriptors exceed a " "certain value, typically 255. For Perls 5.8.0 and later, PerlIO is (most " "often) the default." msgstr "" "لاحظ أنه في إصدارات Perl الأقدم من 5.8.0، تستخدم بيرل مكتبة C القياسية " "\\&B\\|(3) لتنفيذ وظيفة CW<\\*(C`=\\*(C'>. في العديد من أنظمة Unix، " "تفشل \\&B\\|(3) عندما تتجاوز واصفات الملفات قيمة معينة، عادةً 255. " "بالنسبة لإصدارات Perl 5.8.0 والأحدث، فإن PerlIO هو (في أغلب الأحيان) المبدئي." #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "Legacy usage" msgstr "الاستخدام القديم" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "This section describes ways to call CW<\\*(C`open\\*(C'> outside of best " "practices; you may encounter these uses in older code. Perl does not " "consider their use deprecated, exactly, but neither is it recommended in new " "code, for the sake of clarity and readability." msgstr "" "يصف هذا القسم طرق استدعاء CW<\\*(C`open\\*(C'> خارج نطاق أفضل الممارسات؛ قد " "تواجه هذه الاستخدامات في البرمجيات القديمة. لا تعتبر بيرل استخدامها مهجورًا " "تمامًا، ولكن لا يُنصح بها في البرمجيات الجديدة، من أجل الوضوح وسهولة القراءة." #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "Specifying mode and filename as a single argument" msgstr "تحديد النمط واسم الملف كمعامل واحد" #. type: Plain text #: debian-trixie debian-unstable msgid "" "In the one- and two-argument forms of the call, the mode and filename should " "be concatenated (in that order), preferably separated by white space. You " "can--but shouldn't--omit the mode in these forms when that mode is " "CW<\\*(C`E\\*(C'>. It is safe to use the two-argument form of " "\\&CW<\\*(C`open\\*(C'> if the filename argument is a known literal." msgstr "" "في صيغ الاستدعاء بمعامل واحد أو معاملين، يجب دمج النمط واسم الملف (بهذا " "الترتيب)، ويفضل الفصل بينهما بمسافة بيضاء. يمكنك--ولكن لا ينبغي--حذف النمط " "في هذه الصيغ عندما يكون النمط هو CW<\\*(C`E\\*(C'>. من الآمن استخدام " "صيغة المعاملين لـ \\&CW<\\*(C`open\\*(C'> إذا كان معامل اسم الملف نصًا حرفيًا " "معروفًا." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "" "\\& open(my $dbase, \"+Edbase.mine\") # ditto\n" "\\& or die \"Can\\*(Aqt open \\*(Aqdbase.mine\\*(Aq for update: $!\";\n" msgstr "" "\\& open(my $dbase, \"+Edbase.mine\") # بالمثل\n" "\\& or die \"Can\\*(Aqt open \\*(Aqdbase.mine\\*(Aq for update: $!\";\n" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "In the two-argument (and one-argument) form, opening CW<\\*(C`E-\\*(C'> " "or CW<\\*(C`-\\*(C'> opens STDIN and opening CW<\\*(C`E-\\*(C'> opens " "STDOUT." msgstr "" "في صيغة المعاملين (والمعامل الواحد)، يؤدي فتح CW<\\*(C`E-\\*(C'> أو " "CW<\\*(C`-\\*(C'> إلى فتح STDIN ويؤدي فتح CW<\\*(C`E-\\*(C'> إلى فتح " "STDOUT." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "New code should favor the three-argument form of CW<\\*(C`open\\*(C'> over " "this older form. Declaring the mode and the filename as two distinct " "arguments avoids any confusion between the two." msgstr "" "يجب أن تفضل البرمجيات الجديدة صيغة المعاملات الثلاثة لـ CW<\\*(C`open\\*(C'> " "على هذه الصيغة القديمة. إن التصريح عن النمط واسم الملف كمعاملين متميزين " "يتجنب أي ارتباك بينهما." #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "Assigning a filehandle to a bareword" msgstr "إسناد مقبض ملف إلى كلمة مجردة (bareword)" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "An older style is to use a bareword as the filehandle, as" msgstr "الأسلوب القديم هو استخدام كلمة مجردة كمقبض للملف، مثل" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "" "\\& open(FH, \"E\", \"input.txt\")\n" "\\& or die \"Can\\*(Aqt open E input.txt: $!\";\n" msgstr "" "\\& open(FH, \"E\", \"input.txt\")\n" "\\& or die \"Can\\*(Aqt open E input.txt: $!\";\n" #. type: Plain text #: debian-trixie debian-unstable msgid "" "Then you can use CW<\\*(C`FH\\*(C'> as the filehandle, in CW<\\*(C`close " "FH\\*(C'> and CW<\\*(C`EFHE\\*(C'> and so on. Note that it's a " "global variable, so this form is not recommended when dealing with " "filehandles other than Perl's built-in ones (e.g. STDOUT and STDIN). In " "fact, using a bareword for the filehandle is an error when the " "\\&CW<\"bareword_filehandles\"> feature has been disabled. This feature is " "disabled automatically when in the scope of CW<\\*(C`use v5.36.0\\*(C'> or " "later." msgstr "" "بعد ذلك يمكنك استخدام CW<\\*(C`FH\\*(C'> كمقبض للملف، في CW<\\*(C`close " "FH\\*(C'> و CW<\\*(C`EFHE\\*(C'> وما إلى ذلك. لاحظ أنه متغير عام، " "لذا لا يُنصح بهذه الصيغة عند التعامل مع مقابض الملفات بخلاف تلك المدمجة في " "Perl (مثل STDOUT و STDIN). في الواقع، يعد استخدام كلمة مجردة لمقبض الملف خطأً " "عندما تُعطل ميزة \\&CW<\"bareword_filehandles\">. تُعطل هذه الميزة آليًا" " عندما " "تكون في نطاق CW<\\*(C`use v5.36.0\\*(C'> أو أحدث." #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "Calling open with one argument via global variables" msgstr "استدعاء open بمعامل واحد عبر المتغيرات العامة" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "As a shortcut, a one-argument call takes the filename from the global scalar " "variable of the same name as the bareword filehandle:" msgstr "" "كاختصار، يأخذ استدعاء المعامل الواحد اسم الملف من المتغير السلمي العام الذي " "له نفس اسم مقبض الملف ذو الكلمة المجردة:" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "" "\\& $ARTICLE = 100;\n" "\\& open(ARTICLE)\n" "\\& or die \"Can\\*(Aqt find article $ARTICLE: $!\\en\";\n" msgstr "" "\\& $ARTICLE = 100;\n" "\\& open(ARTICLE)\n" "\\& or die \"Can\\*(Aqt find article $ARTICLE: $!\\en\";\n" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Here CW<$ARTICLE> must be a global scalar variable in the same package as " "the filehandle - not one declared with CW<\\*(C`my\\*(C'> or " "\\&CW<\\*(C`state\\*(C'>." msgstr "" "هنا يجب أن يكون CW<$ARTICLE> متغيرًا سلميًا عامًا في نفس الحزمة التي يوجد بها " "مقبض الملف - وليس متغيرًا مُصرحًا عنه بـ CW<\\*(C`my\\*(C'> أو " "\\&CW<\\*(C`state\\*(C'>." #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "Other considerations" msgstr "اعتبارات أخرى" #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "Automatic filehandle closure" msgstr "الإغلاق الآلي لمقبض الملف" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "The filehandle will be closed when its reference count reaches zero. If it " "is a lexically scoped variable declared with CW<\\*(C`my\\*(C'>, that " "usually means the end of the enclosing scope. However, this automatic close " "does not check for errors, so it is better to explicitly close filehandles, " "especially those used for writing:" msgstr "" "سيُغلق مقبض الملف عندما يصل عدد مراجعة (reference count) إلى الصفر. إذا كان " "متغيرًا ذا نطاق معجمي مُصرحًا عنه بـ CW<\\*(C`my\\*(C'>، فإن ذلك يعني عادةً " "نهاية النطاق المحيط. ومع ذلك، فإن هذا الإغلاق الآلي لا يتحقق من الأخطاء، لذا " "من الأفضل إغلاق مقابض الملفات صراحةً، خاصة تلك المستخدمة للكتابة:" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "" "\\& close($handle)\n" "\\& || warn \"close failed: $!\";\n" msgstr "" "\\& close($handle)\n" "\\& || warn \"close failed: $!\";\n" #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "Automatic pipe flushing" msgstr "تفريغ الأنابيب الآلي" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Perl will attempt to flush all files opened for output before any operation " "that may do a fork, but this may not be supported on some platforms (see " "perlport). To be safe, you may need to set CW<$|> (CW<$AUTOFLUSH> in " "English) or call the CW<\\*(C`autoflush\\*(C'> method of CW<\\*(C`IO::" "Handle\\*(C'> on any open handles." msgstr "" "ستحاول بيرل تفريغ جميع الملفات المفتوحة للإخراج قبل أي عملية قد تقوم بـ " "fork، ولكن قد لا يكون هذا مدعومًا في بعض المنصات (راجع perlport). لتكون" " آمنًا، " "قد تحتاج إلى ضبط CW<$|> (أو CW<$AUTOFLUSH> بالإنجليزية) أو استدعاء تابع " "CW<\\*(C`autoflush\\*(C'> الخاص بـ CW<\\*(C`IO::Handle\\*(C'> على أي مقابض " "مفتوحة." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "On systems that support a close-on-exec flag on files, the flag will be set " "for the newly opened file descriptor as determined by the value of CW<$^F>. " "See \"$^F\" in perlvar." msgstr "" "في الأنظمة التي تدعم علامة \"الإغلاق عند التنفيذ\" (close-on-exec) على " "الملفات، سيُضبط هذا العلم لواصف الملف المفتوح حديثًا كما هو محدد بواسطة قيمة " "CW<$^F>. راجع \"$^F\" في perlvar." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Closing any piped filehandle causes the parent process to wait for the child " "to finish, then returns the status value in CW<$?> and " "\\&CW<\\*(C`${^CHILD_ERROR_NATIVE}\\*(C'>." msgstr "" "يؤدي إغلاق أي مقبض ملف موجه عبر أنبوب إلى انتظار العملية الأب حتى ينتهي " "الابن، ثم يعيد قيمة الحالة في CW<$?> و " "\\&CW<\\*(C`${^CHILD_ERROR_NATIVE}\\*(C'>." #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "Direct versus by-reference assignment of filehandles" msgstr "الإسناد المباشر مقابل الإسناد بالمرجع لمقابض الملفات" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "If FILEHANDLE -- the first argument in a call to CW<\\*(C`open\\*(C'> -- is " "an undefined scalar variable (or array or hash element), a new filehandle is " "autovivified, meaning that the variable is assigned a reference to a newly " "allocated anonymous filehandle. Otherwise if FILEHANDLE is an expression, " "its value is the real filehandle. (This is considered a symbolic reference, " "so CW<\\*(C`use strict \"refs\"\\*(C'> should I be in effect.)" msgstr "" "إذا كان FILEHANDLE -- المعامل الأول في استدعاء CW<\\*(C`open\\*(C'> -- " "متغيرًا سلميًا غير معرف (أو عنصر مصفوفة أو هاش)، فسيُنشأ مقبض ملف جديد آليًا " "(autovivified)، مما يعني أن المتغير يُسند إليه مرجع لمقبض ملف مجهول مخصص " "حديثًا. بخلاف ذلك، إذا كان FILEHANDLE تعبيرًا، فإن قيمته هي مقبض الملف " "الحقيقي. (يعتبر هذا مرجعًا رمزيًا، لذا يجب I<ألا> يكون CW<\\*(C`use strict " "\"refs\"\\*(C'> قيد التنفيذ.)" #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "Whitespace and special characters in the filename argument" msgstr "المسافات البيضاء والمحارف الخاصة في معامل اسم الملف" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "The filename passed to the one- and two-argument forms of " "\\&CW<\\*(C`open\\*(C'> will have leading and trailing whitespace deleted " "and normal redirection characters honored. This property, known as \"magic " "open\", can often be used to good effect. A user could specify a filename " "of \\&I<\"rsh cat file |\">, or you could change certain filenames as needed:" msgstr "" "اسم الملف الممرر إلى صيغ المعامل الواحد والمعاملين لـ " "\\&CW<\\*(C`open\\*(C'> ستُحذف منه المسافات البيضاء البادئة واللاحقة وستُحترم " "محارف إعادة التوجيه العادية. هذه الخاصية، المعروفة باسم \"الفتح " "السحري\" (magic open)، يمكن استخدامها غالبًا لتحقيق نتائج جيدة. يمكن للمستخدم " "تحديد اسم ملف مثل \\&I<\"rsh cat file |\">، أو يمكنك تغيير أسماء ملفات معينة " "حسب الحاجة:" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "" "\\& $filename =~ s/(.*\\e.gz)\\es*$/gzip -dc E $1|/;\n" "\\& open(my $fh, $filename)\n" "\\& or die \"Can\\*(Aqt open $filename: $!\";\n" msgstr "" "\\& $filename =~ s/(.*\\e.gz)\\es*$/gzip -dc E $1|/;\n" "\\& open(my $fh, $filename)\n" "\\& or die \"Can\\*(Aqt open $filename: $!\";\n" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Use the three-argument form to open a file with arbitrary weird characters " "in it," msgstr "استخدم صيغة المعاملات الثلاثة لفتح ملف يحتوي على محارف غريبة عشوائية،" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "" "\\& open(my $fh, \"E\", $file)\n" "\\& || die \"Can\\*(Aqt open $file: $!\";\n" msgstr "" "\\& open(my $fh, \"E\", $file)\n" "\\& || die \"Can\\*(Aqt open $file: $!\";\n" #. type: Plain text #: debian-trixie debian-unstable msgid "" "otherwise it's necessary to protect any leading and trailing whitespace:" msgstr "وإلا فمن الضروري حماية أي مسافات بيضاء بادئة ولاحقة:" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "" "\\& $file =~ s#^(\\es)#./$1#;\n" "\\& open(my $fh, \"E $file\\e0\")\n" "\\& || die \"Can\\*(Aqt open $file: $!\";\n" msgstr "" "\\& $file =~ s#^(\\es)#./$1#;\n" "\\& open(my $fh, \"E $file\\e0\")\n" "\\& || die \"Can\\*(Aqt open $file: $!\";\n" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "(this may not work on some bizarre filesystems). One should conscientiously " "choose between the I and I form of " "CW<\\*(C`open\\*(C'>:" msgstr "" "(قد لا يعمل هذا على بعض أنظمة الملفات الغريبة). يجب على المرء أن يختار " "بعناية بين صيغة I وصيغة I<المعاملات الثلاثة> لـ CW<\\*(C`open\\*(C'>:" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "" "\\& open(my $in, $ARGV[0]) || die \"Can\\*(Aqt open $ARGV[0]: $!\";\n" msgstr "" "\\& open(my $in, $ARGV[0]) || die \"Can\\*(Aqt open $ARGV[0]: $!\";\n" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "will allow the user to specify an argument of the form CW<\"rsh cat file |" "\">, but will not work on a filename that happens to have a trailing space, " "while" msgstr "" "ستسمح للمستخدم بتحديد معامل من الصيغة CW<\"rsh cat file |\">، ولكنها لن تعمل " "على اسم ملف ينتهي بمسافة، بينما" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "" "\\& open(my $in, \"E\", $ARGV[0])\n" "\\& || die \"Can\\*(Aqt open $ARGV[0]: $!\";\n" msgstr "" "\\& open(my $in, \"E\", $ARGV[0])\n" "\\& || die \"Can\\*(Aqt open $ARGV[0]: $!\";\n" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "will have exactly the opposite restrictions. (However, some shells support " "the syntax CW<\\*(C`perl your_program.pl E( rsh cat file )\\*(C'>, which " "produces a filename that can be opened normally.)" msgstr "" "سيكون لها بالضبط القيود المعاكسة. (ومع ذلك، تدعم بعض الصدفات بناء الجملة " "CW<\\*(C`perl your_program.pl E( rsh cat file )\\*(C'>، الذي ينتج اسم " "ملف يمكن فتحه بشكل طبيعي.)" #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "Invoking C-style open" msgstr "استدعاء open بنمط لغة C" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "If you want a \"real\" C B\\|(2), then you should use the " "\\&CW<\\*(C`sysopen\\*(C'> function, which involves no such magic (but uses " "different filemodes than Perl \\&CW<\\*(C`open\\*(C'>, which corresponds to " "C B\\|(3)). This is another way to protect your filenames from " "interpretation. For example:" msgstr "" "إذا كنت تريد B\\|(2) \"حقيقيًا\" لـ C، فيجب عليك استخدام دالة " "\\&CW<\\*(C`sysopen\\*(C'>، التي لا تنطوي على مثل هذا السحر (ولكنها تستخدم " "أنماط ملفات مختلفة عن بيرل \\&CW<\\*(C`open\\*(C'>، التي تتوافق مع C " "B\\|(3)). هذه طريقة أخرى لحماية أسماء ملفاتك من التفسير. على سبيل " "المثال:" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "" "\\& use IO::Handle;\n" "\\& sysopen(my $fh, $path, O_RDWR|O_CREAT|O_EXCL)\n" "\\& or die \"Can\\*(Aqt open $path: $!\";\n" "\\& $fh-Eautoflush(1);\n" "\\& print $fh \"stuff $$\\en\";\n" "\\& seek($fh, 0, 0);\n" "\\& print \"File contains: \", readline($fh);\n" msgstr "" "\\& use IO::Handle;\n" "\\& sysopen(my $fh, $path, O_RDWR|O_CREAT|O_EXCL)\n" "\\& or die \"Can\\*(Aqt open $path: $!\";\n" "\\& $fh-Eautoflush(1);\n" "\\& print $fh \"stuff $$\\en\";\n" "\\& seek($fh, 0, 0);\n" "\\& print \"File contains: \", readline($fh);\n" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "See CW<\\*(C`seek\\*(C'> for some details about mixing reading and writing." msgstr "" "راجع CW<\\*(C`seek\\*(C'> للحصول على بعض التفاصيل حول الخلط بين القراءة " "والكتابة." #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "Portability issues" msgstr "مسائل القابلية للنقل" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "See \"open\" in perlport." msgstr "راجع \"open\" في perlport." #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "opendir DIRHANDLE,EXPR" msgstr "opendir DIRHANDLE,EXPR" #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "opendir" msgstr "opendir" #. type: Plain text #: debian-trixie debian-unstable msgid "" "Opens a directory named EXPR for processing by \\&CW<\\*(C`readdir\\*(C'>, " "CW<\\*(C`telldir\\*(C'>, \\&CW<\\*(C`seekdir\\*(C'>, " "\\&CW<\\*(C`rewinddir\\*(C'>, and \\&CW<\\*(C`closedir\\*(C'>. Returns true " "if successful. DIRHANDLE may be an expression whose value can be used as an " "indirect dirhandle, usually the real dirhandle name. If DIRHANDLE is an " "undefined scalar variable (or array or hash element), the variable is " "assigned a reference to a new anonymous dirhandle; that is, it's " "autovivified. Dirhandles are the same objects as filehandles; an I/O object " "can only be open as one of these handle types at once." msgstr "" "يفتح دليلًا باسم EXPR لمعالجته بواسطة \\&CW<\\*(C`readdir\\*(C'>، و " "CW<\\*(C`telldir\\*(C'>، و \\&CW<\\*(C`seekdir\\*(C'>، و " "\\&CW<\\*(C`rewinddir\\*(C'>، و \\&CW<\\*(C`closedir\\*(C'>. يعيد صحيحًا إذا " "كان ناجحًا. قد يكون DIRHANDLE تعبيرًا يمكن استخدام قيمته كمقبض دليل غير" " مباشر، " "عادةً ما يكون اسم مقبض الدليل الحقيقي. إذا كان DIRHANDLE متغيرًا سلميًا غير " "معرف (أو عنصر مصفوفة أو هاش)، فسيُسند إلى المتغير مرجع لمقبض دليل مجهول جديد؛ " "أي أنه يُنشأ آليًا (autovivified). مقابض الأدلة هي نفس كائنات مقابض الملفات؛ " "يمكن لكائن إدخال/إخراج واحد أن يكون مفتوحًا كواحد فقط من أنواع المقابض هذه في " "كل مرة." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "See the example at CW<\\*(C`readdir\\*(C'>." msgstr "راجع المثال في CW<\\*(C`readdir\\*(C'>." #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "ord EXPR" msgstr "ord EXPR" #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "ord encoding" msgstr "ord encoding" #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "ord" msgstr "ord" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Returns the code point of the first character of EXPR. If EXPR is an empty " "string, returns 0. If EXPR is omitted, uses \\&CW<$_>. (Note I, " "not byte.)" msgstr "" "يعيد نقطة الترميز للمحرف الأول من EXPR. إذا كان EXPR سلسلة نصية فارغة، يعيد " "0. إذا حُذف EXPR، يستخدم \\&CW<$_>. (لاحظ I<محرف>، وليس بايت.)" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "For the reverse, see CW<\\*(C`chr\\*(C'>. See perlunicode for more about " "Unicode." msgstr "للعكس، راجع CW<\\*(C`chr\\*(C'>. راجع perlunicode لمزيد عن يونيكود." #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "our VARLIST" msgstr "our VARLIST" #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "our global" msgstr "our global" #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "our TYPE VARLIST" msgstr "our TYPE VARLIST" #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "our VARLIST : ATTRS" msgstr "our VARLIST : ATTRS" #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "our TYPE VARLIST : ATTRS" msgstr "our TYPE VARLIST : ATTRS" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "\\&CW<\\*(C`our\\*(C'> makes a lexical alias to a package (i.e. global) " "variable of the same name in the current package for use within the current " "lexical scope." msgstr "" "تقوم \\&CW<\\*(C`our\\*(C'> بإنشاء اسم مستعار معجمي لمتغير حزمة (أي عام) " "بنفس الاسم في الحزمة الحالية لاستخدامه ضمن النطاق المعجمي الحالي." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "\\&CW<\\*(C`our\\*(C'> has the same scoping rules as \\&CW<\\*(C`my\\*(C'> " "or CW<\\*(C`state\\*(C'>, meaning that it is only valid within a lexical " "scope. Unlike CW<\\*(C`my\\*(C'> and \\&CW<\\*(C`state\\*(C'>, which both " "declare new (lexical) variables, \\&CW<\\*(C`our\\*(C'> only creates an " "alias to an existing variable: a package variable of the same name." msgstr "" "تمتلك \\&CW<\\*(C`our\\*(C'> نفس قواعد النطاق مثل \\&CW<\\*(C`my\\*(C'> أو " "CW<\\*(C`state\\*(C'>، مما يعني أنها صالحة فقط ضمن نطاق معجمي. على عكس " "CW<\\*(C`my\\*(C'> و \\&CW<\\*(C`state\\*(C'>، اللتين تصرحان عن متغيرات " "(معجمية) جديدة، فإن \\&CW<\\*(C`our\\*(C'> تنشئ فقط اسمًا مستعارًا لمتغير " "موجود: متغير حزمة بنفس الاسم." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "This means that when CW<\\*(C`use strict \\*(Aqvars\\*(Aq\\*(C'> is in " "effect, CW<\\*(C`our\\*(C'> lets you use a package variable without " "qualifying it with the package name, but only within the lexical scope of " "the \\&CW<\\*(C`our\\*(C'> declaration. This applies immediately--even " "within the same statement." msgstr "" "وهذا يعني أنه عند تفعيل CW<\\*(C`use strict \\*(Aqvars\\*(Aq\\*(C'>، فإن " "CW<\\*(C`our\\*(C'> تسمح لك باستخدام متغير حزمة دون تأهيله باسم الحزمة، ولكن " "فقط ضمن النطاق المعجمي لتصريح \\&CW<\\*(C`our\\*(C'>. ينطبق هذا فورًا--حتى " "داخل نفس الجملة." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "" "\\& package Foo;\n" "\\& use v5.36; # which implies \"use strict;\"\n" "\\&\n" "\\& $Foo::foo = 23;\n" "\\&\n" "\\& {\n" "\\& our $foo; # alias to $Foo::foo\n" "\\& print $foo; # prints 23\n" "\\& }\n" "\\&\n" "\\& print $Foo::foo; # prints 23\n" "\\&\n" "\\& print $foo; # ERROR: requires explicit package name\n" msgstr "" "\\& package Foo;\n" "\\& use v5.36; # مما يتضمن \"use strict;\"\n" "\\&\n" "\\& $Foo::foo = 23;\n" "\\&\n" "\\& {\n" "\\& our $foo; # اسم مستعار لـ $Foo::foo\n" "\\& print $foo; # يطبع 23\n" "\\& }\n" "\\&\n" "\\& print $Foo::foo; # يطبع 23\n" "\\&\n" "\\& print $foo; # خطأ: يتطلب اسم حزمة صريح\n" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "This works even if the package variable has not been used before, as package " "variables spring into existence when first used." msgstr "" "يعمل هذا حتى لو لم يُستخدم متغير الحزمة من قبل، حيث تنبثق متغيرات الحزمة إلى " "الوجود عند أول استخدام لها." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "" "\\& package Foo;\n" "\\& use v5.36;\n" "\\&\n" "\\& our $foo = 23; # just like $Foo::foo = 23\n" "\\&\n" "\\& print $Foo::foo; # prints 23\n" msgstr "" "\\& package Foo;\n" "\\& use v5.36;\n" "\\&\n" "\\& our $foo = 23; # تمامًا مثل $Foo::foo = 23\n" "\\&\n" "\\& print $Foo::foo; # يطبع 23\n" #. type: Plain text #: debian-trixie debian-unstable msgid "" "Because the variable becomes legal immediately under CW<\\*(C`use strict " "\\*(Aqvars\\*(Aq\\*(C'>, so long as there is no variable with that name is " "already in scope, you can then reference the package variable again even " "within the same statement." msgstr "" "ولأن المتغير يصبح قانونيًا فورًا تحت CW<\\*(C`use strict " "\\*(Aqvars\\*(Aq\\*(C'>، طالما أنه لا يوجد متغير بهذا الاسم موجود بالفعل في " "النطاق، يمكنك بعد ذلك مراجعة متغير الحزمة مرة أخرى حتى داخل نفس الجملة." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "" "\\& package Foo;\n" "\\& use v5.36;\n" "\\&\n" "\\& my $foo = $foo; # error, undeclared $foo on right-hand side\n" "\\& our $foo = $foo; # no errors\n" msgstr "" "\\& package Foo;\n" "\\& use v5.36;\n" "\\&\n" "\\& my $foo = $foo; # خطأ، $foo غير مصرح عنه في الجانب الأيمن\n" "\\& our $foo = $foo; # لا توجد أخطاء\n" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "If more than one variable is listed, the list must be placed in parentheses." msgstr "إذا أُدرج أكثر من متغير واحد، فيجب وضع القائمة بين قوسين." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "\\& our($bar, $baz);\n" msgstr "\\& our($bar, $baz);\n" #. type: Plain text #: debian-trixie debian-unstable msgid "" "Like CW<\\*(C`my\\*(C'>, CW<\\*(C`state\\*(C'>, and " "\\&CW<\\*(C`local\\*(C'>, CW<\\*(C`our\\*(C'> can operate on a variable " "anywhere it appears in an expression (aside from interpolation in strings). " "The declaration will not apply to additional uses of the same variable until " "the next statement. This means additional uses of that variable within the " "same statement will act as they would have before that declaration occurred, " "with the exception that it will still satisfy strict 'vars' and interpret " "that variable as the newly aliased package variable if it was not yet " "declared in that scope." msgstr "" "مثل CW<\\*(C`my\\*(C'>، و CW<\\*(C`state\\*(C'>، و \\&CW<\\*(C`local\\*(C'>، " "يمكن لـ CW<\\*(C`our\\*(C'> العمل على متغير في أي مكان يظهر فيه في تعبير " "(بصرف النظر عن الاستكمال داخل السلاسل النصية). لن ينطبق التصريح على " "الاستخدامات الإضافية لنفس المتغير حتى الجملة التالية. هذا يعني أن " "الاستخدامات الإضافية لذلك المتغير داخل نفس الجملة ستعمل كما كانت قبل حدوث " "ذلك التصريح، باستثناء أنها ستظل تلبي strict 'vars' وتفسر ذلك المتغير كمتغير " "حزمة ذو اسم مستعار حديثًا إذا لم يكن قد صُرح عنه بعد في ذلك النطاق." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "" "\\& package main;\n" "\\& my $x = 2;\n" "\\& foo($x, our $x = $x + 1, $x); # foo() receives (2, 3, 2)\n" "\\& foo($x, our $z = 5, $z); # foo() receives (3, 5, 5)\n" msgstr "" "\\& package main;\n" "\\& my $x = 2;\n" "\\& foo($x, our $x = $x + 1, $x); # تستقبل foo() قيم (2, 3, 2)\n" "\\& foo($x, our $z = 5, $z); # تستقبل foo() قيم (3, 5, 5)\n" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "An CW<\\*(C`our\\*(C'> declaration declares an alias for a package variable " "that will be visible across its entire lexical scope, even across package " "boundaries. The package in which the variable is entered is determined at " "the point of the declaration, not at the point of use. This means the " "following behavior holds:" msgstr "" "يصرح تصريح CW<\\*(C`our\\*(C'> عن اسم مستعار لمتغير حزمة سيكون مرئيًا عبر " "كامل نطاقه المعجمي، حتى عبر حدود الحزم. يُحدد الحزمة التي يُدخل فيها المتغير " "عند نقطة التصريح، وليس عند نقطة الاستخدام. وهذا يعني أن السلوك التالي سارٍ:" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "" "\\& package Foo;\n" "\\& our $bar; # declares $Foo::bar for rest of lexical scope\n" "\\& $bar = 20;\n" "\\&\n" "\\& package Bar;\n" "\\& print $bar; # prints 20, as it refers to $Foo::bar\n" msgstr "" "\\& package Foo;\n" "\\& our $bar; # يصرح عن $Foo::bar لبقية النطاق المعجمي\n" "\\& $bar = 20;\n" "\\&\n" "\\& package Bar;\n" "\\& print $bar; # يطبع 20، حيث يشير إلى $Foo::bar\n" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Multiple CW<\\*(C`our\\*(C'> declarations with the same name in the same " "lexical scope are allowed if they are in different packages. If they happen " "to be in the same package, Perl will emit warnings if you have asked for " "them, just like multiple CW<\\*(C`my\\*(C'> declarations. Unlike a second " "CW<\\*(C`my\\*(C'> declaration, which will bind the name to a fresh " "variable, a second CW<\\*(C`our\\*(C'> declaration in the same package, in " "the same scope, is merely redundant." msgstr "" "يُسمح بتصاريح CW<\\*(C`our\\*(C'> متعددة بنفس الاسم في نفس النطاق المعجمي إذا " "كانت في حزم مختلفة. إذا كانت في نفس الحزمة، فستصدر بيرل تحذيرات إذا طلبت " "ذلك، تمامًا مثل تصاريح CW<\\*(C`my\\*(C'> المتعددة. على عكس تصريح " "CW<\\*(C`my\\*(C'> ثانٍ، والذي سيربط الاسم بمتغير جديد، فإن تصريح " "CW<\\*(C`our\\*(C'> ثانٍ في نفس الحزمة، وفي نفس النطاق، هو مجرد تكرار غير " "ضروري." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "" "\\& use warnings;\n" "\\& package Foo;\n" "\\& our $bar; # declares $Foo::bar for rest of lexical scope\n" "\\& $bar = 20;\n" "\\&\n" "\\& package Bar;\n" "\\& our $bar = 30; # declares $Bar::bar for rest of lexical scope\n" "\\& print $bar; # prints 30\n" "\\&\n" "\\& our $bar; # emits warning but has no other effect\n" "\\& print $bar; # still prints 30\n" msgstr "" "\\& use warnings;\n" "\\& package Foo;\n" "\\& our $bar; # يصرح عن $Foo::bar لبقية النطاق المعجمي\n" "\\& $bar = 20;\n" "\\&\n" "\\& package Bar;\n" "\\& our $bar = 30; # يصرح عن $Bar::bar لبقية النطاق المعجمي\n" "\\& print $bar; # يطبع 30\n" "\\&\n" "\\& our $bar; # يصدر تحذيرًا ولكن ليس له أي تأثير آخر\n" "\\& print $bar; # لا يزال يطبع 30\n" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "An CW<\\*(C`our\\*(C'> declaration may also have a list of attributes " "associated with it." msgstr "قد يحتوي تصريح CW<\\*(C`our\\*(C'> أيضًا على قائمة سمات مرتبطة به." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "The exact semantics and interface of TYPE and ATTRS are still evolving. " "TYPE is currently bound to the use of the fields pragma, and attributes are " "handled using the attributes pragma, or, starting from Perl 5.8.0, also via " "the Attribute::Handlers module. See \"Private Variables via B\" in " "perlsub for details." msgstr "" "لا تزال الدلالات الدقيقة وواجهة TYPE و ATTRS في طور التطور. يرتبط TYPE حاليًا " "باستخدام برجمة fields، وتُعالج السمات باستخدام برجمة attributes، أو، بدءًا من " "Perl 5.8.0، عبر وحدة Attribute::Handlers أيضًا. راجع \"المتغيرات الخاصة عبر " "B\" في perlsub لمزيد من التفاصيل." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "\\& our ( undef, $min, $hour ) = localtime;\n" msgstr "\\& our ( undef, $min, $hour ) = localtime;\n" #. type: Plain text #: debian-trixie debian-unstable msgid "" "\\&CW<\\*(C`our\\*(C'> differs from CW<\\*(C`use vars\\*(C'>, which allows " "use of an unqualified name I within the affected package, but across " "scopes." msgstr "" "تختلف \\&CW<\\*(C`our\\*(C'> عن CW<\\*(C`use vars\\*(C'>، التي تسمح باستخدام " "اسم غير مؤهل I<فقط> داخل الحزمة المتأثرة، ولكن عبر النطاقات." #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "pack TEMPLATE,LIST" msgstr "pack TEMPLATE,LIST" #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "pack" msgstr "pack" #. type: Plain text #: debian-trixie debian-unstable msgid "" "Takes a LIST of values and converts it into a string using the rules given " "by the TEMPLATE. The resulting string is the concatenation of the converted " "values. Typically, each converted value looks like its machine-level " "representation. For example, on 32-bit machines an integer may be " "represented by a sequence of 4 bytes, which will in Perl be presented as a " "string that's 4 characters long." msgstr "" "تأخذ LIST من القيم وتحولها إلى سلسلة نصية باستخدام القواعد المحددة بواسطة " "TEMPLATE. السلسلة الناتجة هي دمج للقيم المحولة. عادةً ما تبدو كل قيمة محولة " "مثل تمثيلها على مستوى الآلة. على سبيل المثال، في الآلات ذات 32 بت، قد يُمثل " "العدد الصحيح بتسلسل من 4 بايتات، والتي ستُقدم في بيرل كسلسلة نصية طولها 4 " "محارف." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "See perlpacktut for an introduction to this function." msgstr "راجع perlpacktut لمقدمة حول هذه الدالة." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "The TEMPLATE is a sequence of characters that give the order and type of " "values, as follows:" msgstr "TEMPLATE هو تسلسل من المحارف التي تحدد ترتيب ونوع القيم، كما يلي:" #. type: Plain text #: debian-trixie debian-unstable #, no-wrap msgid "" "\\& a A string with arbitrary binary data, will be null padded.\n" "\\& A A text (ASCII) string, will be space padded.\n" "\\& Z A null-terminated (ASCIZ) string, will be null padded.\n" "\\&\n" "\\& b A bit string (ascending bit order inside each byte,\n" "\\& like vec()).\n" "\\& B A bit string (descending bit order inside each byte).\n" "\\& h A hex string (low nybble first).\n" "\\& H A hex string (high nybble first).\n" "\\&\n" "\\& c A signed char (8-bit) value.\n" "\\& C An unsigned char (octet) value.\n" "\\& W An unsigned char value (can be greater than 255).\n" "\\&\n" "\\& s A signed short (16-bit) value.\n" "\\& S An unsigned short value.\n" "\\&\n" "\\& l A signed long (32-bit) value.\n" "\\& L An unsigned long value.\n" "\\&\n" "\\& q A signed quad (64-bit) value.\n" "\\& Q An unsigned quad value.\n" "\\& (Quads are available only if your system supports 64-bit\n" "\\& integer values _and_ if Perl has been compiled to support\n" "\\& those. Raises an exception otherwise.)\n" "\\&\n" "\\& i A signed integer value.\n" "\\& I An unsigned integer value.\n" "\\& (This \\*(Aqinteger\\*(Aq is _at_least_ 32 bits wide. Its exact\n" "\\& size depends on what a local C compiler calls \\*(Aqint\\*(Aq.)\n" "\\&\n" "\\& n An unsigned short (16-bit) in \"network\" (big-endian) order.\n" "\\& N An unsigned long (32-bit) in \"network\" (big-endian) order.\n" "\\& v An unsigned short (16-bit) in \"VAX\" (little-endian) order.\n" "\\& V An unsigned long (32-bit) in \"VAX\" (little-endian) order.\n" "\\&\n" "\\& j A Perl internal signed integer value (IV).\n" "\\& J A Perl internal unsigned integer value (UV).\n" "\\&\n" "\\& f A single-precision float in native format.\n" "\\& d A double-precision float in native format.\n" "\\&\n" "\\& F A Perl internal floating-point value (NV) in native format\n" "\\& D A float of long-double precision in native format.\n" "\\& (Long doubles are available only if your system supports\n" "\\& long double values. Raises an exception otherwise.\n" "\\& Note that there are different long double formats.)\n" "\\&\n" "\\& p A pointer to a null-terminated string.\n" "\\& P A pointer to a structure (fixed-length string).\n" "\\&\n" "\\& u A uuencoded string.\n" "\\& U A Unicode character number. Encodes to a character in char-\n" "\\& acter mode and UTF-8 (or UTF-EBCDIC in EBCDIC platforms) in\n" "\\& byte mode. Also on EBCDIC platforms, the character number will\n" "\\& be the native EBCDIC value for character numbers below 256.\n" "\\& This allows most programs using this feature to not have to\n" "\\& care which type of platform they are running on.\n" "\\&\n" "\\& w A BER compressed integer (not an ASN.1 BER, see perlpacktut\n" "\\& for details). Its bytes represent an unsigned integer in\n" "\\& base 128, most significant digit first, with as few digits\n" "\\& as possible. Bit eight (the high bit) is set on each byte\n" "\\& except the last.\n" "\\&\n" "\\& x A null byte (a.k.a ASCII NUL, \"\\e000\", chr(0))\n" "\\& X Back up a byte.\n" "\\& @ Null-fill or truncate to absolute position, counted from the\n" "\\& start of the innermost ()-group.\n" "\\& . Null-fill or truncate to absolute position specified by\n" "\\& the value.\n" "\\& ( Start of a ()-group.\n" msgstr "" "\\& a سلسلة نصية ببيانات ثنائية عشوائية، ستُحشى بالأصفار (null).\n" "\\& A سلسلة نصية نصية (ASCII)، ستُحشى بالمسافات.\n" "\\& Z سلسلة نصية منتهية بـ null (ASCIZ)، ستُحشى بالأصفار.\n" "\\&\n" "\\& b سلسلة بتات (ترتيب بتات تصاعدي داخل كل بايت،\n" "\\& مثل vec()).\n" "\\& B سلسلة بتات (ترتيب بتات تنازلي داخل كل بايت).\n" "\\& h سلسلة ست عشرية (النيبل المنخفض أولاً).\n" "\\& H سلسلة ست عشرية (النيبل المرتفع أولاً).\n" "\\&\n" "\\& c قيمة محرف موقعة (8 بت).\n" "\\& C قيمة محرف غير موقعة (ثمانية).\n" "\\& W قيمة محرف غير موقعة (يمكن أن تكون أكبر من 255).\n" "\\&\n" "\\& s قيمة short موقعة (16 بت).\n" "\\& S قيمة short غير موقعة.\n" "\\&\n" "\\& l قيمة long موقعة (32 بت).\n" "\\& L قيمة long غير موقعة.\n" "\\&\n" "\\& q قيمة quad موقعة (64 بت).\n" "\\& Q قيمة quad غير موقعة.\n" "\\& (قيم Quad متوفرة فقط إذا كان نظامك يدعم قيم أعداد صحيحة\n" "\\& بـ 64 بت _و_ إذا بُنيت Perl لتدعم ذلك.\n" "\\& تثير استثناءً خلاف ذلك.)\n" "\\&\n" "\\& i قيمة عدد صحيح موقعة.\n" "\\& I قيمة عدد صحيح غير موقعة.\n" "\\& (هذا الـ \\*(Aqعدد صحيح\\*(Aq بعرض 32 بت على الأقل. يعتمد حجمه\n" "\\& الدقيق على ما يسميه مترجم C المحلي \\*(Aqint\\*(Aq.)\n" "\\&\n" "\\& n قيمة short غير موقعة (16 بت) بترتيب \"الشبكة\" (big-endian).\n" "\\& N قيمة long غير موقعة (32 بت) بترتيب \"الشبكة\" (big-endian).\n" "\\& v قيمة short غير موقعة (16 بت) بترتيب \"VAX\" (little-endian).\n" "\\& V قيمة long غير موقعة (32 بت) بترتيب \"VAX\" (little-endian).\n" "\\&\n" "\\& j قيمة عدد صحيح موقعة داخلية لـ Perl (IV).\n" "\\& J قيمة عدد صحيح غير موقعة داخلية لـ Perl (UV).\n" "\\&\n" "\\& f قيمة فاصلة عائمة بدقة مفردة بالصيغة الأصلية.\n" "\\& d قيمة فاصلة عائمة بدقة مزدوجة بالصيغة الأصلية.\n" "\\&\n" "\\& F قيمة فاصلة عائمة داخلية لـ بيرل (NV) بالصيغة الأصلية\n" "\\& D قيمة فاصلة عائمة بدقة long-double بالصيغة الأصلية.\n" "\\& (قيم Long double متوفرة فقط إذا كان نظامك يدعمها.\n" "\\& تثير استثناءً خلاف ذلك. لاحظ وجود تنسيقات مختلفة للـ long" " double.)\n" "\\&\n" "\\& p مؤشر لسلسلة نصية منتهية بـ null.\n" "\\& P مؤشر لهيكل (سلسلة نصية ثابتة الطول).\n" "\\&\n" "\\& u سلسلة نصية بترميز uuencoded.\n" "\\& U رقم محرف يونيكود. يرمز إلى محرف في نمط المحارف\n" "\\& وإلى UTF-8 (أو UTF-EBCDIC في منصات EBCDIC) في نمط البايت.\n" "\\& أيضًا في منصات EBCDIC، سيكون رقم المحرف هو قيمة EBCDIC الأصلية\n" "\\& لأرقام المحارف الأقل من 256. يسمح هذا لمعظم البرامج\n" "\\& بألا تهتم بنوع المنصة التي تعمل عليها.\n" "\\&\n" "\\& w عدد صحيح مضغوط BER (ليس ASN.1 BER، راجع perlpacktut\n" "\\& للتفاصيل). تمثل بايتاته عددًا صحيحًا غير موقع في\n" "\\& الأساس 128، الرقم الأكثر أهمية أولاً، مع أقل عدد ممكن\n" "\\& من الأرقام. يُضبط البت الثامن (البت العالي) في كل بايت\n" "\\& باستثناء الأخير.\n" "\\&\n" "\\& x بايت null (يُعرف أيضًا بـ ASCII NUL، \"\\e000\"، chr(0))\n" "\\& X الرجوع بايت واحد للخلف.\n" "\\& @ الحشو بـ null أو الاقتطاع إلى موضع مطلق، يُحسب من\n" "\\& بداية المجموعة () الداخلية.\n" "\\& . الحشو بـ null أو الاقتطاع إلى موضع مطلق محدد بواسطة\n" "\\& القيمة.\n" "\\& ( بداية مجموعة ().\n" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "One or more modifiers below may optionally follow certain letters in the " "TEMPLATE (the second column lists letters for which the modifier is valid):" msgstr "" "قد يتبع واحد أو أكثر من المعدلات أدناه اختياريًا أحرفًا معينة في TEMPLATE " "(يسرد العمود الثاني الأحرف التي يكون المعدل صالحًا لها):" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "" "\\& ! sSlLiI Forces native (short, long, int) sizes instead\n" "\\& of fixed (16-/32-bit) sizes.\n" "\\&\n" "\\& ! xX Make x and X act as alignment commands.\n" "\\&\n" "\\& ! nNvV Treat integers as signed instead of unsigned.\n" "\\&\n" "\\& ! @. Specify position as byte offset in the internal\n" "\\& representation of the packed string. Efficient\n" "\\& but dangerous.\n" "\\&\n" "\\& E sSiIlLqQ Force big-endian byte-order on the type.\n" "\\& jJfFdDpP (The \"big end\" touches the construct.)\n" "\\&\n" "\\& E sSiIlLqQ Force little-endian byte-order on the type.\n" "\\& jJfFdDpP (The \"little end\" touches the construct.)\n" msgstr "" "\\& ! sSlLiI يفرض الأحجام الأصلية (short, long, int) بدلاً\n" "\\& من الأحجام الثابتة (16-/32-بت).\n" "\\&\n" "\\& ! xX يجعل x و X يعملان كأوامر محاذاة.\n" "\\&\n" "\\& ! nNvV يعامل الأعداد الصحيحة كموقعة بدلاً من غير موقعة.\n" "\\&\n" "\\& ! @. يحدد الموضع كإزاحة بايت في التمثيل الداخلي\n" "\\& للسلسلة المحزومة. فعال ولكنه خطر.\n" "\\&\n" "\\& E sSiIlLqQ يفرض ترتيب البايتات big-endian على النوع.\n" "\\& jJfFdDpP (النهاية الكبيرة تلمس البنية.)\n" "\\&\n" "\\& E sSiIlLqQ يفرض ترتيب البايتات little-endian على النوع.\n" "\\& jJfFdDpP (النهاية الصغيرة تلمس البنية.)\n" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "The CW<\\*(C`E\\*(C'> and CW<\\*(C`E\\*(C'> modifiers can also be " "used on CW<\\*(C`()\\*(C'> groups to force a particular byte-order on all " "components in that group, including all its subgroups." msgstr "" "يمكن أيضًا استخدام المعدلين CW<\\*(C`E\\*(C'> و CW<\\*(C`E\\*(C'> على " "مجموعات CW<\\*(C`()\\*(C'> لفرض ترتيب بايت معين على جميع المكونات في تلك " "المجموعة، بما في ذلك جميع مجموعاتها الفرعية." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "The following rules apply:" msgstr "تنطبق القواعد التالية:" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Each letter may optionally be followed by a number indicating the repeat " "count. A numeric repeat count may optionally be enclosed in brackets, as in " "CW<\\*(C`pack(\"C[80]\", @arr)\\*(C'>. The repeat count gobbles that many " "values from the LIST when used with all format types other than " "CW<\\*(C`a\\*(C'>, CW<\\*(C`A\\*(C'>, CW<\\*(C`Z\\*(C'>, CW<\\*(C`b\\*(C'>, " "\\&CW<\\*(C`B\\*(C'>, CW<\\*(C`h\\*(C'>, CW<\\*(C`H\\*(C'>, " "CW<\\*(C`@\\*(C'>, CW<\\*(C`.\\*(C'>, CW<\\*(C`x\\*(C'>, CW<\\*(C`X\\*(C'>, " "and CW<\\*(C`P\\*(C'>, where it means something else, described below. " "Supplying a CW<\\*(C`*\\*(C'> for the repeat count instead of a number means " "to use however many items are left, except for:" msgstr "" "قد يتبع كل حرف اختياريًا رقم يشير إلى عدد التكرار. يمكن اختياريًا وضع عدد " "تكرار رقمي بين قوسين مربعين، كما في CW<\\*(C`pack(\"C[80]\", @arr)\\*(C'>. " "يستهلك عدد التكرار هذا العدد من القيم من LIST عند استخدامه مع جميع أنواع " "التنسيق بخلاف CW<\\*(C`a\\*(C'>، و CW<\\*(C`A\\*(C'>، و CW<\\*(C`Z\\*(C'>، و " "CW<\\*(C`b\\*(C'>، و \\&CW<\\*(C`B\\*(C'>، و CW<\\*(C`h\\*(C'>، و " "CW<\\*(C`H\\*(C'>، و CW<\\*(C`@\\*(C'>، و CW<\\*(C`.\\*(C'>، و " "CW<\\*(C`x\\*(C'>، و CW<\\*(C`X\\*(C'>، و CW<\\*(C`P\\*(C'>، حيث يعني شيئًا " "آخر موصوفًا أدناه. إن تزويد CW<\\*(C`*\\*(C'> لعدد التكرار بدلاً من رقم يعني " "استخدام جميع العناصر المتبقية، باستثناء:" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "\\&CW<\\*(C`@\\*(C'>, CW<\\*(C`x\\*(C'>, and CW<\\*(C`X\\*(C'>, where it is " "equivalent to CW<0>." msgstr "" "\\&CW<\\*(C`@\\*(C'>، و CW<\\*(C`x\\*(C'>، و CW<\\*(C`X\\*(C'>، حيث يعادل " "CW<0>." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "E.E, where it means relative to the start of the string." msgstr "E.E، حيث يعني بالنسبة لبداية السلسلة النصية." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "\\&CW<\\*(C`u\\*(C'>, where it is equivalent to 1 (or 45, which here is " "equivalent)." msgstr "\\&CW<\\*(C`u\\*(C'>، حيث يعادل 1 (أو 45، وهو ما يعادلها هنا)." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "One can replace a numeric repeat count with a template letter enclosed in " "brackets to use the packed byte length of the bracketed template for the " "repeat count." msgstr "" "يمكن استبدال عدد التكرار الرقمي بحرف قالب موضوع بين قوسين مربعين لاستخدام " "طول البايت المحزوم للقالب الموضوع بين قوسين لعدد التكرار." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "For example, the template CW<\\*(C`x[L]\\*(C'> skips as many bytes as in a " "packed long, and the template CW<\"$t X[$t] $t\"> unpacks twice whatever " "CW<$t> (when variable-expanded) unpacks. If the template in brackets " "contains alignment commands (such as CW<\\*(C`x![d]\\*(C'>), its packed " "length is calculated as if the start of the template had the maximal " "possible alignment." msgstr "" "على سبيل المثال، يتخطى القالب CW<\\*(C`x[L]\\*(C'> عدد البايتات الموجودة في " "long محزوم، والقالب CW<\"$t X[$t] $t\"> يفك حزم ضعف ما يفكه CW<$t> (عند " "توسيع المتغير). إذا كان القالب الموجود بين القوسين يحتوي على أوامر محاذاة " "(مثل CW<\\*(C`x![d]\\*(C'>)، فإن طوله المحزوم يُحسب كما لو كانت بداية القالب " "لها أقصى محاذاة ممكنة." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "When used with CW<\\*(C`Z\\*(C'>, a CW<\\*(C`*\\*(C'> as the repeat count is " "guaranteed to add a trailing null byte, so the resulting string is always " "one byte longer than the byte length of the item itself." msgstr "" "عند استخدامه مع CW<\\*(C`Z\\*(C'>، فإن CW<\\*(C`*\\*(C'> كعدد تكرار يضمن " "إضافة بايت null لاحق، لذا فإن السلسلة الناتجة تكون دائمًا أطول ببايت واحد من " "طول البايت للعنصر نفسه." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "When used with CW<\\*(C`@\\*(C'>, the repeat count represents an offset from " "the start of the innermost CW<\\*(C`()\\*(C'> group." msgstr "" "عند استخدامه مع CW<\\*(C`@\\*(C'>، يمثل عدد التكرار إزاحة من بداية مجموعة " "CW<\\*(C`()\\*(C'> الأكثر عمقاً." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "When used with CW<\\*(C`.\\*(C'>, the repeat count determines the starting " "position to calculate the value offset as follows:" msgstr "" "عند استخدامه مع CW<\\*(C`.\\*(C'>، يحدد عدد التكرار موضع البداية لحساب إزاحة " "القيمة كما يلي:" #. type: Plain text #: debian-trixie debian-unstable msgid "If the repeat count is CW<0>, it's relative to the current position." msgstr "إذا كان عدد التكرار هو CW<0>، فإنه يكون نسبياً للموضع الحالي." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "If the repeat count is CW<\\*(C`*\\*(C'>, the offset is relative to the " "start of the packed string." msgstr "" "إذا كان عدد التكرار هو CW<\\*(C`*\\*(C'>، فإن الإزاحة تكون نسبية لبداية " "السلسلة المحزمة (packed)." #. type: Plain text #: debian-trixie debian-unstable msgid "" "And if it's an integer I, the offset is relative to the start of the " "\\&Ith innermost CW<\\*(C`( )\\*(C'> group, or to the start of the string " "if I is bigger then the group level." msgstr "" "وإذا كان عدداً صحيحاً I، فإن الإزاحة تكون نسبية لبداية مجموعة " "CW<\\*(C`( )\\*(C'> ذات العمق I، أو لبداية السلسلة إذا كان I أكبر من " "مستوى المجموعة." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "The repeat count for CW<\\*(C`u\\*(C'> is interpreted as the maximal number " "of bytes to encode per line of output, with 0, 1 and 2 replaced by 45. The " "repeat count should not be more than 65." msgstr "" "يُفسر عدد التكرار لـ CW<\\*(C`u\\*(C'> كأقصى عدد من البايتات لتشفيرها لكل سطر " "مخرجات، مع استبدال 0 و 1 و 2 بالقيمة 45. يجب ألا يتجاوز عدد التكرار 65." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "The CW<\\*(C`a\\*(C'>, CW<\\*(C`A\\*(C'>, and CW<\\*(C`Z\\*(C'> types gobble " "just one value, but pack it as a string of length count, padding with nulls " "or spaces as needed. When unpacking, CW<\\*(C`A\\*(C'> strips trailing " "whitespace and nulls, CW<\\*(C`Z\\*(C'> strips everything after the first " "null, and CW<\\*(C`a\\*(C'> returns data with no stripping at all." msgstr "" "تستهلك الأنواع CW<\\*(C`a\\*(C'> و CW<\\*(C`A\\*(C'> و CW<\\*(C`Z\\*(C'> " "قيمة واحدة فقط، لكنها تحزمها كسلسلة بطول العدد المحدد، مع الحشو بالأصفار " "(nulls) أو المسافات حسب الحاجة. عند فك التحزيم، يزيل النوع CW<\\*(C`A\\*(C'> " "المسافات البيضاء والأصفار اللاحقة، ويزيل النوع CW<\\*(C`Z\\*(C'> كل شيء بعد " "أول صفر، بينما يعيد النوع CW<\\*(C`a\\*(C'> البيانات دون أي إزالة على " "الإطلاق." #. type: Plain text #: debian-trixie debian-unstable msgid "" "If the value to pack is too long, the result is truncated. If it's too long " "and an explicit count is provided, CW<\\*(C`Z\\*(C'> packs only " "CW<\\*(C`$count-1\\*(C'> bytes, followed by a null byte. Thus " "CW<\\*(C`Z\\*(C'> always packs a trailing null, except when the count is 0." msgstr "" "إذا كانت القيمة المطلوب تحزيمها طويلة جداً، تُبتر النتيجة. وإذا كانت طويلة" " جداً " "مع توفير عدّ صريح، يحزم CW<\\*(C`Z\\*(C'> فقط CW<\\*(C`$count-1\\*(C'> بايت، " "متبوعاً ببايت صفري. وبالتالي، يحزم CW<\\*(C`Z\\*(C'> دائماً صفراً لاحقًا، إلا " "عندما يكون العدّ 0." #. type: Plain text #: debian-trixie debian-unstable msgid "" "Likewise, the CW<\\*(C`b\\*(C'> and CW<\\*(C`B\\*(C'> formats pack a string " "that's that many bits long. Each such format generates 1 bit of the " "result. These are typically followed by a repeat count like " "CW<\\*(C`B8\\*(C'> or CW<\\*(C`B64\\*(C'>." msgstr "" "بالمثل، تحزم التنسيقات CW<\\*(C`b\\*(C'> و CW<\\*(C`B\\*(C'> سلسلة بطول تلك " "البتات. يولّد كل تنسيق من هذا القبيل بتّاً واحداً من النتيجة. وعادة ما تتبع" " هذه " "التنسيقات بعدد تكرار مثل CW<\\*(C`B8\\*(C'> أو CW<\\*(C`B64\\*(C'>." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Each result bit is based on the least-significant bit of the corresponding " "input character, i.e., on CW<\\*(C`ord($char)%2\\*(C'>. In particular, " "characters CW<\"0\"> and CW<\"1\"> generate bits 0 and 1, as do characters " "CW<\"\\e000\"> and CW<\"\\e001\">." msgstr "" "تعتمد كل بت من النتيجة على البت الأقل أهمية للمحرف المدخل المقابل، أي على " "CW<\\*(C`ord($char)%2\\*(C'>. وبشكل خاص، تولّد المحارف CW<\"0\"> و CW<\"1\"> " "البتات 0 و 1، كما تفعل المحارف CW<\"\\e000\"> و CW<\"\\e001\">." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Starting from the beginning of the input string, each 8-tuple of characters " "is converted to 1 character of output. With format CW<\\*(C`b\\*(C'>, the " "first character of the 8-tuple determines the least-significant bit of a " "character; with format CW<\\*(C`B\\*(C'>, it determines the most-significant " "bit of a character." msgstr "" "بدءاً من بداية سلسلة المدخلات، تُحوّل كل مجموعة مكونة من 8 محارف إلى محرف" " واحد " "من المخرجات. مع التنسيق CW<\\*(C`b\\*(C'>، يحدد المحرف الأول من المجموعة " "المكونة من 8 البت الأقل أهمية للمحرف؛ ومع التنسيق CW<\\*(C`B\\*(C'>، يحدد " "البت الأكثر أهمية." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "If the length of the input string is not evenly divisible by 8, the " "remainder is packed as if the input string were padded by null characters at " "the end. Similarly during unpacking, \"extra\" bits are ignored." msgstr "" "إذا لم يكن طول سلسلة المدخلات قابلاً للقسمة على 8 بالتساوي، يُحزم الباقي كما " "لو كانت سلسلة المدخلات محشوة بمحارف صفرية في نهايتها. وبالمثل أثناء فك " "التحزيم، تُتجاهل البتات \"الزائدة\"." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "If the input string is longer than needed, remaining characters are ignored." msgstr "إذا كانت سلسلة المدخلات أطول من اللازم، تُتجاهل المحارف المتبقية." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "A CW<\\*(C`*\\*(C'> for the repeat count uses all characters of the input " "field. On unpacking, bits are converted to a string of CW<0>s and CW<1>s." msgstr "" "يستخدم الرمز CW<\\*(C`*\\*(C'> لعدد التكرار جميع محارف حقل المدخلات. عند فك " "التحزيم، تُحوّل البتات إلى سلسلة من الأصفار CW<0> والآحاد CW<1>." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "The CW<\\*(C`h\\*(C'> and CW<\\*(C`H\\*(C'> formats pack a string that many " "nybbles (4-bit groups, representable as hexadecimal digits, CW<\"0\"..\"9\"> " "CW<\"a\"..\"f\">) long." msgstr "" "تحزم التنسيقات CW<\\*(C`h\\*(C'> و CW<\\*(C`H\\*(C'> سلسلة بطول تلك النيبلات " "(nybbles) (مجموعات من 4 بتات، يمكن تمثيلها كأرقام ست عشرية، CW<\"0\"..\"9\"> " "و CW<\"a\"..\"f\">)." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "For each such format, CW<\\*(C`pack\\*(C'> generates 4 bits of result. With " "non-alphabetical characters, the result is based on the 4 least-significant " "bits of the input character, i.e., on CW<\\*(C`ord($char)%16\\*(C'>. In " "particular, characters CW<\"0\"> and CW<\"1\"> generate nybbles 0 and 1, as " "do bytes \\&CW<\"\\e000\"> and CW<\"\\e001\">. For characters CW<\"a\".." "\"f\"> and CW<\"A\"..\"F\">, the result is compatible with the usual " "hexadecimal digits, so that CW<\"a\"> and \\&CW<\"A\"> both generate the " "nybble CW<\\*(C`0xA==10\\*(C'>. Use only these specific hex characters with " "this format." msgstr "" "لكل تنسيق من هذا القبيل، يولّد CW<\\*(C`pack\\*(C'> أربعة بتات من النتيجة. " "بالنسبة للمحارف غير الأبجدية، تعتمد النتيجة على الـ 4 بتات الأقل أهمية " "للمحرف المدخل، أي على CW<\\*(C`ord($char)%16\\*(C'>. وبشكل خاص، تولّد المحارف " "CW<\"0\"> و CW<\"1\"> النيبلات 0 و 1، كما تفعل البايتات CW<\"\\e000\"> و " "CW<\"\\e001\">. بالنسبة للمحارف CW<\"a\"..\"f\"> و CW<\"A\"..\"F\">، تكون " "النتيجة متوافقة مع الأرقام الست عشرية المعتادة، بحيث يولّد كل من CW<\"a\"> و " "CW<\"A\"> النيبل CW<\\*(C`0xA==10\\*(C'>. استخدم فقط هذه المحارف الست عشرية " "المحددة مع هذا التنسيق." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Starting from the beginning of the template to \\&CW<\\*(C`pack\\*(C'>, each " "pair of characters is converted to 1 character of output. With format " "CW<\\*(C`h\\*(C'>, the first character of the pair determines the least-" "significant nybble of the output character; with format CW<\\*(C`H\\*(C'>, " "it determines the most-significant nybble." msgstr "" "بدءاً من بداية القالب لـ CW<\\*(C`pack\\*(C'>، يُحول كل زوج من المحارف إلى " "محرف واحد من المخرجات. مع التنسيق CW<\\*(C`h\\*(C'>، يحدد المحرف الأول من " "الزوج النيبل الأقل أهمية لمحرف المخرجات؛ ومع التنسيق CW<\\*(C`H\\*(C'>، فإنه " "يحدد النيبل الأكثر أهمية." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "If the length of the input string is not even, it behaves as if padded by a " "null character at the end. Similarly, \"extra\" nybbles are ignored during " "unpacking." msgstr "" "إذا لم يكن طول سلسلة المدخلات زوجياً، فإنه يتصرف كما لو كان محشواً بمحرف صفري " "في نهايته. وبالمثل، تُتجاهل النيبلات \"الزائدة\" أثناء فك التحزيم." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "If the input string is longer than needed, extra characters are ignored." msgstr "إذا كانت سلسلة المدخلات أطول من اللازم، تُتجاهل المحارف الزائدة." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "A CW<\\*(C`*\\*(C'> for the repeat count uses all characters of the input " "field. For \\&CW<\\*(C`unpack\\*(C'>, nybbles are converted to a string of " "hexadecimal digits." msgstr "" "يستخدم الرمز CW<\\*(C`*\\*(C'> لعدد التكرار جميع محارف حقل المدخلات. بالنسبة " "لـ CW<\\*(C`unpack\\*(C'>، تُحوّل النيبلات إلى سلسلة من الأرقام الست عشرية." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "The CW<\\*(C`p\\*(C'> format packs a pointer to a null-terminated string. " "You are responsible for ensuring that the string is not a temporary value, " "as that could potentially get deallocated before you got around to using the " "packed result. The CW<\\*(C`P\\*(C'> format packs a pointer to a structure " "of the size indicated by the length. A null pointer is created if the " "corresponding value for \\&CW<\\*(C`p\\*(C'> or CW<\\*(C`P\\*(C'> is " "CW<\\*(C`undef\\*(C'>; similarly with \\&CW<\\*(C`unpack\\*(C'>, where a " "null pointer unpacks into \\&CW<\\*(C`undef\\*(C'>." msgstr "" "يحزم التنسيق CW<\\*(C`p\\*(C'> مؤشراً لسلسلة تنتهي بصفر (null-terminated). " "أنت مسؤول عن ضمان أن السلسلة ليست قيمة مؤقتة، حيث يمكن أن يُلغى تخصيصها قبل " "أن تتاح لك فرصة استخدام النتيجة المحزمة. يحزم التنسيق CW<\\*(C`P\\*(C'> " "مؤشراً لبنية (structure) بالحجم المحدد بواسطة الطول. يُنشئ مؤشر فارغ (null " "pointer) إذا كانت القيمة المقابلة لـ CW<\\*(C`p\\*(C'> أو CW<\\*(C`P\\*(C'> " "هي CW<\\*(C`undef\\*(C'>؛ وبالمثل مع CW<\\*(C`unpack\\*(C'>، حيث يُفك المؤشر " "الفارغ إلى CW<\\*(C`undef\\*(C'>." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "If your system has a strange pointer size--meaning a pointer is neither as " "big as an int nor as big as a long--it may not be possible to pack or unpack " "pointers in big- or little-endian byte order. Attempting to do so raises an " "exception." msgstr "" "إذا كان نظامك يحتوي على حجم مؤشر غريب -بمعنى أن المؤشر ليس بحجم int ولا بحجم " "long- فقد لا يكون من الممكن حزم أو فك تحزيم المؤشرات بترتيب البايتات النهاية " "الكبيرة (big-endian) أو النهاية الصغيرة (little-endian). محاولة القيام بذلك " "تثير استثناءً." #. type: Plain text #: debian-trixie debian-unstable msgid "" "The CW<\\*(C`/\\*(C'> template character allows packing and unpacking of a " "sequence of items where the packed structure contains a packed item count " "followed by the packed items themselves. This is useful when the structure " "you're unpacking has encoded the sizes or repeat counts for some of its " "fields within the structure itself as separate fields." msgstr "" "يسمح محرف قالب CW<\\*(C`/\\*(C'> بحزم وفك تحزيم تسلسل من العناصر حيث تحتوي " "البنية المحزمة على عدد عناصر محزم متبوعاً بالعناصر المحزمة نفسها. هذا مفيد " "عندما تحتوي البنية التي تقوم بفك تحزيمها على أحجام مشفرة أو أعداد تكرار لبعض " "حقولها داخل البنية نفسها كحقول منفصلة." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "For CW<\\*(C`pack\\*(C'>, you write \\&ICW<\\*(C`/" "\\*(C'>I, and the \\&I describes how the length " "value is packed. Formats likely to be of most use are integer-packing ones " "like CW<\\*(C`n\\*(C'> for Java strings, \\&CW<\\*(C`w\\*(C'> for ASN.1 or " "SNMP, and CW<\\*(C`N\\*(C'> for Sun XDR." msgstr "" "بالنسبة لـ CW<\\*(C`pack\\*(C'>، تكتب \\&ICW<\\*(C`/" "\\*(C'>I، ويصف الـ \\&I كيفية حزم قيمة الطول. " "التنسيقات التي من المرجح أن تكون أكثر فائدة هي تلك الخاصة بحزم الأعداد " "الصحيحة مثل CW<\\*(C`n\\*(C'> لسلاسل Java، و \\&CW<\\*(C`w\\*(C'> لـ ASN.1 " "أو SNMP، و CW<\\*(C`N\\*(C'> لـ Sun XDR." #. type: Plain text #: debian-trixie debian-unstable msgid "" "For CW<\\*(C`pack\\*(C'>, I may have a repeat count, in which " "case the minimum of that and the number of available items is used as the " "argument for I. If it has no repeat count or uses a '*', the " "number of available items is used." msgstr "" "بالنسبة لـ CW<\\*(C`pack\\*(C'>، قد يكون لـ I عدد تكرار، وفي " "هذه الحالة يُستخدم الحد الأدنى من ذلك وعدد العناصر المتاحة كمعطى لـ I. إذا لم يكن له عدد تكرار أو استخدم '*'، يُستخدم عدد العناصر المتاحة." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "For CW<\\*(C`unpack\\*(C'>, an internal stack of integer arguments unpacked " "so far is used. You write CW<\\*(C`/\\*(C'>I and the repeat " "count is obtained by popping off the last element from the stack. The " "I must not have a repeat count." msgstr "" "بالنسبة لـ CW<\\*(C`unpack\\*(C'>، تُستخدم رصة داخلية من معطيات الأعداد " "الصحيحة التي فُك حزمها حتى الآن. تكتب CW<\\*(C`/\\*(C'>I" " ويُحصل " "على عدد التكرار عن طريق سحب (popping) العنصر الأخير من الرصة. يجب ألا يكون " "لـ I عدد تكرار." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "If I refers to a string type (CW<\"A\">, CW<\"a\">, or " "CW<\"Z\">), the I is the string length, not the number of " "strings. With an explicit repeat count for pack, the packed string is " "adjusted to that length. For example:" msgstr "" "إذا كان I يشير إلى نوع سلسلة (CW<\"A\"> أو CW<\"a\"> أو " "CW<\"Z\">)، فإن I هو طول السلسلة، وليس عدد السلاسل. مع عدد " "تكرار صريح لـ pack، تُعدل السلسلة المحزومة لتناسب ذلك الطول. على سبيل المثال:" #. type: Plain text #: debian-trixie debian-unstable #, no-wrap msgid "" "\\& This code: gives this result:\n" "\\&\n" "\\& unpack(\"W/a\", \"\\e004Gurusamy\") (\"Guru\")\n" "\\& unpack(\"a3/A A*\", \"007 Bond J \") (\" Bond\", \"J\")\n" "\\& unpack(\"a3 x2 /A A*\", \"007: Bond, J.\") (\"Bond, J\", \".\")\n" "\\&\n" "\\& pack(\"n/a* w/a\",\"hello,\",\"world\") " " \"\\e000\\e006hello,\\e005world\"\n" "\\& pack(\"a/W2\", ord(\"a\") .. ord(\"z\")) \"2ab\"\n" msgstr "" "\\& الكود التالي: يعطي هذه النتيجة:\n" "\\&\n" "\\& unpack(\"W/a\", \"\\e004Gurusamy\") (\"Guru\")\n" "\\& unpack(\"a3/A A*\", \"007 Bond J \") (\" Bond\", \"J\")\n" "\\& unpack(\"a3 x2 /A A*\", \"007: Bond, J.\") (\"Bond, J\", \".\")\n" "\\&\n" "\\& pack(\"n/a* w/a\",\"hello,\",\"world\") " " \"\\e000\\e006hello,\\e005world\"\n" "\\& pack(\"a/W2\", ord(\"a\") .. ord(\"z\")) \"2ab\"\n" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "The I is not returned explicitly from \\&CW<\\*(C`unpack\\*(C'>." msgstr "لا يُعاد I صراحة من \\&CW<\\*(C`unpack\\*(C'>." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Supplying a count to the I format letter is only useful with " "\\&CW<\\*(C`A\\*(C'>, CW<\\*(C`a\\*(C'>, or CW<\\*(C`Z\\*(C'>. Packing with " "a I of CW<\\*(C`a\\*(C'> or CW<\\*(C`Z\\*(C'> may introduce " "CW<\"\\e000\"> characters, which Perl does not regard as legal in numeric " "strings." msgstr "" "تزويد عدد لحرف تنسيق I مفيد فقط مع \\&CW<\\*(C`A\\*(C'> أو " "CW<\\*(C`a\\*(C'> أو CW<\\*(C`Z\\*(C'>. قد يؤدي الحزم باستخدام I من نوع CW<\\*(C`a\\*(C'> أو CW<\\*(C`Z\\*(C'> إلى إدخال محارف " "CW<\"\\e000\">، والتي لا تعتبرها بيرل قانونية في السلاسل الرقمية." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "The integer types CW<\\*(C`s\\*(C'>, CW<\\*(C`S\\*(C'>, CW<\\*(C`l\\*(C'>, " "and CW<\\*(C`L\\*(C'> may be followed by a CW<\\*(C`!\\*(C'> modifier to " "specify native shorts or longs. As shown in the example above, a bare " "CW<\\*(C`l\\*(C'> means exactly 32 bits, although the native " "CW<\\*(C`long\\*(C'> as seen by the local C compiler may be larger. This is " "mainly an issue on 64-bit platforms. You can see whether using CW<\\*(C`!" "\\*(C'> makes any difference this way:" msgstr "" "قد تُتبع أنواع الأعداد الصحيحة CW<\\*(C`s\\*(C'> و CW<\\*(C`S\\*(C'> و " "CW<\\*(C`l\\*(C'> و CW<\\*(C`L\\*(C'> بمعدل CW<\\*(C`!\\*(C'> لتحديد الأعداد " "القصيرة (shorts) أو الطويلة (longs) الأصلية (native). كما هو موضح في المثال " "أعلاه، فإن CW<\\*(C`l\\*(C'> المجردة تعني 32 بت بالضبط، رغم أن الـ " "CW<\\*(C`long\\*(C'> الأصلي كما يراه مترجم C المحلي قد يكون أكبر. هذه مشكلة " "أساسًا على المنصات ذات 64 بت. يمكنك معرفة ما إذا كان استخدام CW<\\*(C`!" "\\*(C'> يحدث أي فرق بهذه الطريقة:" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "" "\\& printf \"format s is %d, s! is %d\\en\",\n" "\\& length pack(\"s\"), length pack(\"s!\");\n" "\\&\n" "\\& printf \"format l is %d, l! is %d\\en\",\n" "\\& length pack(\"l\"), length pack(\"l!\");\n" msgstr "" "\\& printf \"format s is %d, s! is %d\\en\",\n" "\\& length pack(\"s\"), length pack(\"s!\");\n" "\\&\n" "\\& printf \"format l is %d, l! is %d\\en\",\n" "\\& length pack(\"l\"), length pack(\"l!\");\n" #. type: Plain text #: debian-trixie debian-unstable msgid "" "\\&CW<\\*(C`i!\\*(C'> and CW<\\*(C`I!\\*(C'> are also allowed, but only for " "completeness' sake: they are identical to CW<\\*(C`i\\*(C'> and " "CW<\\*(C`I\\*(C'>." msgstr "" "\\&CW<\\*(C`i!\\*(C'> و CW<\\*(C`I!\\*(C'> مسموح بهما أيضًا، ولكن فقط من أجل " "الاكتمال: فهما متطابقان مع CW<\\*(C`i\\*(C'> و CW<\\*(C`I\\*(C'>." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "The actual sizes (in bytes) of native shorts, ints, longs, and long longs on " "the platform where Perl was built are also available from the command line:" msgstr "" "الأحجام الفعلية (بالبايت) للأعداد القصيرة (shorts) والأعداد الصحيحة (ints) " "والطويلة (longs) والطويلة جدًا (long longs) الأصلية على المنصة التي بنيت " "عليها بيرل متاحة أيضًا من سطر الأوامر:" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "" "\\& $ perl -V:{short,int,long{,long}}size\n" "\\& shortsize=\\*(Aq2\\*(Aq;\n" "\\& intsize=\\*(Aq4\\*(Aq;\n" "\\& longsize=\\*(Aq4\\*(Aq;\n" "\\& longlongsize=\\*(Aq8\\*(Aq;\n" msgstr "" "\\& $ perl -V:{short,int,long{,long}}size\n" "\\& shortsize=\\*(Aq2\\*(Aq;\n" "\\& intsize=\\*(Aq4\\*(Aq;\n" "\\& longsize=\\*(Aq4\\*(Aq;\n" "\\& longlongsize=\\*(Aq8\\*(Aq;\n" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "or programmatically via the CW<\\*(C`Config\\*(C'> module:" msgstr "أو برمجياً عبر وحدة CW<\\*(C`Config\\*(C'>:" #. type: Plain text #: debian-trixie debian-unstable #, no-wrap msgid "" "\\& use Config;\n" "\\& print $Config{shortsize}, \"\\en\";\n" "\\& print $Config{intsize}, \"\\en\";\n" "\\& print $Config{longsize}, \"\\en\";\n" "\\& print $Config{longlongsize}, \"\\en\";\n" msgstr "" "\\& use Config;\n" "\\& print $Config{shortsize}, \"\\en\";\n" "\\& print $Config{intsize}, \"\\en\";\n" "\\& print $Config{longsize}, \"\\en\";\n" "\\& print $Config{longlongsize}, \"\\en\";\n" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "\\&CW<$Config{longlongsize}> is undefined on systems without long long " "support." msgstr "" "\\&CW<$Config{longlongsize}> غير معرفة في الأنظمة التي لا تدعم long long." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "The integer formats CW<\\*(C`s\\*(C'>, CW<\\*(C`S\\*(C'>, CW<\\*(C`i\\*(C'>, " "CW<\\*(C`I\\*(C'>, CW<\\*(C`l\\*(C'>, CW<\\*(C`L\\*(C'>, CW<\\*(C`j\\*(C'>, " "and CW<\\*(C`J\\*(C'> are inherently non-portable between processors and " "operating systems because they obey native byteorder and endianness. For " "example, a 4-byte integer 0x12345678 (305419896 decimal) would be ordered " "natively (arranged in and handled by the CPU registers) into bytes as" msgstr "" "تنسيقات الأعداد الصحيحة CW<\\*(C`s\\*(C'> و CW<\\*(C`S\\*(C'> و " "CW<\\*(C`i\\*(C'> و CW<\\*(C`I\\*(C'> و CW<\\*(C`l\\*(C'> و " "CW<\\*(C`L\\*(C'> و CW<\\*(C`j\\*(C'> و CW<\\*(C`J\\*(C'> هي بطبيعتها غير " "محمولة بين المعالجات وأنظمة التشغيل لأنها تتبع ترتيب البايتات والنهايات " "(endianness) الأصلية. على سبيل المثال، عدد صحيح مكون من 4 بايتات 0x12345678 " "(305419896 عشري) سيُرتب أصليًا (يُرتب في سجلات وحدة المعالجة المركزية ويُعالج " "بواسطتها) إلى بايتات كـ" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "" "\\& 0x12 0x34 0x56 0x78 # big-endian\n" "\\& 0x78 0x56 0x34 0x12 # little-endian\n" msgstr "" "\\& 0x12 0x34 0x56 0x78 # النهاية الكبرى (big-endian)\n" "\\& 0x78 0x56 0x34 0x12 # النهاية الصغرى (little-endian)\n" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Basically, Intel and VAX CPUs are little-endian, while everybody else, " "including Motorola m68k/88k, PPC, Sparc, HP PA, Power, and Cray, are big-" "endian. Alpha and MIPS can be either: Digital/Compaq uses (well, used) " "them in little-endian mode, but SGI/Cray uses them in big-endian mode." msgstr "" "بشكل أساسي، معالجات Intel و VAX هي من نوع النهاية الصغرى (little-endian)، " "بينما الجميع الآخرون، بما في ذلك Motorola m68k/88k و PPC و Sparc و HP PA و " "Power و Cray، هم من نوع النهاية الكبرى (big-endian). يمكن لـ Alpha و MIPS أن " "يكونا أيًا منهما: استخدمتها Digital/Compaq في وضع النهاية الصغرى، بينما " "تستخدمها SGI/Cray في وضع النهاية الكبرى." #. type: Plain text #: debian-trixie debian-unstable msgid "" "The names I and I are comic references to the egg-" "eating habits of the little-endian Lilliputians and the big-endian " "Blefuscudians from the classic Jonathan Swift satire, I. This entered computer lingo via the paper \"On Holy Wars and a " "Plea for Peace\" by Danny Cohen, USC/ISI IEN 137, April 1, 1980." msgstr "" "الأسماء I و I هي إشارات فكاهية لعادات أكل البيض " "لدى الأقزام من ذوي النهاية الصغرى (Lilliputians) وذوي النهاية الكبرى " "(Blefuscudians) من رائعة جوناثان سويفت الساخرة، I. دخل " "هذا في لغة الحاسوب عبر ورقة بعنوان \"حول الحروب المقدسة والتماس من أجل " "السلام\" بقلم داني كوهين، USC/ISI IEN 137، في 1 أبريل 1980." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "Some systems may have even weirder byte orders such as" msgstr "قد تحتوي بعض الأنظمة على ترتيب بايتات أغرب مثل" #. type: Plain text #: debian-trixie debian-unstable #, no-wrap msgid "" "\\& 0x56 0x78 0x12 0x34\n" "\\& 0x34 0x12 0x78 0x56\n" msgstr "" "\\& 0x56 0x78 0x12 0x34\n" "\\& 0x34 0x12 0x78 0x56\n" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "These are called mid-endian, middle-endian, mixed-endian, or just weird." msgstr "" "تسمى هذه النهاية الوسطى (mid-endian أو middle-endian)، أو النهاية المختلطة " "(mixed-endian)، أو فقط غريبة." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "You can determine your system endianness with this incantation:" msgstr "يمكنك تحديد نهاية نظامك باستخدام هذه التعويذة:" #. type: Plain text #: debian-trixie debian-unstable #, no-wrap msgid "" "\\& printf(\"%#02x \", $_) for unpack(\"W*\", pack L=E0x12345678);\n" msgstr "" "\\& printf(\"%#02x \", $_) for unpack(\"W*\", pack L=E0x12345678);\n" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "The byteorder on the platform where Perl was built is also available via " "Config:" msgstr "" "ترتيب البايتات (byteorder) على المنصة التي بنيت عليها بيرل متاح أيضًا عبر " "Config:" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "" "\\& use Config;\n" "\\& print \"$Config{byteorder}\\en\";\n" msgstr "" "\\& use Config;\n" "\\& print \"$Config{byteorder}\\en\";\n" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "or from the command line:" msgstr "أو من سطر الأوامر:" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "\\& $ perl -V:byteorder\n" msgstr "\\& $ perl -V:byteorder\n" #. type: Plain text #: debian-trixie debian-unstable msgid "" "Byteorders CW<\"1234\"> and CW<\"12345678\"> are little-endian; CW<\"4321\"> " "and CW<\"87654321\"> are big-endian. Systems with multiarchitecture " "binaries will have CW<\"ffff\">, signifying that static information doesn't " "work, one must use runtime probing." msgstr "" "ترتيب البايتات CW<\"1234\"> و CW<\"12345678\"> هي نهاية صغرى؛ أما " "CW<\"4321\"> و CW<\"87654321\"> فهي نهاية كبرى. الأنظمة ذات الثنائيات متعددة " "البنى ستحتوي على CW<\"ffff\">، مما يعني أن المعلومات الثابتة لا تعمل، ويجب " "استخدام الفحص وقت التشغيل." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "For portably packed integers, either use the formats CW<\\*(C`n\\*(C'>, " "CW<\\*(C`N\\*(C'>, CW<\\*(C`v\\*(C'>, and CW<\\*(C`V\\*(C'> or else use the " "CW<\\*(C`E\\*(C'> and CW<\\*(C`E\\*(C'> modifiers described " "immediately below. See also perlport." msgstr "" "بالنسبة للأعداد الصحيحة المحزومة بشكل محمول، استخدم إما التنسيقات " "CW<\\*(C`n\\*(C'> و CW<\\*(C`N\\*(C'> و CW<\\*(C`v\\*(C'> و " "CW<\\*(C`V\\*(C'> أو استخدم معدلات CW<\\*(C`E\\*(C'> و " "CW<\\*(C`E\\*(C'> الموضحة أدناه مباشرة. انظر أيضًا perlport." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Also floating point numbers have endianness. Usually (but not always) this " "agrees with the integer endianness. Even though most platforms these days " "use the IEEE 754 binary format, there are differences, especially if the " "long doubles are involved. You can see the \\&CW<\\*(C`Config\\*(C'> " "variables CW<\\*(C`doublekind\\*(C'> and CW<\\*(C`longdblkind\\*(C'> (also " "CW<\\*(C`doublesize\\*(C'>, \\&CW<\\*(C`longdblsize\\*(C'>): the \"kind\" " "values are enums, unlike CW<\\*(C`byteorder\\*(C'>." msgstr "" "أيضًا أرقام الفاصلة العائمة لها نهاية. عادةً (ولكن ليس دائمًا) يتفق هذا مع " "نهاية الأعداد الصحيحة. على الرغم من أن معظم المنصات هذه الأيام تستخدم " "التنسيق الثنائي IEEE 754، إلا أن هناك اختلافات، خاصة إذا كانت الـ doubles " "الطويلة معنية. يمكنك رؤية متغيرات \\&CW<\\*(C`Config\\*(C'> مثل " "CW<\\*(C`doublekind\\*(C'> و CW<\\*(C`longdblkind\\*(C'> (وأيضًا " "CW<\\*(C`doublesize\\*(C'> و \\&CW<\\*(C`longdblsize\\*(C'>): قيم \"kind\" " "هي تعدادات (enums)، على عكس CW<\\*(C`byteorder\\*(C'>." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Portability-wise the best option is probably to keep to the IEEE 754 64-bit " "doubles, and of agreed-upon endianness. Another possibility is the " "CW<\"%a\">) format of CW<\\*(C`printf\\*(C'>." msgstr "" "من ناحية المحمولية، ربما يكون الخيار الأفضل هو الالتزام بـ IEEE 754 64-بت " "doubles، وبنهاية متفق عليها. وهناك احتمال آخر وهو تنسيق CW<\"%a\"> لـ " "CW<\\*(C`printf\\*(C'>." #. type: Plain text #: debian-trixie debian-unstable msgid "" "Starting with Perl 5.10.0, integer and floating-point formats, along with " "the CW<\\*(C`p\\*(C'> and CW<\\*(C`P\\*(C'> formats and CW<\\*(C`()\\*(C'> " "groups, may all be followed by the \\&CW<\\*(C`E\\*(C'> or " "CW<\\*(C`E\\*(C'> endianness modifiers to respectively enforce big- or " "little-endian byte-order. These modifiers are especially useful given how " "CW<\\*(C`n\\*(C'>, CW<\\*(C`N\\*(C'>, CW<\\*(C`v\\*(C'>, and " "CW<\\*(C`V\\*(C'> don't cover signed integers, 64-bit integers, or floating-" "point values." msgstr "" "بدءًا من إصدار بيرل 5.10.0، يمكن أن تُتبع تنسيقات الأعداد الصحيحة والفاصلة " "العائمة، جنبًا إلى جنب مع تنسيقات CW<\\*(C`p\\*(C'> و CW<\\*(C`P\\*(C'> " "ومجموعات CW<\\*(C`()\\*(C'>، بمعدلات النهاية \\&CW<\\*(C`E\\*(C'> أو " "CW<\\*(C`E\\*(C'> لفرض ترتيب البايتات للنهاية الكبرى أو الصغرى على " "التوالي. هذه المعدلات مفيدة بشكل خاص نظرًا لأن CW<\\*(C`n\\*(C'> و " "CW<\\*(C`N\\*(C'> و CW<\\*(C`v\\*(C'> و CW<\\*(C`V\\*(C'> لا تغطي الأعداد " "الصحيحة الموقعة، أو الأعداد الصحيحة 64 بت، أو قيم الفاصلة العائمة." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Here are some concerns to keep in mind when using an endianness modifier:" msgstr "" "فيما يلي بعض الاعتبارات التي يجب وضعها في الاعتبار عند استخدام معدل النهاية:" #. type: Plain text #: debian-trixie debian-unstable msgid "" "Exchanging signed integers between different platforms works only when all " "platforms store them in the same format. Most platforms store signed " "integers in two's-complement notation, so usually this is not an issue." msgstr "" "يعمل تبادل الأعداد الصحيحة الموقعة بين المنصات المختلفة فقط عندما تخزنها " "جميع المنصات في نفس التنسيق. تخزن معظم المنصات الأعداد الصحيحة الموقعة بنظام " "المتمم الثنائي (two's-complement)، لذا فعادة ما لا يمثل هذا مشكلة." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "The CW<\\*(C`E\\*(C'> or CW<\\*(C`E\\*(C'> modifiers can only be " "used on floating-point formats on big- or little-endian machines. " "Otherwise, attempting to use them raises an exception." msgstr "" "لا يمكن استخدام معدلات CW<\\*(C`E\\*(C'> أو CW<\\*(C`E\\*(C'> على " "تنسيقات الفاصلة العائمة إلا في آلات النهاية الكبرى أو الصغرى. بخلاف ذلك، فإن " "محاولة استخدامها تثير استثناءً." #. type: Plain text #: debian-trixie debian-unstable msgid "" "Forcing big- or little-endian byte-order on floating-point values for data " "exchange can work only if all platforms use the same binary representation " "such as IEEE floating-point. Even if all platforms are using IEEE, there " "may still be subtle differences. Being able to use CW<\\*(C`E\\*(C'> or " "CW<\\*(C`E\\*(C'> on floating-point values can be useful, but also " "dangerous if you don't know exactly what you're doing. It is not a general " "way to portably store floating-point values." msgstr "" "يمكن أن ينجح فرض ترتيب البايتات للنهاية الكبرى أو الصغرى على قيم الفاصلة " "العائمة لتبادل البيانات فقط إذا كانت جميع المنصات تستخدم نفس التمثيل الثنائي " "مثل فاصلة IEEE العائمة. وحتى لو كانت جميع المنصات تستخدم IEEE، فقد تظل هناك " "اختلافات طفيفة. إن القدرة على استخدام CW<\\*(C`E\\*(C'> أو " "CW<\\*(C`E\\*(C'> على قيم الفاصلة العائمة يمكن أن تكون مفيدة، ولكنها " "خطيرة أيضًا إذا لم تكن تعرف بالضبط ما تفعله. إنها ليست طريقة عامة لتخزين قيم " "الفاصلة العائمة بشكل محمول." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "When using CW<\\*(C`E\\*(C'> or CW<\\*(C`E\\*(C'> on a " "CW<\\*(C`()\\*(C'> group, this affects all types inside the group that " "accept byte-order modifiers, including all subgroups. It is silently " "ignored for all other types. You are not allowed to override the byte-order " "within a group that already has a byte-order modifier suffix." msgstr "" "عند استخدام CW<\\*(C`E\\*(C'> أو CW<\\*(C`E\\*(C'> على مجموعة " "CW<\\*(C`()\\*(C'>، فإن هذا يؤثر على جميع الأنواع داخل المجموعة التي تقبل " "معدلات ترتيب البايتات، بما في ذلك جميع المجموعات الفرعية. ويُتجاهل بصمت لجميع " "الأنواع الأخرى. لا يُسمح لك بتجاوز ترتيب البايتات داخل مجموعة تحتوي بالفعل " "على لاحقة معدل ترتيب البايتات." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Real numbers (floats and doubles) are in native machine format only. Due to " "the multiplicity of floating-point formats and the lack of a standard " "\"network\" representation for them, no facility for interchange has been " "made. This means that packed floating-point data written on one machine may " "not be readable on another, even if both use IEEE floating-point arithmetic " "(because the endianness of the memory representation is not part of the IEEE " "spec). See also perlport." msgstr "" "الأرقام الحقيقية (floats و doubles) تكون بتنسيق الآلة الأصلي فقط. نظرًا لتعدد " "تنسيقات الفاصلة العائمة وعدم وجود تمثيل قياسي \"للشبكة\" لها، لم يُنشأ أي " "مرفق للتبادل. وهذا يعني أن بيانات الفاصلة العائمة المحزومة المكتوبة على آلة " "واحدة قد لا تكون قابلة للقراءة على آلة أخرى، حتى لو كانت كلتاهما تستخدمان " "حسابات الفاصلة العائمة IEEE (لأن نهاية تمثيل الذاكرة ليس جزءًا من مواصفات " "IEEE). انظر أيضًا perlport." #. type: Plain text #: debian-trixie debian-unstable msgid "" "If you know I what you're doing, you can use the " "CW<\\*(C`E\\*(C'> or CW<\\*(C`E\\*(C'> modifiers to force big- or " "little-endian byte-order on floating-point values." msgstr "" "إذا كنت تعرف I ما تفعله، يمكنك استخدام معدلات CW<\\*(C`E\\*(C'> " "أو CW<\\*(C`E\\*(C'> لفرض ترتيب البايتات للنهاية الكبرى أو الصغرى على " "قيم الفاصلة العائمة." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Because Perl uses doubles (or long doubles, if configured) internally for " "all numeric calculation, converting from double into float and thence to " "double again loses precision, so CW<\\*(C`unpack(\"f\", pack(\"f\", " "$foo)\\*(C'>) will not in general equal CW<$foo>." msgstr "" "لأن بيرل تستخدم doubles (أو doubles طويلة، إذا ضُبطت كذلك) داخليًا لجميع " "الحسابات الرقمية، فإن التحويل من double إلى float ومن ثم إلى double مرة أخرى " "يؤدي لفقدان الدقة، لذا فإن CW<\\*(C`unpack(\"f\", pack(\"f\", $foo)\\*(C'>) " "لن تساوي CW<$foo> بشكل عام." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Pack and unpack can operate in two modes: character mode (CW<\\*(C`C0\\*(C'> " "mode) where the packed string is processed per character, and UTF-8 byte " "mode (CW<\\*(C`U0\\*(C'> mode) where the packed string is processed in its " "UTF-8-encoded Unicode form on a byte-by-byte basis. Character mode is the " "default unless the format string starts with CW<\\*(C`U\\*(C'>. You can " "always switch mode mid-format with an explicit \\&CW<\\*(C`C0\\*(C'> or " "CW<\\*(C`U0\\*(C'> in the format. This mode remains in effect until the " "next mode change, or until the end of the CW<\\*(C`()\\*(C'> group it " "(directly) applies to." msgstr "" "يمكن للدالتين CW و CW العمل في وضعين: وضع المحارف (وضع " "CW<\\*(C`C0\\*(C'>) حيث تُعالج السلسلة المحزومة محرفًا بمحرف، ووضع بايتات " "UTF-8 (وضع CW<\\*(C`U0\\*(C'>) حيث تُعالج السلسلة المحزومة في شكل Unicode " "المرمز بترميز UTF-8 على أساس بايت ببايت. وضع المحارف هو الوضع المبدئي ما لم " "تبدأ سلسلة التنسيق بـ CW<\\*(C`U\\*(C'>. يمكنك دائمًا تبديل الوضع في منتصف " "التنسيق باستخدام CW<\\*(C`C0\\*(C'> أو CW<\\*(C`U0\\*(C'> صراحةً في التنسيق. " "يظل هذا الوضع ساري المفعول حتى تغيير الوضع التالي، أو حتى نهاية مجموعة " "CW<\\*(C`()\\*(C'> التي ينطبق عليها (مباشرة)." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Using CW<\\*(C`C0\\*(C'> to get Unicode characters while using " "CW<\\*(C`U0\\*(C'> to get I-Unicode bytes is not necessarily obvious. " "Probably only the first of these is what you want:" msgstr "" "استخدام CW<\\*(C`C0\\*(C'> للحصول على محارف Unicode بينما يُستخدم " "CW<\\*(C`U0\\*(C'> للحصول على بايتات I<غير> تابعة لـ Unicode ليس واضحًا " "بالضرورة. ربما يكون الخيار الأول فقط هو ما تريده:" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "" "\\& $ perl -CS -E \\*(Aqsay \"\\ex{3B1}\\ex{3C9}\"\\*(Aq |\n" "\\& perl -CS -ne \\*(Aqprintf \"%v04X\\en\", $_ for unpack(\"C0A*\"," " $_)\\*(Aq\n" "\\& 03B1.03C9\n" "\\& $ perl -CS -E \\*(Aqsay \"\\ex{3B1}\\ex{3C9}\"\\*(Aq |\n" "\\& perl -CS -ne \\*(Aqprintf \"%v02X\\en\", $_ for unpack(\"U0A*\"," " $_)\\*(Aq\n" "\\& CE.B1.CF.89\n" "\\& $ perl -CS -E \\*(Aqsay \"\\ex{3B1}\\ex{3C9}\"\\*(Aq |\n" "\\& perl -C0 -ne \\*(Aqprintf \"%v02X\\en\", $_ for unpack(\"C0A*\"," " $_)\\*(Aq\n" "\\& CE.B1.CF.89\n" "\\& $ perl -CS -E \\*(Aqsay \"\\ex{3B1}\\ex{3C9}\"\\*(Aq |\n" "\\& perl -C0 -ne \\*(Aqprintf \"%v02X\\en\", $_ for unpack(\"U0A*\"," " $_)\\*(Aq\n" "\\& C3.8E.C2.B1.C3.8F.C2.89\n" msgstr "" "\\& $ perl -CS -E \\*(Aqsay \"\\ex{3B1}\\ex{3C9}\"\\*(Aq |\n" "\\& perl -CS -ne \\*(Aqprintf \"%v04X\\en\", $_ for unpack(\"C0A*\"," " $_)\\*(Aq\n" "\\& 03B1.03C9\n" "\\& $ perl -CS -E \\*(Aqsay \"\\ex{3B1}\\ex{3C9}\"\\*(Aq |\n" "\\& perl -CS -ne \\*(Aqprintf \"%v02X\\en\", $_ for unpack(\"U0A*\"," " $_)\\*(Aq\n" "\\& CE.B1.CF.89\n" "\\& $ perl -CS -E \\*(Aqsay \"\\ex{3B1}\\ex{3C9}\"\\*(Aq |\n" "\\& perl -C0 -ne \\*(Aqprintf \"%v02X\\en\", $_ for unpack(\"C0A*\"," " $_)\\*(Aq\n" "\\& CE.B1.CF.89\n" "\\& $ perl -CS -E \\*(Aqsay \"\\ex{3B1}\\ex{3C9}\"\\*(Aq |\n" "\\& perl -C0 -ne \\*(Aqprintf \"%v02X\\en\", $_ for unpack(\"U0A*\"," " $_)\\*(Aq\n" "\\& C3.8E.C2.B1.C3.8F.C2.89\n" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Those examples also illustrate that you should not try to use " "\\&CW<\\*(C`pack\\*(C'>/CW<\\*(C`unpack\\*(C'> as a substitute for the " "Encode module." msgstr "" "توضح تلك الأمثلة أيضًا أنه لا ينبغي محاولة استخدام CW/CW كبديل " "للوحدة Encode." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "You must yourself do any alignment or padding by inserting, for example, " "enough CW<\"x\">es while packing. There is no way for " "\\&CW<\\*(C`pack\\*(C'> and CW<\\*(C`unpack\\*(C'> to know where characters " "are going to or coming from, so they handle their output and input as flat " "sequences of characters." msgstr "" "يجب عليك القيام بأي محاذاة أو حشو بنفسك عن طريق إدراج، على سبيل المثال، ما " "يكفي من محارف CW<\"x\"> أثناء الحزم. لا توجد طريقة لـ CW و CW " "لمعرفة أين تذهب المحارف أو من أين تأتي، لذا فهما يعالجان مخرجاتهما " "ومدخلاتهما كـ تسلسلات مسطحة من المحارف." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "A CW<\\*(C`()\\*(C'> group is a sub-TEMPLATE enclosed in parentheses. A " "group may take a repeat count either as postfix, or for " "\\&CW<\\*(C`unpack\\*(C'>, also via the CW<\\*(C`/\\*(C'> template " "character. Within each repetition of a group, positioning with " "\\&CW<\\*(C`@\\*(C'> starts over at 0. Therefore, the result of" msgstr "" "مجموعة CW<\\*(C`()\\*(C'> هي قالب فرعي (sub-TEMPLATE) محصور بين قوسين. قد " "تأخذ المجموعة عدد تكرار إما كلاحقة، أو بالنسبة لـ CW، عبر محرف " "القالب CW<\\*(C`/\\*(C'> أيضًا. ضمن كل تكرار للمجموعة، يبدأ تحديد الموضع " "باستخدام CW<\\*(C`@\\*(C'> من 0 مرة أخرى. لذلك، فإن نتيجة" #. type: Plain text #: debian-trixie debian-unstable #, no-wrap msgid "\\& pack(\"@1A((@2A)@3A)\", qw[X Y Z])\n" msgstr "\\& pack(\"@1A((@2A)@3A)\", qw[X Y Z])\n" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "is the string CW<\"\\e0X\\e0\\e0YZ\">." msgstr "هي السلسلة CW<\"\\e0X\\e0\\e0YZ\">." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "\\&CW<\\*(C`x\\*(C'> and CW<\\*(C`X\\*(C'> accept the CW<\\*(C`!\\*(C'> " "modifier to act as alignment commands: they jump forward or back to the " "closest position aligned at a multiple of CW<\\*(C`count\\*(C'> characters. " "For example, to CW<\\*(C`pack\\*(C'> or \\&CW<\\*(C`unpack\\*(C'> a C " "structure like" msgstr "" "يقبل كل من CW و CW المعدل CW<\\*(C`!\\*(C'> ليعملا كأوامر محاذاة: حيث " "يقفزان للأمام أو للخلف إلى أقرب موضع محاذى لمضاعفات عدد " "CW<\\*(C`count\\*(C'> من المحارف. على سبيل المثال، لحزم (CW) أو فك حزم " "(CW) بنية C مثل" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "" "\\& struct {\n" "\\& char c; /* one signed, 8-bit character */\n" "\\& double d;\n" "\\& char cc[2];\n" "\\& }\n" msgstr "" "\\& struct {\n" "\\& char c; /* one signed, 8-bit character */\n" "\\& double d;\n" "\\& char cc[2];\n" "\\& }\n" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "one may need to use the template CW<\\*(C`c x![d] d c[2]\\*(C'>. This " "assumes that doubles must be aligned to the size of double." msgstr "" "قد يحتاج المرء إلى استخدام القالب CW<\\*(C`c x![d] d c[2]\\*(C'>. يفترض هذا " "وجوب محاذاة الأعداد من النوع double إلى حجم الـ double." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "For alignment commands, a CW<\\*(C`count\\*(C'> of 0 is equivalent to a " "CW<\\*(C`count\\*(C'> of 1; both are no-ops." msgstr "" "بالنسبة لأوامر المحاذاة، فإن قيمة CW<\\*(C`count\\*(C'> التي تساوي 0 تكافئ " "القيمة 1؛ كلاهما لا ينفذ أي عملية." #. type: Plain text #: debian-trixie debian-unstable msgid "" "\\&CW<\\*(C`n\\*(C'>, CW<\\*(C`N\\*(C'>, CW<\\*(C`v\\*(C'> and " "CW<\\*(C`V\\*(C'> accept the CW<\\*(C`!\\*(C'> modifier to represent signed " "16-/32-bit integers in big-/little-endian order. This is portable only when " "all platforms sharing packed data use the same binary representation for " "signed integers; for example, when all platforms use two's-complement " "representation." msgstr "" "تقبل الرموز CW و CW و CW و CW المعدل CW<\\*(C`!\\*(C'> لتمثيل " "الأعداد الصحيحة الموقعة ذات 16/32 بت بترتيب النهاية الكبرى/الصغرى (big-/" "little-endian). هذا الأمر قابل للنقل فقط عندما تستخدم جميع المنصات التي " "تتشارك البيانات المحزومة نفس التمثيل الثنائي للأعداد الصحيحة الموقعة؛ على " "سبيل المثال، عندما تستخدم جميع المنصات تمثيل المتمم الثنائي." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Comments can be embedded in a TEMPLATE using CW<\\*(C`#\\*(C'> through the " "end of line. White space can separate pack codes from each other, but " "modifiers and repeat counts must follow immediately. Breaking complex " "templates into individual line-by-line components, suitably annotated, can " "do as much to improve legibility and maintainability of pack/unpack formats " "as CW<\\*(C`/x\\*(C'> can for complicated pattern matches." msgstr "" "يمكن تضمين التعليقات في القالب (TEMPLATE) باستخدام CW<\\*(C`#\\*(C'> حتى " "نهاية السطر. يمكن للمسافات البيضاء أن تفصل بين أكواد الحزم، ولكن يجب أن تتبع " "المعدلات وأعداد التكرار الكود مباشرة. إن تقسيم القوالب المعقدة إلى مكونات " "فردية سطرًا بسطر، مع تذييلها بملاحظات مناسبة، يمكن أن يحسن مقروئية وصيانة " "تنسيقات pack/unpack بنفس القدر الذي يفعله CW<\\*(C`/x\\*(C'> لمطابقات " "الأنماط المعقدة." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "If TEMPLATE requires more arguments than CW<\\*(C`pack\\*(C'> is given, " "CW<\\*(C`pack\\*(C'> assumes additional CW<\"\"> arguments. If TEMPLATE " "requires fewer arguments than given, extra arguments are ignored." msgstr "" "إذا تطلب القالب (TEMPLATE) وسائط أكثر مما أُعطي لـ CW، تفترض CW " "وجود وسائط CW<\"\"> إضافية. إذا تطلب القالب وسائط أقل مما أُعطي، تُتجاهل " "الوسائط الزائدة." #. type: Plain text #: debian-trixie debian-unstable msgid "" "Attempting to pack the special floating point values CW<\\*(C`Inf\\*(C'> and " "CW<\\*(C`NaN\\*(C'> (infinity, also in negative, and not-a-number) into " "packed integer values (like CW<\"L\">) is a fatal error. The reason for " "this is that there simply isn't any sensible mapping for these special " "values into integers." msgstr "" "تعد محاولة حزم قيم الفاصلة العائمة الخاصة CW و CW (اللانهاية، بما " "في ذلك السالبة، وليس رقمًا) في قيم صحيحة محزومة (مثل CW<\"L\">) خطأً فادحًا. " "والسبب في ذلك هو عدم وجود أي تعيين منطقي لهذه القيم الخاصة إلى أعداد صحيحة." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "" "\\& $foo = pack(\"WWWW\",65,66,67,68);\n" "\\& # foo eq \"ABCD\"\n" "\\& $foo = pack(\"W4\",65,66,67,68);\n" "\\& # same thing\n" "\\& $foo = pack(\"W4\",0x24b6,0x24b7,0x24b8,0x24b9);\n" "\\& # same thing with Unicode circled letters.\n" "\\& $foo = pack(\"U4\",0x24b6,0x24b7,0x24b8,0x24b9);\n" "\\& # same thing with Unicode circled letters. You don\\*(Aqt get the\n" "\\& # UTF-8 bytes because the U at the start of the format caused\n" "\\& # a switch to U0-mode, so the UTF-8 bytes get joined into\n" "\\& # characters\n" "\\& $foo = pack(\"C0U4\",0x24b6,0x24b7,0x24b8,0x24b9);\n" "\\& # foo eq \"\\exe2\\ex92\\exb6\\exe2\\ex92\\exb7\\exe2\\ex92\\exb8\\exe2" "\\ex92\\exb9\"\n" "\\& # This is the UTF-8 encoding of the string in the\n" "\\& # previous example\n" "\\&\n" "\\& $foo = pack(\"ccxxcc\",65,66,67,68);\n" "\\& # foo eq \"AB\\e0\\e0CD\"\n" "\\&\n" "\\& # NOTE: The examples above featuring \"W\" and \"c\" are true\n" "\\& # only on ASCII and ASCII-derived systems such as ISO Latin 1\n" "\\& # and UTF-8. On EBCDIC systems, the first example would be\n" "\\& # $foo = pack(\"WWWW\",193,194,195,196);\n" "\\&\n" "\\& $foo = pack(\"s2\",1,2);\n" "\\& # \"\\e001\\e000\\e002\\e000\" on little-endian\n" "\\& # \"\\e000\\e001\\e000\\e002\" on big-endian\n" "\\&\n" "\\& $foo = pack(\"a4\",\"abcd\",\"x\",\"y\",\"z\");\n" "\\& # \"abcd\"\n" "\\&\n" "\\& $foo = pack(\"aaaa\",\"abcd\",\"x\",\"y\",\"z\");\n" "\\& # \"axyz\"\n" "\\&\n" "\\& $foo = pack(\"a14\",\"abcdefg\");\n" "\\& # \"abcdefg\\e0\\e0\\e0\\e0\\e0\\e0\\e0\"\n" "\\&\n" "\\& $foo = pack(\"i9pl\", gmtime);\n" "\\& # a real struct tm (on my system anyway)\n" "\\&\n" "\\& $utmp_template = \"Z8 Z8 Z16 L\";\n" "\\& $utmp = pack($utmp_template, @utmp1);\n" "\\& # a struct utmp (BSDish)\n" "\\&\n" "\\& @utmp2 = unpack($utmp_template, $utmp);\n" "\\& # \"@utmp1\" eq \"@utmp2\"\n" "\\&\n" "\\& sub bintodec {\n" "\\& unpack(\"N\", pack(\"B32\", substr(\"0\" x 32 . shift, -32)));\n" "\\& }\n" "\\&\n" "\\& $foo = pack(\\*(Aqsx2l\\*(Aq, 12, 34);\n" "\\& # short 12, two zero bytes padding, long 34\n" "\\& $bar = pack(\\*(Aqs@4l\\*(Aq, 12, 34);\n" "\\& # short 12, zero fill to position 4, long 34\n" "\\& # $foo eq $bar\n" "\\& $baz = pack(\\*(Aqs.l\\*(Aq, 12, 4, 34);\n" "\\& # short 12, zero fill to position 4, long 34\n" "\\&\n" "\\& $foo = pack(\\*(AqnN\\*(Aq, 42, 4711);\n" "\\& # pack big-endian 16- and 32-bit unsigned integers\n" "\\& $foo = pack(\\*(AqSELE\\*(Aq, 42, 4711);\n" "\\& # exactly the same\n" "\\& $foo = pack(\\*(AqsElE\\*(Aq, -42, 4711);\n" "\\& # pack little-endian 16- and 32-bit signed integers\n" "\\& $foo = pack(\\*(Aq(sl)E\\*(Aq, -42, 4711);\n" "\\& # exactly the same\n" msgstr "" "\\& $foo = pack(\"WWWW\",65,66,67,68);\n" "\\& # foo eq \"ABCD\"\n" "\\& $foo = pack(\"W4\",65,66,67,68);\n" "\\& # نفس الشيء\n" "\\& $foo = pack(\"W4\",0x24b6,0x24b7,0x24b8,0x24b9);\n" "\\& # نفس الشيء مع أحرف Unicode المحاطة بدوائر.\n" "\\& $foo = pack(\"U4\",0x24b6,0x24b7,0x24b8,0x24b9);\n" "\\& # نفس الشيء مع أحرف Unicode المحاطة بدوائر. لن تحصل على\n" "\\& # بايتات UTF-8 لأن الحرف U في بداية التنسيق تسبب في\n" "\\& # التحويل إلى وضع U0، لذا يُضم بايتات UTF-8 في\n" "\\& # محارف\n" "\\& $foo = pack(\"C0U4\",0x24b6,0x24b7,0x24b8,0x24b9);\n" "\\& # foo eq \"\\exe2\\ex92\\exb6\\exe2\\ex92\\exb7\\exe2\\ex92\\exb8\\exe2" "\\ex92\\exb9\"\n" "\\& # هذا هو ترميز UTF-8 للسلسلة في المثال\n" "\\& # السابق\n" "\\&\n" "\\& $foo = pack(\"ccxxcc\",65,66,67,68);\n" "\\& # foo eq \"AB\\e0\\e0CD\"\n" "\\&\n" "\\& # ملاحظة: الأمثلة أعلاه التي تتضمن \"W\" و \"c\" صحيحة\n" "\\& # فقط في أنظمة ASCII والأنظمة المشتقة منها مثل ISO Latin 1\n" "\\& # و UTF-8. في أنظمة EBCDIC، سيكون المثال الأول\n" "\\& # $foo = pack(\"WWWW\",193,194,195,196);\n" "\\&\n" "\\& $foo = pack(\"s2\",1,2);\n" "\\& # \"\\e001\\e000\\e002\\e000\" في النهاية الصغرى\n" "\\& # \"\\e000\\e001\\e000\\e002\" في النهاية الكبرى\n" "\\&\n" "\\& $foo = pack(\"a4\",\"abcd\",\"x\",\"y\",\"z\");\n" "\\& # \"abcd\"\n" "\\&\n" "\\& $foo = pack(\"aaaa\",\"abcd\",\"x\",\"y\",\"z\");\n" "\\& # \"axyz\"\n" "\\&\n" "\\& $foo = pack(\"a14\",\"abcdefg\");\n" "\\& # \"abcdefg\\e0\\e0\\e0\\e0\\e0\\e0\\e0\"\n" "\\&\n" "\\& $foo = pack(\"i9pl\", gmtime);\n" "\\& # بنية tm حقيقية (في نظامي على الأقل)\n" "\\&\n" "\\& $utmp_template = \"Z8 Z8 Z16 L\";\n" "\\& $utmp = pack($utmp_template, @utmp1);\n" "\\& # بنية utmp (BSDish)\n" "\\&\n" "\\& @utmp2 = unpack($utmp_template, $utmp);\n" "\\& # \"@utmp1\" eq \"@utmp2\"\n" "\\&\n" "\\& sub bintodec {\n" "\\& unpack(\"N\", pack(\"B32\", substr(\"0\" x 32 . shift, -32)));\n" "\\& }\n" "\\&\n" "\\& $foo = pack(\\*(Aqsx2l\\*(Aq, 12, 34);\n" "\\& # short 12، بايتان صفر حشو، long 34\n" "\\& $bar = pack(\\*(Aqs@4l\\*(Aq, 12, 34);\n" "\\& # short 12، ملء بالأصفار حتى الموضع 4، long 34\n" "\\& # $foo eq $bar\n" "\\& $baz = pack(\\*(Aqs.l\\*(Aq, 12, 4, 34);\n" "\\& # short 12، ملء بالأصفار حتى الموضع 4، long 34\n" "\\&\n" "\\& $foo = pack(\\*(AqnN\\*(Aq, 42, 4711);\n" "\\& # حزم أعداد صحيحة غير موقعة بـ 16 و 32 بت بترتيب النهاية الكبرى\n" "\\& $foo = pack(\\*(AqSELE\\*(Aq, 42, 4711);\n" "\\& # نفس الشيء تمامًا\n" "\\& $foo = pack(\\*(AqsElE\\*(Aq, -42, 4711);\n" "\\& # حزم أعداد صحيحة موقعة بـ 16 و 32 بت بترتيب النهاية الصغرى\n" "\\& $foo = pack(\\*(Aq(sl)E\\*(Aq, -42, 4711);\n" "\\& # نفس الشيء تمامًا\n" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "The same template may generally also be used in \\&CW<\\*(C`unpack\\*(C'>." msgstr "يمكن استخدام القالب نفسه بشكل عام أيضًا في CW." #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "package NAMESPACE" msgstr "package NAMESPACE" #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "package NAMESPACE VERSION" msgstr "package NAMESPACE VERSION" #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "package module namespace version" msgstr "package module namespace version" #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "package NAMESPACE BLOCK" msgstr "package NAMESPACE BLOCK" #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "package NAMESPACE VERSION BLOCK" msgstr "package NAMESPACE VERSION BLOCK" #. type: Plain text #: debian-trixie debian-unstable msgid "" "Declares the BLOCK or the rest of the compilation unit as being in the given " "namespace. The scope of the package declaration is either the supplied code " "BLOCK or, in the absence of a BLOCK, from the declaration itself through the " "end of current scope (the enclosing block, file, or " "\\&CW<\\*(C`eval\\*(C'>). That is, the forms without a BLOCK are operative " "through the end of the current scope, just like the \\&CW<\\*(C`my\\*(C'>, " "CW<\\*(C`state\\*(C'>, and \\&CW<\\*(C`our\\*(C'> operators. All " "unqualified dynamic identifiers in this scope will be in the given " "namespace, except where overridden by another CW<\\*(C`package\\*(C'> " "declaration or when they're one of the special identifiers that qualify into " "CW<\\*(C`main::\\*(C'>, like CW<\\*(C`STDOUT\\*(C'>, CW<\\*(C`ARGV\\*(C'>, " "CW<\\*(C`ENV\\*(C'>, and the punctuation variables." msgstr "" "يعلن عن الكتلة (BLOCK) أو بقية وحدة التصريف كأنها تنتمي لمجال الأسماء " "المعطى. يكون نطاق تصريح الحزمة إما كتلة الكود المزودة، أو في حال غياب " "الكتلة، فمن التصريح نفسه حتى نهاية النطاق الحالي (الكتلة المحيطة، أو الملف، " "أو CW). أي أن الأشكال التي لا تحتوي على كتلة تكون فاعلة حتى نهاية " "النطاق الحالي، تمامًا مثل العوامل CW و CW و CW. جميع المعرفات " "الديناميكية غير المؤهلة في هذا النطاق ستكون في مجال الأسماء المعطى، ما لم " "يتم تجاوزها بتصريح CW آخر أو عندما تكون أحد المعرفات الخاصة التي " "تتأهل إلى CW، مثل CW و CW و CW و متغيرات الترقيم." #. type: Plain text #: debian-trixie debian-unstable msgid "" "A package statement affects dynamic variables only, including those you've " "used CW<\\*(C`local\\*(C'> on, but I lexically-scoped variables, which " "are created with CW<\\*(C`my\\*(C'>, \\&CW<\\*(C`state\\*(C'>, or " "CW<\\*(C`our\\*(C'>. Typically it would be the first declaration in a file " "included by \\&CW<\\*(C`require\\*(C'> or CW<\\*(C`use\\*(C'>. You can " "switch into a package in more than one place, since this only determines " "which default symbol table the compiler uses for the rest of that block. " "You can refer to identifiers in other packages than the current one by " "prefixing the identifier with the package name and a double colon, as in " "CW<$SomePack::var> or CW<\\*(C`ThatPack::INPUT_HANDLE\\*(C'>. If package " "name is omitted, the CW<\\*(C`main\\*(C'> package is assumed. That is, " "CW<$::sail> is equivalent to \\&CW<$main::sail> (as well as to " "CW<\\*(C`$main\\*(Aqsail\\*(C'>, still seen in ancient code, mostly from " "Perl 4)." msgstr "" "يؤثر بيان الحزمة (package) على المتغيرات الديناميكية فقط، بما في ذلك تلك " "التي استخدمت عليها CW، ولكن I<ليس> المتغيرات ذات النطاق المجمعي " "(lexically-scoped)، التي أُنشئت باستخدام CW أو CW أو CW." " عادةً " "ما يكون أول تصريح في ملف مضمن بواسطة CW أو CW. يمكنك الانتقال " "إلى حزمة في أكثر من مكان، لأن هذا يحدد فقط جدول الرموز المبدئي الذي يستخدمه " "المصرف لبقية تلك الكتلة. يمكنك الإشارة إلى المعرفات في حزم أخرى غير الحالية " "عن طريق بادئة المعرف باسم الحزمة ونقطتين مزدوجتين، كما في CW<$SomePack::var> " "أو CW. إذا حُذف اسم الحزمة، تُفترض الحزمة CW
." " أي " "أن CW<$::sail> تكافئ CW<$main::sail> (وكذلك CW<$main\\*(Aqsail>، التي لا " "تزال تُرى في الأكواد القديمة جدًا، غالبًا من بيرل 4)." #. type: Plain text #: debian-trixie debian-unstable msgid "" "If VERSION is provided, CW<\\*(C`package\\*(C'> sets the \\&CW<$VERSION> " "variable in the given namespace to a version object with the VERSION " "provided. VERSION must be a \"strict\" style version number as defined by " "the version module: a positive decimal number (integer or decimal-fraction) " "without exponentiation or else a dotted-decimal v-string with a leading 'v' " "character and at least three components. You should set CW<$VERSION> only " "once per package." msgstr "" "إذا وُفر VERSION، يضبط CW المتغير CW<$VERSION> في مجال الأسماء " "المعطى إلى كائن إصدار بالإصدار الموفر. يجب أن يكون VERSION رقم إصدار بنمط " "\"صارم\" كما هو محدد بواسطة وحدة الإصدار: رقم عشري موجب (صحيح أو كسر عشري) " "بدون أس أو سلسلة v ذات نقاط (v-string) تبدأ بحرف 'v' وثلاثة مكونات على " "الأقل. يجب ضبط CW<$VERSION> مرة واحدة فقط لكل حزمة." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "See \"Packages\" in perlmod for more information about packages, modules, " "and classes. See perlsub for other scoping issues." msgstr "" "انظر \"Packages\" في perlmod لمزيد من المعلومات حول الحزم، والوحدات، " "والأصناف. انظر perlsub لمسائل النطاق الأخرى." #. type: IP #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "_\\|_PACKAGE_\\|_" msgstr "_\\|_PACKAGE_\\|_" #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "__PACKAGE__" msgstr "__PACKAGE__" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "A special token that returns the name of the package in which it occurs." msgstr "رمز خاص يعيد اسم الحزمة التي ورد فيها." #. type: IP #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "_\\|_CLASS_\\|_" msgstr "_\\|_CLASS_\\|_" #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "__CLASS__" msgstr "__CLASS__" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Invoked within a CW<\\*(C`method\\*(C'>, or similar location, such as a " "field initializer expression, this token returns the name of the class of " "the invoking instance. Essentially it is equivalent to CW " "except that it can additionally be used in a field initializer to gain " "access to class methods, before the instance is fully constructed." msgstr "" "عند استدعائه داخل CW، أو موقع مشابه، مثل تعبير تهيئة حقل، يعيد هذا " "الرمز اسم صنف النسخة المستدعية. هو في الأساس يكافئ CW باستثناء " "أنه يمكن استخدامه إضافيًا في مهيئ حقل للوصول إلى توابع الصنف، قبل اكتمال بناء " "النسخة." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "" "\\& use feature \\*(Aqclass\\*(Aq;\n" "\\&\n" "\\& class Example1 {\n" "\\& field $f = _\\|_CLASS_\\|_-Edefault_f;\n" "\\&\n" "\\& sub default_f { 10 }\n" "\\& }\n" msgstr "" "\\& use feature \\*(Aqclass\\*(Aq;\n" "\\&\n" "\\& class Example1 {\n" "\\& field $f = _\\|_CLASS_\\|_-Edefault_f;\n" "\\&\n" "\\& sub default_f { 10 }\n" "\\& }\n" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "In a basic class, this value will be the same as \\&CW<\\*(C`_\\|_PACKAGE_\\|" "_\\*(C'>. The distinction can be seen when a subclass is constructed; it " "will give the class name of the instance being constructed, rather than just " "the package name that the actual code belongs to." msgstr "" "في صنف أساسي، ستكون هذه القيمة هي نفسها CW<_\\|_PACKAGE_\\|_>. يمكن رؤية " "الفرق عند بناء صنف فرعي؛ حيث سيعطي اسم صنف النسخة التي يجري بناؤها، بدلاً من " "مجرد اسم الحزمة التي ينتمي إليها الكود الفعلي." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "" "\\& class Example2 :isa(Example1) {\n" "\\& sub default_f { 20 }\n" "\\& }\n" "\\&\n" "\\& my $obj = Example2-Enew;\n" "\\& # The $f field now has the value 20\n" msgstr "" "\\& class Example2 :isa(Example1) {\n" "\\& sub default_f { 20 }\n" "\\& }\n" "\\&\n" "\\& my $obj = Example2-Enew;\n" "\\& # The $f field now has the value 20\n" #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "pipe READHANDLE,WRITEHANDLE" msgstr "pipe READHANDLE,WRITEHANDLE" #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "pipe" msgstr "pipe" #. type: Plain text #: debian-trixie debian-unstable msgid "" "Opens a pair of connected pipes like the corresponding system call. Note " "that if you set up a loop of piped processes, deadlock can occur unless you " "are very careful. In addition, note that Perl's pipes use IO buffering, so " "you may need to set CW<$|> to flush your WRITEHANDLE after each command, " "depending on the application." msgstr "" "يفتح زوجًا من الأنابيب المتصلة مثل استدعاء النظام المقابل. لاحظ أنه إذا قمت " "بإعداد حلقة من العمليات الأنبوبية، فقد يحدث استعصاء (deadlock) ما لم تكن " "حذرًا جدًا. بالإضافة إلى ذلك، لاحظ أن أنابيب بيرل تستخدم التخزين المؤقت " "للإدخال والإخراج، لذا قد تحتاج لضبط CW<$|> لتفريغ WRITEHANDLE بعد كل أمر، " "اعتمادًا على التطبيق." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "Returns true on success." msgstr "يعيد قيمة صواب عند النجاح." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "See IPC::Open2, IPC::Open3, and \"Bidirectional Communication with Another " "Process\" in perlipc for examples of such things." msgstr "" "انظر IPC::Open2 و IPC::Open3 و \"Bidirectional Communication with Another " "Process\" في perlipc لأمثلة على مثل هذه الأشياء." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "On systems that support a close-on-exec flag on files, that flag is set on " "all newly opened file descriptors whose \\&CW<\\*(C`fileno\\*(C'>s are " "I than the current value of \\&CW<$^F> (by default 2 for " "CW<\\*(C`STDERR\\*(C'>). See \"$^F\" in perlvar." msgstr "" "في الأنظمة التي تدعم علامة الإغلاق عند التنفيذ (close-on-exec) على الملفات، " "تُضبط هذه العلامة على جميع واصفات الملفات المفتوحة حديثًا التي تكون قيم " "CW الخاصة بها I<أعلى> من القيمة الحالية لـ CW<$^F> (افتراضيًا 2 لـ " "CW). انظر \"$^F\" في perlvar." #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "pop ARRAY" msgstr "pop ARRAY" #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "pop stack" msgstr "pop stack" #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "pop" msgstr "pop" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Removes and returns the B element of the array, shortening the array " "by one element." msgstr "" "يزيل ويعيد العنصر B<الأخير> من المصفوفة، ويقصر المصفوفة بمقدار عنصر واحد." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "" "\\& my @arr = (\\*(Aqcat\\*(Aq, \\*(Aqdog\\*(Aq, \\*(Aqmouse\\*(Aq);\n" "\\& my $item = pop(@arr); # \\*(Aqmouse\\*(Aq\n" "\\&\n" "\\& # @arr is now (\\*(Aqcat\\*(Aq, \\*(Aqdog\\*(Aq)\n" msgstr "" "\\& my @arr = (\\*(Aqcat\\*(Aq, \\*(Aqdog\\*(Aq, \\*(Aqmouse\\*(Aq);\n" "\\& my $item = pop(@arr); # \\*(Aqmouse\\*(Aq\n" "\\&\n" "\\& # @arr is now (\\*(Aqcat\\*(Aq, \\*(Aqdog\\*(Aq)\n" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "Returns CW<\\*(C`undef\\*(C'> if the array is empty." msgstr "يعيد CW إذا كانت المصفوفة فارغة." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "\\&B CW<\\*(C`pop\\*(C'> may also return CW<\\*(C`undef\\*(C'> if the " "last element in the array is CW<\\*(C`undef\\*(C'>." msgstr "" "\\&B<ملاحظة:> قد يعيد CW أيضًا CW إذا كان العنصر الأخير في " "المصفوفة هو CW." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "" "\\& my @arr = (\\*(Aqone\\*(Aq, \\*(Aqtwo\\*(Aq, undef);\n" "\\& my $item = pop(@arr); # undef\n" msgstr "" "\\& my @arr = (\\*(Aqone\\*(Aq, \\*(Aqtwo\\*(Aq, undef);\n" "\\& my $item = pop(@arr); # undef\n" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "If ARRAY is omitted, CW<\\*(C`pop\\*(C'> operates on the CW<@ARGV> array in " "the main program, but the CW<@_> array in subroutines. CW<\\*(C`pop\\*(C'> " "will operate on the CW<@ARGV> array in CW<\\*(C`eval STRING\\*(C'>, " "CW<\\*(C`BEGIN {}\\*(C'>, CW<\\*(C`INIT {}\\*(C'>, \\&CW<\\*(C`CHECK " "{}\\*(C'> blocks." msgstr "" "إذا حُذفت المصفوفة (ARRAY)، يعمل CW على مصفوفة CW<@ARGV> في البرنامج " "الرئيس، ولكن على مصفوفة CW<@_> في البرامج الفرعية. سيعمل CW على مصفوفة " "CW<@ARGV> في كتل CW و CW و CW و CW." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Starting with Perl 5.14, an experimental feature allowed " "\\&CW<\\*(C`pop\\*(C'> to take a scalar expression. This experiment has been " "deemed unsuccessful, and was removed as of Perl 5.24." msgstr "" "بدءًا من بيرل 5.14، سمحت ميزة تجريبية لـ CW بأخذ تعبير سلمي (scalar). " "اعتبرت هذه التجربة غير ناجحة، وأزيلت اعتبارًا من بيرل 5.24." #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "pos SCALAR" msgstr "pos SCALAR" #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "pos match, position" msgstr "pos match, position" #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "pos" msgstr "pos" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Returns the offset of where the last CW<\\*(C`m//g\\*(C'> search left off " "for the variable in question (CW<$_> is used when the variable is not " "specified). This offset is in characters unless the (no-longer-recommended) " "CW<\\*(C`use bytes\\*(C'> pragma is in effect, in which case the offset is " "in bytes. Note that 0 is a valid match offset. \\&CW<\\*(C`undef\\*(C'> " "indicates that the search position is reset (usually due to match failure, " "but can also be because no match has yet been run on the scalar)." msgstr "" "يعيد إزاحة المكان الذي توقف عنده آخر بحث CW للمتغير المعني (تُستخدم " "CW<$_> عندما لا يُحدد المتغير). هذه الإزاحة تكون بالمحارف ما لم يكن موجّه " "(pragma)‏ CW (الذي لم يعد موصى به) قيد التشغيل، وفي هذه الحالة " "تكون الإزاحة بالبايتات. لاحظ أن 0 هو إزاحة مطابقة صالحة. تشير CW إلى " "إعادة ضبط موضع البحث (عادةً بسبب فشل المطابقة، ولكن يمكن أن يكون أيضًا لأنه" " لم " "يتم إجراء أي مطابقة بعد على المتغير السلمي)." #. type: Plain text #: debian-trixie debian-unstable msgid "" "\\&CW<\\*(C`pos\\*(C'> directly accesses the location used by the regexp " "engine to store the offset, so assigning to CW<\\*(C`pos\\*(C'> will change " "that offset, and so will also influence the CW<\\*(C`\\eG\\*(C'> zero-width " "assertion in regular expressions. Both of these effects take place for the " "next match, so you can't affect the position with \\&CW<\\*(C`pos\\*(C'> " "during the current match, such as in \\&CW<\\*(C`(?{pos() = 5})\\*(C'> or " "CW<\\*(C`s//pos() = 5/e\\*(C'>." msgstr "" "يصل CW مباشرة إلى الموقع الذي يستخدمه محرك التعبيرات النمطية لتخزين " "الإزاحة، لذا فإن التعيين لـ CW سيغير تلك الإزاحة، وبالتالي سيؤثر أيضًا " "على توكيد العرض الصفري CW<\\eG> في التعبيرات النمطية. يحدث كلا هذين " "التأثيرين للمطابقة التالية، لذا لا يمكنك التأثير على الموضع باستخدام CW " "أثناء المطابقة الحالية، كما في CW<(?{pos() = 5})> أو CW." #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Setting CW<\\*(C`pos\\*(C'> also resets the I " "flag, described under \"Repeated Patterns Matching a Zero-length Substring\" " "in perlre." msgstr "" "يؤدي ضبط CW أيضًا إلى إعادة ضبط علامة I<المطابقة بطول صفري>، الموصوفة " "تحت \"Repeated Patterns Matching a Zero-length Substring\" في perlre." #. type: Plain text #: debian-trixie debian-unstable msgid "" "Because a failed CW<\\*(C`m//gc\\*(C'> match doesn't reset the offset, the " "return from CW<\\*(C`pos\\*(C'> won't change either in this case. See " "perlre and perlop." msgstr "" "نظرًا لأن مطابقة CW الفاشلة لا تعيد ضبط الإزاحة، فإن القيمة الراجعة من " "CW لن تتغير أيضًا في هذه الحالة. انظر perlre و perlop." #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "print FILEHANDLE LIST" msgstr "print FILEHANDLE LIST" #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "print" msgstr "print" #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "print FILEHANDLE" msgstr "print FILEHANDLE" #. type: IX #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "print LIST" msgstr "print LIST" #. type: Plain text #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Prints a string or a list of strings. Returns true if successful. " "FILEHANDLE may be a scalar variable containing the name of or a reference to " "the filehandle, thus introducing one level of indirection. (NOTE: If " "FILEHANDLE is a variable and the next token is a term, it may be " "misinterpreted as an operator unless you interpose a CW<\\*(C`+\\*(C'> or " "put parentheses around the arguments.) If FILEHANDLE is omitted, prints to " "the last selected (see CW<\\*(C`select\\*(C'>) output handle. If LIST is " "omitted, prints CW<$_> to the currently selected output handle. To use " "FILEHANDLE alone to print the content of \\&CW<$_> to it, you must use a " "bareword filehandle like \\&CW<\\*(C`FH\\*(C'>, not an indirect one like " "CW<$fh>. To set the default output handle to something other than STDOUT, " "use the select operation." msgstr "" "يطبع سلسلة أو قائمة من السلاسل. يعيد قيمة صواب إذا نجح. قد يكون FILEHANDLE " "متغيرًا سلميًا يحتوي على اسم واصف الملف أو مرجعًا له، مما يقدم مستوى واحدًا" " من " "المداورة (indirection). (ملاحظة: إذا كان FILEHANDLE متغيرًا وكان الرمز التالي " "تعبيرًا، فقد يساء تفسيره كعامل ما لم تضع CW<+> بينهما أو تضع أقواسًا حول " "الوسائط). إذا حُذف FILEHANDLE، يطبع إلى آخر واصف مخرجات مُختار (انظر " "CW\\|(2) syscall with the bit masks specified, which " "can be constructed using CW<\\*(C`fileno\\*(C'> and \\&CW<\\*(C`vec\\*(C'>, " "along these lines:" msgstr "" "يستدعي هذا نداء النظام B\\|(2): it " "returns CW<-1> and sets CW<$!>." msgstr "" "عند حدوث خطأ، يتصرف CW<\\*(C`select\\*(C'> تماماً مثل B\\|(2) may report a socket file descriptor as " "\"ready for reading\" even when no data is available, and thus any " "subsequent CW<\\*(C`read\\*(C'> would block. This can be avoided if you " "always use CW<\\*(C`O_NONBLOCK\\*(C'> on the socket. See \\&B\\|(2) عن واصف ملف سوكيت بأنه \"جاهز " "للقراءة\" حتى عندما لا تتوفر بيانات، وبالتالي فإن أي عملية " "CW<\\*(C`read\\*(C'> لاحقة ستُمنع (block). يمكن تجنب ذلك إذا كنت تستخدم" " دائماً " "CW<\\*(C`O_NONBLOCK\\*(C'> على السوكيت. راجع \\&B