Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Windows paths in perl

Name: Anonymous 2007-08-01 7:38 ID:aUHUPN3d

I can't seem to do something like
    open(OUTFILE, '>%USERPROFILE%\file.txt') or die "Can't open file.txt: $!";

Is there a way to use windows %PATH% type syntax in perl?

Name: Anonymous 2007-08-01 7:47 ID:4951a71N

You silly Windows user, try this:
perl -e "print $ENV{USERPROFILE}"

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List