scene.org File Archive

File download

<root>­/­parties­/­2025­/­vccc25­/­christmas_challenge/regregex_pc_perl_116b_vc3-2025.zip

File size:
5 526 bytes (5.40K)
File date:
2025-12-30 23:34:07
Download count:
all-time: 1

Preview

  • file_id.diz 1.02K
  • snow.pl 116B
  • source.png 4.48K

file_id.diz

SNOW

Author: regregex
Category: Christmas Challenge
System: IBM PC compatible
Language: Perl 5.5.3
Len source code: 116 bytes
Len exe file:    116 bytes
Len code only:   116 bytes
Instructions:
  Perl is typically pre-installed on Linux and related OSes. Type
  perl -v
  at a command prompt to check.  Otherwise install the Perl interpreter
  for your platform. ( https://www.perl.org/get.html )

  On Windows, it is available as part of MSYS2
  ( https://www.msys2.org/ ) but Strawberry Perl is also suitable.
  ( https://strawberryperl.com/ )

  Once installed, enter the following on the command line:
  perl snow.pl
  This script requires a series 5 Perl interpreter such as the latest
  version, 5.42.0.1.

Description: The script displays a specific snowflake pattern on the
screen.
It converts an array of integers to a binary digit string and makes
three mirrored copies, while adding axes.  The script then converts the
0s and 1s to the required space and star characters before printing to
standard output.