perldoc -f caller
- Original Message -
From: "Trond Hagen" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, December 11, 2002 1:09 AM
Subject: Which package am I in ?
> Hi!
>
> I want to know which package I'm in?
> Any help?
>
> package go
>
> print "Now I'm here: ??PACKA
perldoc -q PACKAGE
José.
> -Original Message-
> From: Trond Hagen [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, December 11, 2002 7:09 AM
> To: [EMAIL PROTECTED]
> Subject: Which package am I in ?
>
>
> Hi!
>
> I want to know which package I'm in?
> Any help?
>
> package go
>
> prin
Trond Hagen wrote:
> Hi!
>
> I want to know which package I'm in?
> Any help?
>
> package go
>
> print "Now I'm here: ??PACKAGE??\n" # <- ??PACKAGE?? can be replaced by?
>
>
> Thanks! :-)
>
> trond
try:
#!/usr/bin/perl -w
use strict;
print "I am in ",__PACKAGE__,"\n";
package Paris;
pri