kprasanna_79 has asked for the wisdom of the Perl Monks concerning the following question:
In the above code, i dont see any values printed in the file, but i do see some values when i use Dumper to print to STDERR.($_jobcard_basename = basename($_job_card)) =~ s/^sub\.//i; $_jobcard_basename =~ s/\.xml//; use Data::Dumper; chomp($_jobcard_basename); print FOUT $_jobcard_basename; local $Data::Dumper::Useqq = 1; print STDERR Dumper "The Dumper value is $_jobcard_basename";
Is there something weird going on.The output using dumper is $VAR1 = "The Dumper value is topline.chs ";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Weird Happening when i print into a file
by ikegami (Patriarch) on Oct 27, 2008 at 20:13 UTC | |
by ikegami (Patriarch) on Oct 27, 2008 at 21:59 UTC | |
by chromatic (Archbishop) on Oct 28, 2008 at 00:36 UTC | |
|
Re: Weird Happening when i print into a file
by JavaFan (Canon) on Oct 27, 2008 at 20:33 UTC | |
|
Re: Weird Happening when i print into a file
by ikegami (Patriarch) on Oct 27, 2008 at 20:18 UTC | |
|
Re: Weird Happening when i print into a file
by ccn (Vicar) on Oct 28, 2008 at 06:10 UTC |