Demo entry 6361909

Output of pl2bat

   

Submitted by Ed Zachary on May 05, 2017 at 19:44
Language: Perl. Code size: 683 Bytes.

@rem = '--*-Perl-*--
@echo off
if "%OS%" == "Windows_NT" goto WinNT
perl -x -S "%0" %1 %2 %3 %4 %5 %6 %7 %8 %9
goto endofperl
:WinNT
perl -x -S %0 %*
if NOT "%COMSPEC%" == "%SystemRoot%\system32\cmd.exe" goto endofperl
if %errorlevel% == 9009 echo You do not have Perl in your PATH.
if errorlevel 1 goto script_failed_so_exit_with_non_zero_val 2>nul
goto endofperl
@rem ';
#!/usr/bin/env perl
#line 15
use strict;

use Data::Dumper;
use File::Find;

my %srcfilelist;

File::Find::find(sub { return unless ($_ =~ /\.(c|cxx)$/); push @{$srcfilelist{${File::Find::dir}}}, $_; }, "/iproot/ugnx120/ip15/src");

print Dumper(%srcfilelist);


__END__
:endofperl

This snippet took 0.00 seconds to highlight.

Back to the Entry List or Home.

Delete this entry (admin only).