We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 52897c8 commit 5e55b6bCopy full SHA for 5e55b6b
1 file changed
.bin/obfus
@@ -161,7 +161,7 @@ sub obfuscate {
161
# - open quotes (single or double)
162
# - here documents
163
if ($flatten) {
164
- if ($line =~ m/<<\s*['"]?(\w+)['"]?\s*$/) {
+ if ($line =~ m/<<\s*['"]?(\w+)['"]?\s*/) {
165
my $end = $1;
166
print $ofh $line;
167
while(my $line=<$ifh>) {
@@ -308,10 +308,10 @@ sub newline_process {
308
open $handle, '<', \$data;
309
while(my $line=<$handle>) {
310
# is this a here document?
311
312
313
314
- while(my $line=<$handle>) {
+ while($line=<$handle>) {
315
316
last if $line =~ m/$end/;
317
}
0 commit comments