Perhaps proprietary is too strong a word.  Intershop uses a slimmed-down
version of perl, and the scripts that you write to run there use variables
that can only be accessed for a live session(usually):  if the script that
you write uses any of the API packages from Intershop and you try to run it
outside of Intershop, you get a bunch of ugly errors.  Thus running one of
my scripts from the command line or from a IDE is not an option.  Too bad.,
it would definitely make my life easier!


"Brett W. McCoy" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> On Thu, 6 Dec 2001, Lanceo wrote:
>
> > Is there a way to insert a statement into a perl script that will show
the
> > values of all of your variables?  Other than using a massive collection
of
> > print statements.  ie In a Unix shell script if you, at any time use
> > 'set -x' all of the variables are printed to the screen.  Is there maybe
a
> > big hash table (sort of like %ENV) that I can just cycle through the
keys
> > and spit out the variable values that I am using?
> > I understand that with the perl debugger you can place a watch on
variables,
> > and with some of the IDEs you can hover and see what a variable is
holding
> > at any time (VERY cool..) but I cannot use either, as I am developing
perl
> > scripts for a proprietary type of perl.  Trying to run the debugger on
the
> > scripts with the special tags just gives me errors, so I have been doing
> > alot of prnt "thisvar - $thisVar\n"; and my fingers are sore!!! ;-)
>
> A proprietary type of Perl?
>
> -- Brett
>                                           http://www.chapelperilous.net/
> ------------------------------------------------------------------------
> If it weren't for the last minute, nothing would ever get done.
>



-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to