MAJOR=4
MINOR=3
DEVNAME=tty3
  $   YˆØ×Ü557Öa–Ãa¾”J_)â�zãlÜi¥1hßÚ -    Y‹      Å•]o›0…ïû+<_ìÞ�ÐUM�©•-M¢4Ó4M»0Ø«€‘mÂ²_?…MÉÚjÙvþ:ØÏ9¶Œ÷*œ�–Ÿçwèýò~‚æßMÆ#„-€Oƒ@¸Û×î9 wSŒpªu9¨ëÚ®¶�+X. Õyæ‚Ò’ÇÚ¦šâàÂkú‚ä¥ŒPS"Os�±`\Pö‰�¨´â”™™Ë*Êx¼ï *rŠ4á³)Ë…�*;¢4Q+K©l¯6ËnP¶æ1S°æRW$­7Ís	ªŠÌ¸fyÓt\Z
Ã;0/tÓð:ÿ�Í lƒ"Ñ±©ÊÀÓ)Z“Œ¯
kQâÀãù
)ûx,
QFŠG{ÅŒH¦}üe<š}5:Ðióuà”J–øøíÈŸÞÌüS’3ÈqÍ½ÑÜâ`B”F¹ <áŒž?´âþýô„a«	™Š%/5ÅA
Æb×j,2UãõÒ8HeWÕJèSi�ø§0æ·‹»é2/ÚHh3Å�î_ï4æD²B£�Kk!7»(Z®×E¤Ê›}íŒJ¾J5²ÐQåÒ©ŠÇBÔE7 þÑhŒ˜Wð¢~¯ÿÆrúVÏEÎõÐ½Fè„Ð\ þ=e²K~jSKQ3i¢nËsðŸ#úçów�Ë¡þ¤Çô�s5t¯þª�¡Š­ÍYÇA[žÃÀïÒ3ïØÝ°lï~ÚÕ‡Â/    7   [ˆl–ßi~”ên-jq@ãoÜªbÑ¿�þc²¬ãd}·�Ž€€þß„i°¼ÏÞ¿Û ?÷     [#!/usr/bin/perl
    eval 'exec /usr/bin/perl -S $0 ${1+"$@"}'
	if 0; # ^ Run only under a shell

my $config_tag1 = '5.36.0 - Tue Sep 29 01:59:07 UTC 2026';

my $patchlevel_date = 1790647147;
my @patches = Config::local_patches();
my $patch_tags = join "", map /(\S+)/ ? "+$1 " : (), @patches;

BEGIN { pop @INC if $INC[-1] eq '.' }
use warnings;
use strict;
use Config;
use File::Spec;		# keep perlbug Perl 5.005 compatible
use Getopt::Std;
use File::Basename 'basename';

$Getopt::Std::STANDARD_HELP_VERSION = 1;

sub paraprint;

BEGIN {
    eval { require Mail::Send;};
    $::HaveSend = ($@ eq "");
    eval { require Mail::Util; } ;
    $::HaveUtil = ($@ eq "");
    # use secure tempfiles wherever possible
    eval { require File::Temp; };
    $::HaveTemp = ($@ eq "");
    eval { require Module::CoreList; };
    $::HaveCoreList = ($@ eq "");
    eval { require Text::Wrap; };
    $::HaveWrap = ($@ eq "");
};

our $VERSION = "1.42";

#TODO:
#       make sure failure (transmission-wise) of Mail::Send is accounted for.
#       (This may work now. Unsure of the original author's issue -JESSE 2008-06-08)
#       - Test -b option

my( $file, $usefile, $cc, $address, $thanksaddress,
    $filename, $messageid, $domain, $subject, $from, $verbose, $ed, $outfile,
    $fh, $me, $body, $andcc, %REP, $ok, $thanks, $progname,
    $Is_MSWin32, $Is_Linux, $Is_VMS, $Is_OpenBSD,
    $report_about_module, $category, $severity,
    %opt, $have_attachment, $attachments, $has_patch, $mime_boundary
);

my $running_noninteractively = !-t STDIN;

my $perl_version = $^V ? sprintf("%vd", $^V) : $];

my $config_tag2 = "$perl_version - $Config{cf_time}";

Init();

if ($opt{h}) { Help(); exit; }
if ($opt{d}) { Dump(*STDOUT); exit; }
if ($running_noninteractively && !$opt{t} && !($ok and not $opt{n})) {
    paraprint <<"EOF";
Please use $progname interactively. If you want to
include a file, you can use the -f switch.
EOF
    die "\n";
}

Query();
Edit() unless $usefile || ($ok and not $opt{n});
NowWhat();
if ($address) {
    Send();
    if ($thanks) {
	print "\nThank you for taking the time to send a thank-you message!\n\n";

	paraprint <<EOF
Please note that mailing lists are moderated, your message may take a while to
show up.
EOF
    } else {
	print "\nThank you for taking the time to file a bug report!\n\n";

	paraprint <<EOF
Please note that mailing lists are moderated, your message may take a while to
show up. Please consider submitting your report directly to the issue tracker
at https://github.com/Perl/perl5/issues
EOF
    }

} else {
    save_message_to_disk($outfile);
}

exit;

sub ask_for_alternatives { # (category|severity)
    my $name = shift;
    my %alts = (
	'category' => {
	    'default' => 'core',
	    'ok'      => 'install',
	    # Inevitably some of these will end up in RT whatever we do:
	    'thanks'  => 'thanks',
	    'opts'    => [qw(core docs install library utilities)], # patch, notabug
	},
	'severity' => {
	    'default' => 'low',
	    'ok'      => 'none',
	    'thanks'  => 'none',
	    'opts'    => [qw(critical high medium low wishlist none)], # zero
	},
    );
    die "Invalid alternative ($name) requested\n" unless grep(/^$name$/, keys %alts);
    my $alt = "";
    my $what = $ok || $thanks;
    if ($what) {
	$alt = $alts{$name}{$what};
    } else {
 	my @alts = @{$alts{$name}{'opts'}};
    print "\n\n";
	paraprint <<EOF;
Plea