MESSAGE
DATE | 2021-07-05 |
FROM | Chuck Zumbrun
|
SUBJECT | Re: [Hangout - NYLXS] New to Embperl. How do I work with a large
|
From hangout-bounces-at-nylxs.com Tue Jul 6 06:10:09 2021 Return-Path: X-Original-To: archive-at-mrbrklyn.com Delivered-To: archive-at-mrbrklyn.com Received: from www2.mrbrklyn.com (www2.mrbrklyn.com [96.57.23.82]) by mrbrklyn.com (Postfix) with ESMTP id DCF77163FD8; Tue, 6 Jul 2021 06:10:08 -0400 (EDT) X-Original-To: hangout-at-www2.mrbrklyn.com Delivered-To: hangout-at-www2.mrbrklyn.com Received: by mrbrklyn.com (Postfix, from userid 1000) id 331F7163FBB; Tue, 6 Jul 2021 06:10:02 -0400 (EDT) Resent-From: Ruben Safir Resent-Date: Tue, 6 Jul 2021 06:10:02 -0400 Resent-Message-ID: <20210706101002.GB5478-at-www2.mrbrklyn.com> Resent-To: hangout-at-mrbrklyn.com X-Original-To: ruben-at-mrbrklyn.com Delivered-To: ruben-at-mrbrklyn.com Received: from mxout1-ec2-va.apache.org (mxout1-ec2-va.apache.org [3.227.148.255]) by mrbrklyn.com (Postfix) with ESMTP id AED84164002 for ; Mon, 5 Jul 2021 06:50:28 -0400 (EDT) Received: from mail.apache.org (mailroute1-lw-us.apache.org [207.244.88.153]) by mxout1-ec2-va.apache.org (ASF Mail Server at mxout1-ec2-va.apache.org) with SMTP id 11C7C3F5F3 for ; Mon, 5 Jul 2021 10:50:28 +0000 (UTC) Received: (qmail 33709 invoked by uid 500); 5 Jul 2021 10:50:27 -0000 Mailing-List: contact embperl-help-at-perl.apache.org; run by ezmlm Precedence: bulk Delivered-To: mailing list embperl-at-perl.apache.org Received: (qmail 33680 invoked by uid 99); 5 Jul 2021 10:50:27 -0000 Received: from spamproc1-he-fi.apache.org (HELO spamproc1-he-fi.apache.org) (95.217.134.168) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 05 Jul 2021 10:50:27 +0000 Received: from localhost (localhost [127.0.0.1]) by spamproc1-he-fi.apache.org (ASF Mail Server at spamproc1-he-fi.apache.org) with ESMTP id DFD69C03E0 for ; Mon, 5 Jul 2021 10:50:26 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamproc1-he-fi.apache.org X-Spam-Flag: NO X-Spam-Score: -0.002 X-Spam-Level: X-Spam-Status: No, score=-0.002 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=0.2, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamproc1-he-fi.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-ec2-va.apache.org ([116.203.227.195]) by localhost (spamproc1-he-fi.apache.org [95.217.134.168]) (amavisd-new, port 10024) with ESMTP id pO0pMolQP8ZD for ; Mon, 5 Jul 2021 10:50:24 +0000 (UTC) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=209.85.219.178; helo=mail-yb1-f178.google.com; envelope-from=chuck.zumbrun-at-gmail.com; receiver= Received: from mail-yb1-f178.google.com (mail-yb1-f178.google.com [209.85.219.178]) by mx1-ec2-va.apache.org (ASF Mail Server at mx1-ec2-va.apache.org) with ESMTPS id 43A7EBC489 for ; Mon, 5 Jul 2021 10:50:24 +0000 (UTC) Received: by mail-yb1-f178.google.com with SMTP id s129so28479905ybf.3 for ; Mon, 05 Jul 2021 03:50:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=dJQsmxsEiUHNjUxgBrR+UgoAqeG1KoCnc4WccBmCn8U=; b=Y0HpjxAjp5Gf6ncheNBDlbfyQBJCLmfQMQRpUN5fThqEyvEAzWtDaozmHPN8mCSU6W n6v2aIOAkGqlKFNEjRTuLWQ2AyTAT5NSymiZUkaxInVyxf1OwXXdtMtkKytMfffq2blV eLu1neY0q0pjRedCx6mjGryzwrMJQZN9ZStZJlxgFSuvDa4nSmFI+sFaU+hpg1XnpP6F HzGPINE9yU6dAs76SRBoOLCOQrMhsVj2m52wGL03/+GY6fe2+XLDRGJ6XkCvUmTduD9k 9I9feHDPpsDhdzn3J83sj2Sbg9LQzwmFFeuNJzdvQ1jnt/eMMW/zu+HUdDjAisw0KhDV NUlQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=dJQsmxsEiUHNjUxgBrR+UgoAqeG1KoCnc4WccBmCn8U=; b=mOTS7tldv8eb/8OXVavs7V2bZCwYC2i8JTKngFRjdI7hx7KyNnjzKNrzTgZFN9HteV ElIVNxjqrUEDiowKynx+hVtpIzwL2W9VWLHpsO8Bay6VzFhV3qxw0w/vlErCsjok63JG 3sbLo4T9PjFoXgL+kaPnde512Tl5yUE7Xs+cGIT1dOeIXElTGfKm3HrAZap2/aJtml8f vE+/Kuw7oK4G59oUgaR1QFEnnK4W9CzsrMhEO/3sCIhxl3YkbT6upKaCjA1CJFFsUdnP qX9pxYNfjUZhbyZrAjRH2bV/cSabtxEgFXoDMVR+2ShAGe+gW1lfkPNfzpjl969L4arW H7tw== X-Gm-Message-State: AOAM530mCpnNA2faUQFBdRFRxogtdeE4AXYUtcswaM1HyJ5F/Ci+VY2b ZTpwL88rjKxbcS18QyrO0qbzFPW1SIY43DcaGD8= X-Google-Smtp-Source: ABdhPJwwW8cpI5Sgbaj21Q8TXgtSDzHKKGPN1bIuCjem02b77hyfQlWpDTm4YcgvPlKMyYq4F8ZDKf+43clIUgTdhH0= X-Received: by 2002:a25:aa82:: with SMTP id t2mr18105292ybi.335.1625482218171; Mon, 05 Jul 2021 03:50:18 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Chuck Zumbrun Date: Mon, 5 Jul 2021 06:50:06 -0400 Message-ID: To: Chris Brown Cc: "embperl-at-perl.apache.org" Subject: Re: [Hangout - NYLXS] New to Embperl. How do I work with a large convoluted file? X-BeenThere: hangout-at-nylxs.com X-Mailman-Version: 2.1.30rc1 List-Id: NYLXS Tech Talk and Politics List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: multipart/mixed; boundary="===============1179006114==" Errors-To: hangout-bounces-at-nylxs.com Sender: "Hangout"
--===============1179006114== Content-Type: multipart/alternative; boundary="00000000000033f06a05c65e1245"
--00000000000033f06a05c65e1245 Content-Type: text/plain; charset="UTF-8"
A multi-modal editor that does syntax highlighting for all the different languages would be really helpful, but I've never found one that works with everything that's in your file. I use Notepad++ in HTML mode and it at least does a pretty good job of matching brackets so you can follow the control flow.
If it's not already consistently indented and formatted, I take the time to do that. That helps unearth the logic and flow.
Good luck!
On Mon, Jul 5, 2021 at 3:32 AM Chris Brown wrote:
> Hi, > > I need to work on several files that are probably 10+ years old. Apart > from minor changes, they haven't been touched for the past 6 years. The dev > is no longer with the company. > > I'm making a non-trivial change and could do with advice on how best to > interpret the code. > > The file I'm interested in a file that contains 4700 lines of HTML, > embedded Perl, CSS and JavaScript. What is the best way to deconstruct this > file with a view to understanding how everything hangs together? > > Cheers > Chris > > >
--00000000000033f06a05c65e1245 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
A multi-modal editor that does syntax highlighting for all= the different languages would be really=C2=A0helpful, but I've never f= ound one that works with everything that's in your file.=C2=A0 I use No= tepad++ in HTML mode and it at least does a pretty good job of matching bra= ckets so you can follow the control flow.
If it's no= t already consistently indented and formatted, I take the time to do that.= =C2=A0 That helps unearth the logic and flow.
margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-lef= t:1ex">
;color:rgb(0,0,0)"> Hi, ;color:rgb(0,0,0)">
;color:rgb(0,0,0)"> I need to work on several files that are probably 10+ years old. Apart from= minor changes, they haven't been touched for the past 6 years. The dev= is no longer with the company.
;color:rgb(0,0,0)">
;color:rgb(0,0,0)"> I'm making a non-trivial change and could do with advice on how best to= interpret the code.
;color:rgb(0,0,0)">
;color:rgb(0,0,0)"> The file I'm interested in a file that contains 4700 lines of HTML, emb= edded Perl, CSS and JavaScript. What is the best way to deconstruct this fi= le with a view to understanding how everything hangs together? ;color:rgb(0,0,0)">
;color:rgb(0,0,0)"> Cheers ;color:rgb(0,0,0)"> Chris
;color:rgb(0,0,0)">
;color:rgb(0,0,0)">
--00000000000033f06a05c65e1245--
--===============1179006114== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline
_______________________________________________ Hangout mailing list Hangout-at-nylxs.com http://lists.mrbrklyn.com/mailman/listinfo/hangout
--===============1179006114==--
--===============1179006114== Content-Type: multipart/alternative; boundary="00000000000033f06a05c65e1245"
--00000000000033f06a05c65e1245 Content-Type: text/plain; charset="UTF-8"
A multi-modal editor that does syntax highlighting for all the different languages would be really helpful, but I've never found one that works with everything that's in your file. I use Notepad++ in HTML mode and it at least does a pretty good job of matching brackets so you can follow the control flow.
If it's not already consistently indented and formatted, I take the time to do that. That helps unearth the logic and flow.
Good luck!
On Mon, Jul 5, 2021 at 3:32 AM Chris Brown wrote:
> Hi, > > I need to work on several files that are probably 10+ years old. Apart > from minor changes, they haven't been touched for the past 6 years. The dev > is no longer with the company. > > I'm making a non-trivial change and could do with advice on how best to > interpret the code. > > The file I'm interested in a file that contains 4700 lines of HTML, > embedded Perl, CSS and JavaScript. What is the best way to deconstruct this > file with a view to understanding how everything hangs together? > > Cheers > Chris > > >
--00000000000033f06a05c65e1245 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
A multi-modal editor that does syntax highlighting for all= the different languages would be really=C2=A0helpful, but I've never f= ound one that works with everything that's in your file.=C2=A0 I use No= tepad++ in HTML mode and it at least does a pretty good job of matching bra= ckets so you can follow the control flow.
If it's no= t already consistently indented and formatted, I take the time to do that.= =C2=A0 That helps unearth the logic and flow.
margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-lef= t:1ex">
;color:rgb(0,0,0)"> Hi, ;color:rgb(0,0,0)">
;color:rgb(0,0,0)"> I need to work on several files that are probably 10+ years old. Apart from= minor changes, they haven't been touched for the past 6 years. The dev= is no longer with the company.
;color:rgb(0,0,0)">
;color:rgb(0,0,0)"> I'm making a non-trivial change and could do with advice on how best to= interpret the code.
;color:rgb(0,0,0)">
;color:rgb(0,0,0)"> The file I'm interested in a file that contains 4700 lines of HTML, emb= edded Perl, CSS and JavaScript. What is the best way to deconstruct this fi= le with a view to understanding how everything hangs together? ;color:rgb(0,0,0)">
;color:rgb(0,0,0)"> Cheers ;color:rgb(0,0,0)"> Chris
;color:rgb(0,0,0)">
;color:rgb(0,0,0)">
--00000000000033f06a05c65e1245--
--===============1179006114== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline
_______________________________________________ Hangout mailing list Hangout-at-nylxs.com http://lists.mrbrklyn.com/mailman/listinfo/hangout
--===============1179006114==--
|
|