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 8:12 ID:Heaven

open(OUTFILE, ">`echo %USERPROFILE%`\\file.txt")

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