Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re^2: Problems compiling Parrot (perverser)

by tye (Sage)
on Mar 26, 2003 at 16:38 UTC ( [id://245988]=note: print w/replies, xml ) Need Help??


in reply to Re: Problems compiling Parrot
in thread Problems compiling Parrot

perl -MFindBin -le 'print $FindBin::Bin'

You do realize that this tells FindBin to look for the location of the script in your file system but that this script isn't in the file system at all, it is just on the command line. So FindBin simply notes that the script name was '-e' which probably means there is no script so it simply returns getcwd()?

So it isn't really testing FindBin much at all. Almost none of the code used in the original situation is used in your test case (then again, almost none of the code used in the original situation is of any value in finding the location of a Perl script, but that is another story).

                - tye

Replies are listed 'Best First'.
Re: Re^2: Problems compiling Parrot (perverser)
by jryan (Vicar) on Mar 27, 2003 at 03:55 UTC
    Um, well, hmmm... seems I blew that one. Regardless though; IMCC is still the better choice. (-:

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://245988]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others chilling in the Monastery: (5)
As of 2024-04-18 14:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found