Logo video2dn
  • Сохранить видео с ютуба
  • Категории
    • Музыка
    • Кино и Анимация
    • Автомобили
    • Животные
    • Спорт
    • Путешествия
    • Игры
    • Люди и Блоги
    • Юмор
    • Развлечения
    • Новости и Политика
    • Howto и Стиль
    • Diy своими руками
    • Образование
    • Наука и Технологии
    • Некоммерческие Организации
  • О сайте

Скачать или смотреть Developer's tutorials: Perl 05: Arrays and Hashes Don't need Quotation Marks

  • Seasoned Software
  • 2025-10-19
  • 6
Developer's tutorials: Perl 05: Arrays and Hashes Don't need Quotation Marks
  • ok logo

Скачать Developer's tutorials: Perl 05: Arrays and Hashes Don't need Quotation Marks бесплатно в качестве 4к (2к / 1080p)

У нас вы можете скачать бесплатно Developer's tutorials: Perl 05: Arrays and Hashes Don't need Quotation Marks или посмотреть видео с ютуба в максимальном доступном качестве.

Для скачивания выберите вариант из формы ниже:

  • Информация по загрузке:

Cкачать музыку Developer's tutorials: Perl 05: Arrays and Hashes Don't need Quotation Marks бесплатно в формате MP3:

Если иконки загрузки не отобразились, ПОЖАЛУЙСТА, НАЖМИТЕ ЗДЕСЬ или обновите страницу
Если у вас возникли трудности с загрузкой, пожалуйста, свяжитесь с нами по контактам, указанным в нижней части страницы.
Спасибо за использование сервиса video2dn.com

Описание к видео Developer's tutorials: Perl 05: Arrays and Hashes Don't need Quotation Marks

“In Perl, numbers and strings are shape-shifters.
Perl’s values don’t have types — operations do.”


"There are only three data types in Perl:
-scalar
-array
-hash (associative array)"


use v5.42;
my %title = (
Alice => "software engineer",
Bob => "project manager",
Carol => "sales agent",
Don => "jester",
Eve => "director"
);

my @attendees = qw(Alice Bob Eve);

for my $name(@attendees) {
say "$name is a $title{$name}";
}


"Perl programs often begin with a version line.
Now we create a hash of keys and values.
Here the keys are names, and the values are job titles.
Notice that there are no quotation marks around the keys.
Perl automatically treats them as strings, even without quotes.
The arrows between them mean each key is linked to its value. "


"Next we create an array, called @attendees.
The letters qw mean quote words.
That is Perl’s way to make a list of words without typing quotation marks around each one. "


"Perl looks up that name in the hash and gives us the matching value.
The result is a simple report.
Each person’s name, and their role."

Комментарии

Информация по комментариям в разработке

Похожие видео

  • О нас
  • Контакты
  • Отказ от ответственности - Disclaimer
  • Условия использования сайта - TOS
  • Политика конфиденциальности

video2dn Copyright © 2023 - 2025

Контакты для правообладателей [email protected]