http://qs1969.pair.com?node_id=1078399


in reply to Parsing a clunky file

Any reason to not use DBI and DBD::Oracle ?? Would be a lot easier than parsing sqlplus output.

Replies are listed 'Best First'.
Re^2: Parsing a clunky file
by SamCG (Hermit) on Mar 17, 2014 at 20:48 UTC
    Yes, unfortunately. I have permission to install pretty much nothing, including drivers/modules/etc. From past experience I know that while DBD::Oracle is wonderful, it requires some setup.



    -----------------
    s''limp';@p=split '!','n!h!p!';s,m,s,;$s=y;$c=slice @p1;so brutally;d;$n=reverse;$c=$s**$#p;print(''.$c^chop($n))while($c/=$#p)>=1;
      Perl apparently got installed somehow. If this sort of thing is likely to be needed again, I'd make a go at installing DBD::Oracle (and Oracle client tools if needed), or finding a pre-compiled (ppm) package...